imokhles / signature-field-for-backpack
Easily add signature field to backpack admin panel.
Installs: 1 384
Dependents: 0
Suggesters: 0
Security: 0
Stars: 26
Watchers: 2
Forks: 6
Open Issues: 5
Language:Blade
Requires
- backpack/crud: ^4.1.0
This package is auto-updated.
Last update: 2024-10-30 00:46:17 UTC
README
This package provides a signature
field type for the Backpack for Laravel administration panel. The signature
field allows admins to let customers sign documents, in a prettier way. It uses Signature Pad Library.
Screenshot
Installation
Via Composer
composer require imokhles/signature-field-for-backpack
Usage
Inside your custom CrudController:
$this->crud->addField([ 'name' => 'signature', 'label' => 'Please sign here', 'type' => 'signature', 'view_namespace' => 'signature-field-for-backpack::fields', ]);
Notice the view_namespace
attribute - make sure that is exactly as above, to tell Backpack to load the field from this addon package, instead of assuming it's inside the Backpack\CRUD package.
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email the author instead of using the issue tracker.
Credits
- iMokhles - created the signature field;
- Cristian Tabacitu - Backpack for Laravel;
- Szymon Nowak - Signature Pad;
- All Contributors
License
MIT. Please see the license file for more information.