laravel-logout
Package for Laravel Logout
Installation
npm install laravel-logout
This package need X-CSRF-TOKEN, add this code to your header template
In your app.js, add this code
;
Usage
In your blade template
Logout
The default logout url use logout route from laravel ('/logout'). If you have different logout url, use data-action attribute
Logout