Skip to content

KHlushchenko/detect_browser_l5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published