{"id":16768396,"url":"https://github.com/nicoverbruggen/image-generator","last_synced_at":"2025-04-15T22:51:45.331Z","repository":{"id":57026922,"uuid":"113364891","full_name":"nicoverbruggen/image-generator","owner":"nicoverbruggen","description":"Generate simple placeholder images with a specific size, color, and some text on them. For PHP 8.1 and newer.","archived":false,"fork":false,"pushed_at":"2024-08-07T10:37:41.000Z","size":32,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T02:12:24.719Z","etag":null,"topics":["font","multiline","php","placeholder-image"],"latest_commit_sha":null,"homepage":"","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/nicoverbruggen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-06T20:38:02.000Z","updated_at":"2025-03-13T18:50:10.000Z","dependencies_parsed_at":"2024-08-07T11:39:04.085Z","dependency_job_id":null,"html_url":"https://github.com/nicoverbruggen/image-generator","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"8e04d64f1449fb7a357f0e5eea73914d704b0a32"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoverbruggen%2Fimage-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoverbruggen%2Fimage-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoverbruggen%2Fimage-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoverbruggen%2Fimage-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicoverbruggen","download_url":"https://codeload.github.com/nicoverbruggen/image-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249167434,"owners_count":21223505,"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":["font","multiline","php","placeholder-image"],"created_at":"2024-10-13T06:11:31.198Z","updated_at":"2025-04-15T22:51:45.312Z","avatar_url":"https://github.com/nicoverbruggen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Generator\n\nThis package is intended to be used for quickly generating placeholder images with a specific size, color and text. For more complex use cases, you may want to turn to something like [stil/gd-text](https://github.com/stil/gd-text).\n\n## Requirements\n\n* PHP 8.1 or higher\n* GD extension\n    \n## Usage\n\nMake sure you require this package in your composer.json:\n\n    composer require nicoverbruggen/image-generator\n\nSee [the example source file](examples/saved.php) that is used to generate and save the sample images. You can generate the following examples:\n\n![The barebones example](doc/examples/barebones.png)\n![A multiline example](doc/examples/multiline.png)\n![An avatar](doc/examples/avatar.png)\n\nPlease note that for testing purposes, I used Roboto Black as the TrueType font. (This font is not included in this repository.)\n\nYou can also check out [the other source file](examples/direct.php). You can point your browser directly at this file (assuming you're running a PHP server, of course) and it will directly return a file since the path is set to `null`.\n\n## Notes\n\nIf you do not supply a TrueType font path: \n* you will be limited in font size options (1 through 5)\n*  you will not be able to render multiline text\n\n## Tests\n\n    ./vendor/bin/phpunit tests\n\n## Contributions\n\nI am not planning to expand the features of this package at this time. If you've made an improvement or fixed something, you are free to send me a pull request.\n\n## License\n\nMIT. \n\nSee also: [LICENSE](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoverbruggen%2Fimage-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoverbruggen%2Fimage-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoverbruggen%2Fimage-generator/lists"}