Download the PHP package andach/laravel-signoff without Composer
On this page you can find all versions of the php package andach/laravel-signoff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andach/laravel-signoff
More information about andach/laravel-signoff
Files in andach/laravel-signoff
Package laravel-signoff
Short Description This is a package to allow for Laravel models to be 'signed off' as approved.
License MIT
Homepage https://github.com/andach-limited/laravel-signoff
Informations about the package laravel-signoff
Laravel Signoff by Andach
This is a Laravel package to add the ability to sign off another model, to have a second signoff, and includes a Javascript signature pad option
It integrates with https://github.com/szimek/signature_pad to provide a simple image if you provide a pad called "sign".
Installation
You can install the package via composer:
You can publish the migrations with:
And if desired, can publish the views with:
Signature Pad
This package integrates with https://github.com/szimek/signature_pad. To use, you should enable the relevant option in the config file and include the Javascript.
And then include the javascript in ./js/app.js into your ./resources/js/app.js file.
Usage
To use, simply add the MorphToSignoff
trait and Signoffable
interface to the model you want to be able to sign off.
Then you can call functions as needed:
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-signoff with dependencies
andach/laravel-primary-key-uuid Version ^1.0
illuminate/contracts Version ^10.0
spatie/laravel-package-tools Version ^1.14.0