gringlas/cakephp-base64tofile
Composer 安装命令:
composer require gringlas/cakephp-base64tofile
包简介
Convert a base64 encoded string (like an image) to an actual file for usage in a standard file upload.
README 文档
README
About
This plugin will convert a base64 encoded file string into a "classic" fileupload, like in $_FILES, which can then be passed to other fileuploads, like josegonzalez/cakephp-upload.
Installation
To install simply add it to your composer dependencies composer require gringlas/cakephp-base64tofile.
The plugin is mainly a behavior, which you should attach to your file entity:
$this->addBehavior('Base64ToFile.Base64ToFile', [ 'field' => 'file' ]);
Where field contains the name of the field with the base64 encoded file.
统计信息
- 总下载量: 586
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-09-13