dev-master
9999999-devRenders an image using php GD
MIT
The Requires
- yiisoft/yii2 *
- php ^7.0
by Jonathan Berall
extension yii2 font signature
Renders an image using php GD
Displays images using php gd, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist jberall/yii2-signature-font: "dev-master"
or add, (*4)
"jberall/yii2-signature-font": "dev-master"
to the require section of your composer.json
file., (*5)
composer update jberall/yii2-signature-font will only update this file., (*6)
To use the SignatureFontController in your config file add 'controllerMap' => [ 'signfont' => 'jberall\signaturedraw\SignatureFontController',, (*7)
],
to add an signature Font, (*8)
use yii\helpers\Url;, (*9)
, (*10)
$message default 'Signature Font Message' $font default = 'learning_curve_regular_ot_tt.ttf' $image_width default 500 $image_height default 30 $font_folder = 'c:\fonts\' path to your font. if windows make sure you have \, (*11)
Renders an image using php GD
MIT
extension yii2 font signature