SweetAlert2 is a beautiful, customizable, accessible replacement for javascript's pop-up boxes with zero dependencies! https://res.cloudinary.com/practicaldev/image/fetch/s--Y9DZL7Yy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hjzjkdbe4a1s3s6kfkbk.gif

Create user controller using this command: php artisan make:controller UserController

Create a view named users.blade.php and paste this code: Now that we've finished setting everything up, let's check it out!

We have succesfully created and tested sweetalert2, use this on your future projects to make it more beautiful!
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners