2017 © Pedro Peláez
 

library laravel-block-referral-spam

Blocks referral spam using middleware for Laravel 5.5+

image

dougsisk/laravel-block-referral-spam

Blocks referral spam using middleware for Laravel 5.5+

  • Tuesday, May 1, 2018
  • by DougSisk
  • Repository
  • 1 Watchers
  • 3 Stars
  • 161 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 4 % Grown

The README.md

⚠️ This package is no longer maintained

Laravel Block Referral Spam

Latest Stable Version Total Downloads License, (*1)

Middleware for Laravel 5.5+ that blocks referrer spam using a list from Matomo., (*2)

Installation

Require this package with composer:, (*3)

composer require dougsisk/laravel-block-referral-spam

After updating composer, add the DougSisk\BlockReferralSpam\Middleware\BlockReferralSpam to your web middleware group in app/Http/Kernel.php or any others you wish to use:, (*4)

protected $middlewareGroups = [
    'web' => [
        \DougSisk\BlockReferralSpam\Middleware\BlockReferralSpam::class,
    ],
];

Configuration

By default, the list of domains to block will be loaded from vendor/matomo/referrer-spam-list/spammers.txt. This is under the assumption your vendor folder is installed in the base path of your app. If your vendor folder is not in your base path or you wish to use a custom list file, add the following line to your config/app.php:, (*5)

'referral_spam_list_location' => base_path('my-folder/my-list.txt'),

Please remember to follow the formatting in the original list file should you make your own custom list., (*6)

License

This library is available under the MIT license., (*7)

The Versions

01/05 2018

dev-master

9999999-dev https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5.5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

01/05 2018

1.1

1.1.0.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5.5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

12/11 2016

1.0.6

1.0.6.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

11/03 2016

1.0.5

1.0.5.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

12/01 2016

1.0.4

1.0.4.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

12/01 2016

1.0.3

1.0.3.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

12/01 2016

1.0.2

1.0.2.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

07/01 2016

1.0.1

1.0.1.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer

07/01 2016

1.0

1.0.0.0 https://github.com/DougSisk/Laravel-BlockReferralSpam

Blocks referral spam using middleware for Laravel 5+

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel middleware block spam referral referer