Security:安全包

时间:2021-04-18 21:16:30
【文件属性】:
文件名称:Security:安全包
文件大小:29KB
文件格式:ZIP
更新时间:2021-04-18 21:16:30
php security coverage packagist composer 安全包 转义字符串以输出HTML(和JS)。 安装 composer require rancoud/security 如何使用它? Security :: escAttr ( 'string' ); Security :: escHTML ( 'string' ); Security :: escJS ( 'string' ); Security :: isSupportedCharset ( 'string' ); 支持的字符集 支持的字符集仅是入围的字符集(请参见下面的列表),mbstring扩展也支持这些字符集。 字符集入围: ISO-8859-1 ISO-8859-5 ISO-8859-15 UTF-8 cp866 cp1251 cp1252 KOI8-R 大5 GB2312 BIG5-HKSCS Shift_JIS EUC-JP 麦克罗曼 安全
【文件预览】:
Security-master
----.php_cs(1KB)
----.gitignore(153B)
----src()
--------Security.php(6KB)
--------SecurityException.php(160B)
----LICENSE(1KB)
----composer.json(978B)
----.github()
--------PULL_REQUEST_TEMPLATE.md(830B)
--------CODEOWNERS(10B)
--------ISSUE_TEMPLATE()
--------CONTRIBUTING.md(2KB)
--------CODE_OF_CONDUCT.md(3KB)
--------SUPPORT.md(1KB)
--------workflows()
--------dependabot.yml(310B)
----composer.lock(145KB)
----README.md(2KB)
----phpunit.xml(406B)
----tests()
--------SecurityTest.php(12KB)
----phpcs.xml(233B)
----.gitattributes(13B)

网友评论