jberall / yii2-signature-font
Renders an image using php GD
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: ^7.0
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-09 21:01:44 UTC
README
Displays images using php gd
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist jberall/yii2-signature-font: "dev-master"
or add
"jberall/yii2-signature-font": "dev-master"
to the require section of your composer.json
file.
composer update jberall/yii2-signature-font will only update this file.
Usage
To use the SignatureFontController in your config file add 'controllerMap' => [ 'signfont' => 'jberall\signaturedraw\SignatureFontController',
],
to add an signature Font
use yii\helpers\Url;
$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 \