-
Notifications
You must be signed in to change notification settings - Fork 100
Pure PHP Project
Implementing Shieldon on a pure PHP project is easy. There is already a integation class for you to make it.
Use PHP Composer:
composer require shieldon/shieldon ^2
Make sure your project supports pretty URL, then you can use the following code, the position is just after Composer autoloader:
Example:
require_once(__DIR__.'/../vendor/autoload.php');
// Implement Shieldon Firewall.
$shieldon = new \Shieldon\Firewall\Integration\Bootstrap();
$shieldon->run();
// ... your code.
That's it.
You can access the Firewall Panel by /firewall/panel/
, to see the page, go to this URL in your browser.
https://yourwebsite.com/firewall/panel/
The default login is shieldon_user
and password
is shieldon_pass
. After logging in the Firewall Panel, the first thing you need to do is to change the login and password.
Shieldon Firewall will start watching your website if it get enabled in Deamon
setting section, make sure you have set up the settings correctly.
- Author: Terry L. from Taiwan.
- Website: shieldon.io
- GitHub repository: github.com/terrylinooo/shieldon
- WordPress plugin: wordpress.org/plugins/wp-shieldon/
Docs: Laravel, Symfony, CodeIgniter, CakePHP, Yii, Zend, Slim, Fat-Free, Fuel, PHPixie