gemarkode/pino-library
最新稳定版本:1.0
Composer 安装命令:
composer require gemarkode/pino-library
包简介
none
README 文档
README
this repository will be developed directly by @rizkytegar.
Installation
Install With Composer, make sure you install the latest version
composer require gemarkode/pino-library
Usage
Please Include Pino Library Core System in your controller file
<?php // include autoload vendor require_once __DIR__ . '/vendor/autoload.php'; // include Pino Library use pino\Library\Pino;
See Usage examples in the test folder folder
Pino Validation
Integer
Example Input Data, You can change the value of $data by request POST or GET
$data = '!@#$%^&*()_+{}|":<>?,./;\][=-just test integer!#%^&*()123';
Example output, Data will be converted into a integer.
return Pino::integer($data); // Output from $data 123
See Integer Example in /test/ExampleInteger.php
String
Example Input Data, You can change the value of $data by request POST or GET.
$data = '!@#$%^&*()_+{}|":<>?,./;\][=-just test string!#%^&*()123';
Example output, Data will be converted into a string.
return Pino::string($data); // Output from $data : just test string123
See String Example in /test/ExampleString.php
Pino Database Connection
Coming soon
Pino Query Pattern
Coming Soon
Cross Site Request Forgery (CSRF)
Coming Soon
PHP Session Security
Coming Soon
Contributing
Please Read CONTRIBUTING.md Before Contributing.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-28