mphpmaster / laravel-form-submit-shortcut
Laravel form submit shortcut package.
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mphpmaster/laravel-form-submit-shortcut
Requires
- php: >=8.1
- illuminate/support: >=9
- laravel/framework: >=9
- laravel/helpers: ^1.5
README
Dependencies:
- php >=8.1 REQUIRED IN YOUR PROJECT
- laravel >=9 REQUIRED IN YOUR PROJECT
- illuminate/support >=9 composer will install it automaticly
- laravel/helpers ^1.5 composer will install it automaticly
Installation:
composer require mphpmaster/laravel-form-submit-shortcut
You can publish the config file with:
php artisan vendor:publish --tag="form-submit-shortcut-config"
This is the contents of the published config file:
return [ // accepts empty|string 'key' => 'ctrl+s', ];
You can publish the js file to public/js
with:
php artisan vendor:publish --tag="form-submit-shortcut-js"
Usage:
Laravel Nova (4+):
No need to add anything. Just edit the config as you like.
Laravel:
You need to add the script tag to your front code:
<script src="{{url('js/formSubmitShortcut.js')}}"></script>
Important: Do not forget to modify the config.
License
The Laravel framework is open-sourced software licensed under the MIT license.
This Helper is open-sourced software licensed under the MIT license.