Download the PHP package postermaker/postermaker without Composer
On this page you can find all versions of the php package postermaker/postermaker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download postermaker/postermaker
More information about postermaker/postermaker
Files in postermaker/postermaker
Download postermaker/postermaker
More information about postermaker/postermaker
Files in postermaker/postermaker
Vendor postermaker
Package postermaker
Short Description A poster maker base on GD lib. 一个用php生成海报的神器。
License MIT
Package postermaker
Short Description A poster maker base on GD lib. 一个用php生成海报的神器。
License MIT
Please rate this library. Is it a good library?
Informations about the package postermaker
Postermaker 海报生成器
A poster make base on gd lib. (PHP) 一个用php生成海报的神器
Usage 用法
比如在文件someaction.php中使用:
安装
addImg
按大小创建一个海报
addImg
添加图片 (图片路径, [x坐标, y坐标], [width, height])
addText
添加图片 (文字内容, 字体大小, [x坐标, y坐标], 颜色[R,G,B])
addQrCode
添加二维码 (文字内容, [x坐标, y坐标], [width, height])
render
添加图片 (文字内容, 字体大小, [x坐标, y坐标], 颜色[R,G,B])
Thinkphp等框架里中的使用
因为有些php框架的控制器默认输出html,所以如果在控制器里直接输出图片的话,需要在控制器最后一行加上:
或者用exit
Author
Ryan Email:[email protected]
All versions of postermaker with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package postermaker/postermaker contains the following files
Loading the files please wait ....