bepark/laravel-confirm
最新稳定版本:0.5.4
Composer 安装命令:
composer require bepark/laravel-confirm
包简介
Extends laravel by adding confirmation tools
README 文档
README
Add tools to help you plaing with confirmation inside your controller
Usage
// inside a controller public function getDoSomething(ConfirmService $confirmService) { $message = ConfirmMessage::createBasic('my.pefix'); return $confirmService->confirmByForm($message, 'my.title.confirmation'); } public function postDoSomething(ConfirmRequest $request) { // do something because it's confirmed }
Installation using composer
composer require bepark/laravel-confirm
That's all
Todo
- Automated tests
- Add more docs than a simple readme
- Add configuration to let people play with custom view
- Add example of view with blade
- Beeing compatible with publish command for view ;)
License
The MIT License (MIT). See the license file for more information.
统计信息
- 总下载量: 10.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04