carlosocarvalho/simple-input
最新稳定版本:1.0.0
Composer 安装命令:
composer require carlosocarvalho/simple-input
包简介
Simple input for get request inputs (post,get,put,delete)
README 文档
README
simple input php for get info (get,post,delete,put)
Install Via composer
composer require carlosocarvalho/simple-input
Or configure composer.json
{
"require": {
"carlosocarvalho/simple-input": "1.0.0"
}
}
Example Use
<?php use Carlosocarvalho\SimpleInput\Input\Input; #sending data post|get|put|delete $post = Input::post('key'); $post_all = Input::post(); $get = Input::get('key'); $get_all = Input::get();
Important sending form method post with php, use input hidden[name="_method" value="put|delete"]
<?php $put = Input::put('key'); $put_all = Input::put(); $delete = Input::delete('key'); $delete_all = Input::delete();
统计信息
- 总下载量: 17.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-04