vis / detect-browser_l5
Simple packages to show update browser page if user browser is outdated
1.0.2
2017-04-14 10:19 UTC
Requires
- jenssegers/agent: ^2.4
This package is not auto-updated.
Last update: 2024-11-20 01:57:05 UTC
README
Simple packages to show update browser page if user browser is outdated
Execute
composer require "vis/detect-browser_l5":"1.*"
Add provider to providers array in app.php
Vis\DetectBrowser\DetectBrowserServiceProvider::class,
Publish css,icons,view,config
php artisan vendor:publish --provider="Vis\DetectBrowser\DetectBrowserServiceProvider" --force
After publishing view template will be created at resources/views/errors/old_browser.blade.php and can be manually edited if needed.
Add middleware to 'web' array in $middlewareGroups at app\Http\Kernel.php
\Vis\DetectBrowser\Middleware\DetectBrowser::class,