Simple package, but effective.
composer require leandreaci/alerts *@dev
After install this package you have to set the service provider on your config/app.php file
Copy the required assets of SweetAlert to your public folder. Those assets would be place in the css and js respective directory.
php artisan vendor:publish --tag=alerts
Then in your master view add those styles and scripts. Put this style between the
<link rel="stylesheet" type="text/css" href="css/alert.css">
Add the JS script before close your