megaads / prevent-ip
There is no license information available for the latest version (1.1.1) of this package.
1.1.1
2022-04-15 08:22 UTC
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is auto-updated.
Last update: 2024-10-15 14:21:52 UTC
README
Prevent Ip in Laravel 4
Installation
-
Require the composer package
composer require megaads/prevent-ip
-
Register the provider:
Megaads\PreventIp\PreventIpServiceProvider
-
Add file prevent-ip.php in config:
return [ 'enable' => true, 'prevent_paths' => [ 'system/home' ], 'allow_ips' => [ '127.0.0.1' ], 'email_receive_request' => 'author@gmail.com', 'email_service_user' => 'abc@example.com', 'email_service_password' => 'xxx', 'email_service_url' => 'http://example.com/', ];```