{"id":16329242,"url":"https://github.com/andrewgjohnson/imagettftextgradient","last_synced_at":"2025-03-20T22:32:03.896Z","repository":{"id":62485854,"uuid":"85239464","full_name":"andrewgjohnson/imagettftextgradient","owner":"andrewgjohnson","description":"imagettftextgradient is a drop in replacement for imagettftext with an added parameter to add gradient coloring effects to your PHP GD images.","archived":false,"fork":false,"pushed_at":"2024-08-18T18:57:45.000Z","size":2448,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T18:33:30.317Z","etag":null,"topics":["composer","gd","graphics","image","images","php"],"latest_commit_sha":null,"homepage":"https://imagettftextgradient.agjgd.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewgjohnson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"andrewgjohnson","patreon":"agjgd"}},"created_at":"2017-03-16T20:38:08.000Z","updated_at":"2024-08-18T18:57:48.000Z","dependencies_parsed_at":"2024-08-18T20:09:52.239Z","dependency_job_id":null,"html_url":"https://github.com/andrewgjohnson/imagettftextgradient","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.038461538461538436","last_synced_commit":"8160dc62e6d6ca9e6e2d5e0218e35eee26d36160"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewgjohnson%2Fimagettftextgradient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewgjohnson%2Fimagettftextgradient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewgjohnson%2Fimagettftextgradient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewgjohnson%2Fimagettftextgradient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewgjohnson","download_url":"https://codeload.github.com/andrewgjohnson/imagettftextgradient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244704033,"owners_count":20496228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","gd","graphics","image","images","php"],"created_at":"2024-10-10T23:14:53.590Z","updated_at":"2025-03-20T22:32:03.547Z","avatar_url":"https://github.com/andrewgjohnson.png","language":"PHP","funding_links":["https://github.com/sponsors/andrewgjohnson","https://patreon.com/agjgd","https://patreon.com/agjopensource"],"categories":[],"sub_categories":[],"readme":"# imagettftextgradient\n\n[![MIT License](https://img.shields.io/badge/license-MIT-0366d6.png?colorB=0366d6\u0026style=flat-square)](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/LICENSE)\n[![Current Release](https://img.shields.io/github/release/andrewgjohnson/imagettftextgradient.png?colorB=0366d6\u0026style=flat-square\u0026logoColor=white\u0026logo=github)](https://github.com/andrewgjohnson/imagettftextgradient/releases)\n[![Contributors](https://img.shields.io/github/contributors/andrewgjohnson/imagettftextgradient.png?colorB=0366d6\u0026style=flat-square\u0026logoColor=white\u0026logo=github)](https://github.com/andrewgjohnson/imagettftextgradient/graphs/contributors)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/andrewgjohnson/imagettftextgradient.png?colorB=0366d6\u0026style=flat-square\u0026logoColor=white\u0026logo=packagist)](https://packagist.org/packages/andrewgjohnson/imagettftextgradient/stats)\n[![Issues](https://img.shields.io/github/issues/andrewgjohnson/imagettftextgradient.png?colorB=0366d6\u0026style=flat-square\u0026logoColor=white\u0026logo=github)](https://github.com/andrewgjohnson/imagettftextgradient/issues)\n[![Patreon](https://imagettftextgradient.agjgd.org/documentation/imagettftextgradient.agjgd.org/images/patreon-badge.png)](https://patreon.com/agjopensource)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://imagettftextgradient.agjgd.org/\" title=\"\"\u003e\u003cimg src=\"https://imagettftextgradient.agjgd.org/documentation/imagettftextgradient.agjgd.org/images/avatar.png\" alt=\"\" title=\"\" width=\"400\" id=\"avatar\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\n## Description\n\n**imagettftextgradient** is a drop in replacement for imagettftext with an added parameter to add gradient coloring effects to your PHP GD images.\n\n[![Patreon - Become a Patron](https://raster.shields.io/badge/Patreon%20-become%20a%20Patron-FD334A.png?style=for-the-badge\u0026logo=patreon\u0026logoColor=FD334A)](https://patreon.com/agjopensource)\n\n**imagettftextgradient** is an [agjgd](https://agjgd.org) project.\n\n## Usage\n\n### With Composer\n\nThis project offers support for the [Composer](https://getcomposer.org/) dependency manager. You can find the imagettftextgradient package online on [packagist.org](https://packagist.org/packages/andrewgjohnson/imagettftextgradient).\n\n#### Install using Composer\n\nEither run this command:\n\n    composer require andrewgjohnson/imagettftextgradient\n\nor add this to the `require` section of your composer.json file:\n\n    \"andrewgjohnson/imagettftextgradient\": \"1.*\"\n\n### Without Composer\n\nTo use without Composer add an [include](http://php.net/manual/function.include.php) to the [`imagettftextgradient.php` source file](https://raw.githubusercontent.com/andrewgjohnson/imagettftextgradient/master/source/imagettftextgradient.php).\n\n    include_once 'source/imagettftextgradient.php';\n\n## Examples\n\n    // standard method to add text to a GD image\n    imagettftext($im, 20, 0, 0, 0, $color, $font, $string);\n\n    // this will work the exact same as the line above\n    imagettftextgradient($im, 20, 0, 0, 0, $color, $font, $string);\n\n    // method to add text with gradient coloring effects to a GD image\n    imagettftextgradient($im, 20, 0, 0, 0, $color, $font, $string, $gradient_color);\n\nThere are [other examples](https://github.com/andrewgjohnson/imagettftextgradient/tree/master/examples) included in the GitHub repository and on [imagettftextgradient.agjgd.org](https://imagettftextgradient.agjgd.org/examples/).\n\n## Help Requests\n\nPlease post any questions in the [discussions area](https://github.com/andrewgjohnson/imagettftextgradient/discussions) on GitHub if you need help.\n\nIf you discover a bug please [enter an issue](https://github.com/andrewgjohnson/imagettftextgradient/issues/new) on GitHub. When submitting an issue please use our [issue template](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/ISSUE_TEMPLATE.md).\n\n## Contributing\n\nPlease read our [contributing guidelines](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/CONTRIBUTING.md) if you want to contribute.\n\nYou can contribute financially by becoming a [patron](https://patreon.com/agjopensource) at [patreon.com/agjopensource](https://patreon.com/agjopensource) to support imagettftextgradient and [other agjgd.org projects](https://agjgd.org/projects/).\n\n[![Patreon - Become a Patron](https://raster.shields.io/badge/Patreon%20-become%20a%20Patron-FD334A.png?style=for-the-badge\u0026logo=patreon\u0026logoColor=FD334A)](https://patreon.com/agjopensource)\n\n## Acknowledgements\n\nThis project was started by [Andrew G. Johnson (@andrewgjohnson)](https://github.com/andrewgjohnson).\n\nFull list of contributors:\n * [Andrew G. Johnson (@andrewgjohnson)](https://github.com/andrewgjohnson)\n\nOur [security policies and procedures](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/.github/SECURITY.md) comes via the [atomist/samples](https://github.com/atomist/samples/blob/master/SECURITY.md) project. Our [issue templates](https://github.com/andrewgjohnson/imagettftextgradient/tree/master/.github/ISSUE_TEMPLATE) comes via the [tensorflow/tensorflow](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) project. Our [pull request template](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/.github/PULL_REQUEST_TEMPLATE.md) comes via the [stevemao/github-issue-templates](https://github.com/stevemao/github-issue-templates) project. The [mountains photo](https://unsplash.com/photos/qJvpykJ5SKs) comes via [Gabriel Garcia Marengo](https://unsplash.com/@gabrielgm).\n\n## Changelog\n\nYou can find all notable changes in the [changelog](https://github.com/andrewgjohnson/imagettftextgradient/blob/master/CHANGELOG.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewgjohnson%2Fimagettftextgradient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewgjohnson%2Fimagettftextgradient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewgjohnson%2Fimagettftextgradient/lists"}