Getting Started

Quick Usage

Install:

Use composer to install

composer require mitmelon/guard-power

Usage :

require_once __DIR__."/vendor/autoload.php";

// Place GuardPower Class untop of your application
$guardPower = new GuardPower();
$guardPower->init();
//Your Application Code Here

//If global filter is on just accept your post or get request without filtering
$email = $_POST['email'] // This is save because it has been filtered.

//Do other things.

Properties Setup:

You can change GuardTor properties by calling it before calling the init() method.

Other Methods:

Methods to use for strings sanitizations, retrieve IP address and get device info.

Future Updates :

  • Spam Detections/Blocker

License

Released under the MIT license.

Last updated

Was this helpful?