Package Data | |
---|---|
Maintainer Username: | BotBepark |
Maintainer Contact: | it+oss@bepark.eu (BePark Tech Team) |
Package Create Date: | 2017-07-19 |
Package Last Update: | 2017-09-27 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-08 03:07:26 |
Package Statistics | |
---|---|
Total Downloads: | 8,921 |
Monthly Downloads: | 166 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Add tools to help you plaing with confirmation inside your controller
// 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
}
composer require bepark/laravel-confirm
That's all
The MIT License (MIT). See the license file for more information.