itestense/laravel-photogallery
Composer 安装命令:
composer require itestense/laravel-photogallery
包简介
A simple plugin for creating/editing/using photogalleries in a Laravel project
README 文档
README
Laravel Photogallery is an administrative interface for Laravel plus some useful modules that can be used in the frontend. You can upload images on the server, obtain thumbnails having different sizes and place them into galleries with a specific order.
- Author: Paolo Niccolò Giubelli - ITestense SNC
- Company Website: http://www.itestense.it
##Warning!
This package is still in the early development stage, so please don't use it inproduction. Be patient for a while! :-) If you want to collaborate, you're welcome.
##Prerequisites
You need php-gd module.
##Dependencies
This module will also install intervention/image and illuminate/support
##Install
###Composer Simply add this line to composer.json:
"itestense/laravel-photogallery":"*"
and run composer update. Then you need to register the service provider in config/app.php in the providers array.
'providers' => [
...
'Itestense\LaravelPhotogallery\LaravelPhotogalleryServiceProvider',
...
]
##Assets Publish the assets with:
php artisan asset:publish itestense/laravel-photogallery
##Configuration Once the package is installed, publish the config file with:
php artisan config:publish itestense/laravel-photogallery
###Options
Below is a list of all the available options:
####Upload directory The directory must exist
...
'upload_dir'=>'/public/uploads/photos',
...
####Route prefix All plugins routes will prefixed with this string
...
'route_prefix'=>'/admin/gallery',
...
####Thumbnails
You can specify an arbitrary number of thumbnail formats, choosing maximum width (w), height (h) and compression quality (q)
...
'formats'=>[
's1'=>['w'=>100,'h'=>null,'q'=>96],
'big'=>['w'=>1024,'h'=>768,'q'=>100],
...
],
...
Last edit: Saturday, 02. May 2015 07:02PM
itestense/laravel-photogallery 适用场景与选型建议
itestense/laravel-photogallery 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 30 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 05 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 itestense/laravel-photogallery 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 itestense/laravel-photogallery 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-05-04