Skip to content

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

License

Notifications You must be signed in to change notification settings

mahmoud-eskandari/PersianRender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 );
  

نمونه فارسی نویسی با فونت داناImage

نمونه فارسی نویسی با فونت کلمهImage

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages