Download the PHP package andrewgjohnson/imagettftextgradient without Composer
On this page you can find all versions of the php package andrewgjohnson/imagettftextgradient. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrewgjohnson/imagettftextgradient
More information about andrewgjohnson/imagettftextgradient
Files in andrewgjohnson/imagettftextgradient
Package imagettftextgradient
Short Description imagettftextgradient is a drop in replacement for imagettftext with an added parameter to add gradient coloring effects to your PHP GD images
License MIT
Homepage https://imagettftextgradient.agjgd.org
Informations about the package imagettftextgradient
imagettftextgradient
Description
imagettftextgradient is a drop in replacement for imagettftext with an added parameter to add gradient coloring effects to your PHP GD images.
imagettftextgradient is an agjgd project.
Usage
With Composer
This project offers support for the Composer dependency manager. You can find the imagettftextgradient package online on packagist.org.
Install using Composer
Either run this command:
composer require andrewgjohnson/imagettftextgradient
or add this to the require
section of your composer.json file:
"andrewgjohnson/imagettftextgradient": "1.*"
Without Composer
To use without Composer add an include to the imagettftextgradient.php
source file.
include_once 'source/imagettftextgradient.php';
Examples
// standard method to add text to a GD image
imagettftext($im, 20, 0, 0, 0, $color, $font, $string);
// this will work the exact same as the line above
imagettftextgradient($im, 20, 0, 0, 0, $color, $font, $string);
// method to add text with gradient coloring effects to a GD image
imagettftextgradient($im, 20, 0, 0, 0, $color, $font, $string, $gradient_color);
There are other examples included in the GitHub repository and on imagettftextgradient.agjgd.org.
Help Requests
Please post any questions in the discussions area on GitHub if you need help.
If you discover a bug please enter an issue on GitHub. When submitting an issue please use our issue template.
Contributing
Please read our contributing guidelines if you want to contribute.
You can contribute financially by becoming a patron at patreon.com/agjopensource to support imagettftextgradient and other agjgd.org projects.
Acknowledgements
This project was started by Andrew G. Johnson (@andrewgjohnson).
Full list of contributors:
Our security policies and procedures comes via the atomist/samples project. Our issue templates comes via the tensorflow/tensorflow project. Our pull request template comes via the stevemao/github-issue-templates project. The mountains photo comes via Gabriel Garcia Marengo.
Changelog
You can find all notable changes in the changelog.
All versions of imagettftextgradient with dependencies
ext-gd Version *