Set Alert session notifications in your laravel app

push notification with laravel


you can now easily setup alert session notifications in your laravel app using a new apckage called laravel-alert which is maintained by xpromxso lets get started with installation to install just require it through composer

php composer require  xpromx/laravel-alert dev-master

basic usage of of laravel alert


// div.alert-success

// div.alert-danger

// div.alert-warning
Alert::warning('Try again!');

// div.alert-info
Alert::info('Welcome back!');

// destroy the session

// render the html template to show the notification
{!! Alert::render() !!}



About the author

Deven Rathore

I'm Deven Rathore, a multidisciplinary & self-taught designer with 3 years of experience. I'm passionate about technology, music, coffee, traveling and everything visually stimulating. Constantly learning and experiencing new things.

Pin It on Pinterest


Get the best in web dev

Join and recieve best in web dev , once a week FREE

An email has been Sent to your Inbox ! Please Confirm your Subscription :)