egeloen/base64-file-bundle
最新稳定版本:1.0.1
Composer 安装命令:
composer require egeloen/base64-file-bundle
包简介
Provides a base64 file support for your Symfony2 Project.
README 文档
README
Overview
The bundle provides a way to upload base64 file transparently through the Symfony2 form component. It
adds a new form option named base64 on the file type which, when enabled, will convert you base64
input into a regular file. It is especially useful when you're using the FOSRestBundle.
For example, the following payload will be handled by the bundle:
{
"field": {
"name": "filename.png",
"value": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABh0lEQVQ4T23TO8iPYR..."
}
}
Documentation
Testing
The bundle is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
Contribute
We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.
License
The Ivory Base64 File Bundle is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.
统计信息
- 总下载量: 26.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 3
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-18