laravel-wp-admin-you-tried maintained by gdejong
LaravelWPAdminYouTried
Quick Laravel package to give something back to all the automated web scrapers trying to access /wp-admin.
What it does: present you with a WordPress login screen. After submitting the login form the user will be redirected to another URL.
Configuration options:
login-endpointsan array containing the endpoints to mock.actionwhat to do after submitting the form, currently only supportsredirectredirect_urlwhere to redirect the user to after submitting the login formredirect_sleephow many seconds to wait before redirecting
Install
Via Composer
$ composer require gdejong/laravel-wp-admin-you-tried:dev-master
Add Service Provider to config\app.php
\gdejong\LaravelWPAdminYouTried\LaravelWPAdminYouTriedServiceProvider::class,
Publish vendor files
$ php artisan vendor:publish
Edit config to your liking
config/wp-admin-you-tried.php
Contributing
Via Pull Requests.
License
The Unlicense. Please see License File for more information.