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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners