-
Notifications
You must be signed in to change notification settings - Fork 3
Block referrer spammers
Anatoly Nekhay edited this page Jan 7, 2019
·
1 revision
Learn more about the middleware
composer require middlewares/referrer-spam
Open the public/index.php
and add to the file the following code before running the application:
$container->get(Sunrise\Http\Router\RouterInterface::class)
->addMiddleware(new Middlewares\ReferrerSpam());
Have questions?
Ask your questions in our chat:
Get more features for your application using Awesome PSR-15 Middleware