ty666/picture-manager
Composer 安装命令:
composer require ty666/picture-manager
包简介
a picture manager tool
README 文档
README
A picture manage tool
Installation
- Run
composer require ty666/picture-manager - Add
Ty666\PictureManager\PictureManagerServiceProvider::class,to providers in config/app.php - Run
php artisan vendor:publish --provider="Ty666\PictureManager\PictureManagerServiceProvider"
Config
Set the pictureConfig options in config/picture.php
Usage
Show picture
Route::get('pic/{pictureId}_{style?}', function ($pictureId, $style = null) {
return PictureManager::init($pictureId, $style)->show();
});
Visit http://localhost/pic/99cceb7fd0bdf4e17903dc2655c84af4 ok!
统计信息
- 总下载量: 378
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-25