jberall/yii2-signature-font

Renders an image using php GD

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/jberall/yii2-signature-font

dev-master 2017-03-08 23:55 UTC

This package is not auto-updated.

Last update: 2025-09-28 01:28:18 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 \