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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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.

Laravel Bad Browser Detect

StyleCI Total Downloads Latest Stable Version Latest Unstable 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

you are using an outdated browser - desktop

For tablets

you are using an outdated browser - tablet

For mobiles

you are using an outdated browser - mobile

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

PHP Build Version
Package Version
Requires php Version ^5.6.9|^7.0|^8.0
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package andrey-helldar/bad-browser-detect contains the following files

Loading the files please wait ....