Download the PHP package craigpotter/laravel-ie-honeypot without Composer

On this page you can find all versions of the php package craigpotter/laravel-ie-honeypot. 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 laravel-ie-honeypot

A small package to capture IE users and redirect them before they hit your site

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Web development should be a progressive journey and let's face it, we all hate Microsoft Internet Explorer. Have you had an issue where users were using IE, getting JS errors and then complaining about how your application is broken? This simple package might be for you then! Laravel IE Honeypot detects requests coming in to the app from users using IE and redirects to a page of your choice. This should be a simple page informing the user their browser is too old or maybe even link them to what they deserve

Installation

You can install the package via composer:

You can publish the config file with:

This is the contents of the published config file:

Usage

If you want to display a page within your own application to your IE users, you should create a route with a simple layout and add the URL to your configuration file.

There are two main ways to use this package but both involve adding middleware to your routes.

Option 1

Add the middleware to indiviual routes in your routes file or to a group of routes. This option might be best if you have a single point of entry for your application. For example, Users have to login so you might choose to add it to your login route only.

Option 2

If you have a lot of routes or just need to keep those pesky IE Users off your site, you could register it as global middleware

Bypass

If the bypass_enabled option is true in your configuration, the middleware will allow any user to a path if it has a url param of ie-bypass=true. You can share links with this bypass if you need to e.g https://your-app.com/contact-us?ie-bypass=true

You also have the option to add this to your own bypass page to allow users to proceed at their own risk. For example, if a user visits /contact-us with an IE browser, they would be redirected to our redirect_url, you can use the @ieBypass blade directive to automatically generate the bypass url for the initial page visited. In this case, it would be /contact-us?ie-bypass=true. If we look at the view for that page:

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-ie-honeypot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
spatie/laravel-package-tools Version ^1.13.5
illuminate/contracts Version ^9.0
illuminate/support Version ^9.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 craigpotter/laravel-ie-honeypot contains the following files

Loading the files please wait ....