dev-master
9999999-devDraw and save signatures in Yii2
MIT
The Requires
by Inquid
extension yii2 widget signature legal
Draw and save signatures in Yii2
IMPORTANT All our Yii widgets will be discontinued as we are transitioning from a monolithic infrastructure into a microservice network and having the backend completely separated from frontend clients. We encourage you to avoid using PHP among with CSS/HTML/Javascript and move towards Modern FE technologies like Angular/React/Vue and mobile like ionic, react native, flutter., (*2)
So you can use directly: https://github.com/szimek/signature_pad, (*3)
Draw and save signatures in Yii2, (*5)
The preferred way to install this extension is through composer., (*6)
Either run, (*7)
php composer.phar require --prefer-dist inquid/yii2-signature "dev-master"
or add, (*8)
"inquid/yii2-signature": "dev-master"
to the require section of your composer.json
file., (*9)
Once the extension is installed, simply use it in your code by :, (*10)
<?= \inquid\signature\SignatureWidget::widget(['clear' => true, 'undo' => true, 'change_color' => true, 'url' => 'google.com', 'save_server' => true]) ?>
Options available, (*11)
url string
width string
height string
save_png boolean
save_jpg boolean
save_svg boolean
save_server boolean
clear boolean
change_color boolean
undo boolean
description boolean, (*12)
Draw and save signatures in Yii2
MIT
extension yii2 widget signature legal