fakhamatia / PersianRender

a library for adapt Persian letters for php (GD image, etc) رفع مشکل حروف فارسی در php GD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PersianRender

Installation

Composer

You can install this package using composer. Add this package to your composer.json:

"require": {
	"eskandari/persianrender": "dev-master"
}

Manual


 \PersianRender\PersianRender::render('کتابخانه ی رندر GD image در php');

Gd image example


  $text  = \PersianRender\PersianRender::render('فارسی'); //Reversed text for GD
 imagettftext ( $image ,  $size ,  $angle , $x , $y ,$color , $fontfile , $text );
  

About

a library for adapt Persian letters for php (GD image, etc) رفع مشکل حروف فارسی در php GD

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%