Download the PHP package rancoud/security without Composer
On this page you can find all versions of the php package rancoud/security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package security
Security Package
Escape string to output HTML (and JS).
Installation
How to use it?
Supported Charsets
Charsets supported are only charsets shortlisted (see list below) which are also supported by mbstring extension.
More info at PHP documentation
And at the PHP libmbfl README
Charsets shortlisted:
- ISO-8859-1
- ISO-8859-5
- ISO-8859-15
- UTF-8
- cp866
- cp1251
- cp1252
- KOI8-R
- BIG5
- GB2312
- BIG5-HKSCS
- Shift_JIS
- EUC-JP
- MacRoman
Security Methods
General Static Methods
- isSupportedCharset(charset: string): bool
- areCharsetAliases(charsetToCheck: string, charsetReference: string): bool
- escHTML(text: mixed, [charset: string = 'UTF-8']): string
- escAttr(text: mixed, [charset: string = 'UTF-8']): string
- escJS(text: mixed, [charset: string = 'UTF-8']): string
- escURL(text: mixed, [charset: string = 'UTF-8']): string
- escCSS(text: mixed, [charset: string = 'UTF-8']): string
How to Dev
composer ci
for php-cs-fixer and phpunit and coverage
composer lint
for php-cs-fixer
composer test
for phpunit and coverage
All versions of security with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
ext-mbstring Version *
ext-mbstring Version *
The package rancoud/security contains the following files
Loading the files please wait ....