dframe/filestorage
最新稳定版本:v1.1.0
Composer 安装命令:
composer require dframe/filestorage
包简介
File system storage with cache
README 文档
README
Flysystem wrapper which allow you to storage file and styling images
Preview
Installation
composer require dframe/filestorage
Simple usage
$Storage->put('local', $_FILES['file']['tmp_name'], 'upload/picture1.jpg'); $Storage->image('picture1.jpg')->stylist('Square')->size('250')->get(); $Storage->image('picture1.jpg')->stylist('Rect')->size('250x550')->get(); $Storage->image('fileNotExist.jpg', 'noImage.png')->stylist('Rect')->size('50x50')->get(); $Storage->drop('local', 'upload/picture1.jpg');
Documentation available at https://dframeframework.com/en/docs/fileStorage/master/configuration
What's included?
- Image stylist
- Storage files and information
- Cache generator
Feature
- Text on images
Examples
For DframeFramework Example #1
Stalone Image Stylist Code PHP Example #2
统计信息
- 总下载量: 1.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-06-04
