hracik/php-create-image-from-text
最新稳定版本:0.1.1
Composer 安装命令:
composer require hracik/php-create-image-from-text
包简介
Create image from text.
README 文档
README
Create image from text. Custom text, text angle, text padding, font size and font type.
Getting Started
These instructions will get you a copy of the project up and running
Installing
Install with Composer
composer require hracik/php-create-image-from-text
Usage
use Hracik\CreateImageFromText; //possible return options are: RETURN_BASE64_IMG, RETURN_BASE64, RETURN_RESOURCE $image = CreateImageFromText::createImageFromText($text, 0, 10, 12, null, CreateImageFromText::RETURN_BASE64_IMG);
Examples
This is how it will look
Running the tests
Run
./vendor/bin/phpunit --bootstrap vendor/autoload.php tests
For Windows platforms
./vendor/bin/phpunit.bat --bootstrap vendor/autoload.php tests
Built With
- PHPUnit - The PHP Testing Framework
- PHP: imagettfbbox - Manual
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Andrej Lahucky - Initial work - Hracik
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
- PurpleBooth
统计信息
- 总下载量: 17.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-27

