mphpmaster/laravel-form-submit-shortcut
最新稳定版本:1.0.1
Composer 安装命令:
composer require mphpmaster/laravel-form-submit-shortcut
包简介
Laravel form submit shortcut package.
README 文档
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.
Stand with Palestine 🇵🇸 #FreePalestine
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-19