In this tutorial im going to share how to add sweet alert in laravel.
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2022/11/image-1024x548.png)
Go to this url https://sweetalert2.github.io/
Go to your app.blade.php file and paste below code
Above the closing body tag
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2022/11/image-1-1024x538.png)
Next paste below code this
Next go to your blade page where you want to show alert and paste below id.
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2022/11/image-2-1024x545.png)
Now its working successfully. 👍👍👍