Skip to content

malek77z/signature-field-for-backpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Signature Field for Backpack 4

Latest Version on Packagist Total Downloads

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

https://user-images.githubusercontent.com/1032474/86575263-a77d9b00-bf7f-11ea-8116-536f9c81ec53.gif

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

License

MIT. Please see the license file for more information.

About

Adds a "signature" field type to Backpack for Laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Blade 94.8%
  • PHP 5.2%