lagan/property-upload
Composer 安装命令:
composer require lagan/property-upload
包简介
Controller for the Lagan upload property. Lets the user upload a file.
README 文档
README
Lagan Upload Property Controller
Controller for the Lagan upload property, built with the Sirius upload handler library. Lets the user upload a file.
You can validate the uploaded files by specifying the upload rules in the 'validate' value in the property array. Each rule and the optional values must be in a seperate nested value, where the rule is the first value, and the optional values are the second value. Example: 'validate' => [ ['extension', 'allowed=jpeg,jpg,gif,png'], ['size', 'size=1M'] ]
To be used with Lagan. Lagan lets you create flexible content objects with a simple class, and manage them with a web interface.
Lagan is a project of Lútsen Stellingwerff.
统计信息
- 总下载量: 765
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-23