Download the PHP package andrey-helldar/bad-browser-detect without Composer
On this page you can find all versions of the php package andrey-helldar/bad-browser-detect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrey-helldar/bad-browser-detect
More information about andrey-helldar/bad-browser-detect
Files in andrey-helldar/bad-browser-detect
Package bad-browser-detect
Short Description Determine the minimum acceptable version of the browser and notify the user if the version does not match the required version.
License MIT
Informations about the package bad-browser-detect
Bad Browser Detect for Laravel 5.4+
Determine the minimum acceptable version of the browser and notify the user if the version does not match the required version.
Installation
To get the latest version of Laravel Beautiful Phone, simply require the project using Composer:
Instead, you may of course manually update your require block and run composer update
if you so choose:
If you don't use auto-discovery, add the ServiceProvider
to the providers array in config/app.php
:
You can also publish the config file to change implementations (ie. interface to specific class):
In some cases, we can modify the CSS page styles, so periodically check the relevance of the data. This can also be done using the command:
Next, call the command php artisan migrate
to create a table in the database.
Using
In the config/bad_browser.php
settings file, specify the minimum permissible versions of browsers for the normal operation of your site.
Now, if a user logs in from an outdated browser, it automatically redirects to the page /bad-browser
. On this page, the user can click on the link to download a modern browser, or notify the administrator about the version detection error. In this case, the user's user-agent information will be recorded in the database, and an email notification of the incident will be sent to you.
For desktops
For tablets
For mobiles
Copyright and License
Bad Browser Detect
was written by Andrey Helldar for the Laravel Framework 5.4 and later, and is released under the MIT License. See the LICENSE file for details.
All versions of bad-browser-detect with dependencies
illuminate/database Version ^5.4|^6.0|^7.0|^8.0
illuminate/bus Version ^5.4|^6.0|^7.0|^8.0
illuminate/http Version ^5.4|^6.0|^7.0|^8.0
illuminate/queue Version ^5.4|^6.0|^7.0|^8.0
illuminate/contracts Version ^5.4|^6.0|^7.0|^8.0
illuminate/mail Version ^5.4|^6.0|^7.0|^8.0
illuminate/notifications Version ^5.4|^6.0|^7.0|^8.0
jaybizzle/crawler-detect Version ^1.2
jenssegers/agent Version ^2.6
nesbot/carbon Version ^1.22|^2.0