elboletaire/watimage
最新稳定版本:2.0.6
Composer 安装命令:
composer require elboletaire/watimage
包简介
Watermark and Image PHP class
README 文档
README
Watimage is a group of PHP classes to help you resize, rotate, apply filters, watermarks and a lot more of things to your images using the PHP's GD library.
It was initially a CakePHP component, later became a simple Vendor class and now is a powerful set of classes to alter images.
And it maintains the transparencies in every scenario.
Requirements
You need php > 5.4 and the php GD package installed.
With aptitude:
sudo apt-get install php5-gd
With yum:
sudo yum install php-gd
Installing
With composer:
composer require elboletaire/watimage:~2.0.0
Check out the Watimage pages for more information about installation.
Usage
See all the information you need to know at the Watimage pages
API
Check out the API at the Watimage pages.
Examples
There are lot of examples at the examples folder, plus a lot more of examples
and tutorials in the Watimage pages.
Before running the given examples, you need to composer install from
Watimage root folder in order to get composer's autoloader downloaded into
vendor folder.
composer install
cd examples
php Image.php
php Watermark.php
php Watimage.php
You can also put the Watimage folder in your local webhost webroot dir and
point there your browser.
Testing
Please, see the information about testing in the Watimage pages.
Patches & Features
- Fork
- Mod, fix
- Test - this is important, so it's not unintentionally broken
- Commit - do not mess with license, todo, version, etc. (if you do change any, bump them into commits of their own that I can ignore when I pull)
- Pull request - bonus point for topic branches
Bugs & Feedback
See the issues section.
Changelog
Check out the releases on github. They have different order than expected because I've created tags recently to not loose them and to have the whole changelog there.
LICENSE
See LICENSE.md.
elboletaire/watimage 适用场景与选型建议
elboletaire/watimage 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.82k 次下载、GitHub Stars 达 25, 最近一次更新时间为 2014 年 12 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 elboletaire/watimage 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 elboletaire/watimage 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5.82k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 12
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-08