ichikaway/securephp

SecurePHP is the PHP library for security. Delete control characters(ex. null byte) and invalid array keyname(_SERVER, _GET, etc)

Installs: 23

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 1

Forks: 1

Open Issues: 0

Type:php

pkg:composer/ichikaway/securephp

dev-master 2017-12-25 02:59 UTC

This package is not auto-updated.

Last update: 2025-10-07 12:04:48 UTC


README

  • check input data(POST,GET,COOKIE,SERVER,REQUEST) and delete invalid data.
    • delete control byte char(ex. null byte)
    • delete invalid key name(ex. array('_SERVER' =>....) )

Usage:

include bootstrap.php of SecurePHP library. require_once('securephp/Config/bootstrap.php');

Composer

If you want to install with composer,

{
	"require": {
		"ichikaway/securephp": "dev-master"
	},
	"autoload": {
		"files": ["vendor/ichikaway/securephp/Libs/SecureInputFilter.php"]
	}
}

and require autoload.php and execute method.

require('vendor/autoload.php');
SecureInputFilter::clean_input_data();