{"id":18578296,"url":"https://github.com/astrotomic/php-weserv-images","last_synced_at":"2025-04-10T10:31:03.770Z","repository":{"id":52291896,"uuid":"243765043","full_name":"Astrotomic/php-weserv-images","owner":"Astrotomic","description":"A fluent URL generator for images.weserv.nl","archived":false,"fork":false,"pushed_at":"2023-09-04T09:13:33.000Z","size":64,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T03:32:11.333Z","etag":null,"topics":["hacktoberfest","image-manipulation","image-processing","images-weserv","treeware"],"latest_commit_sha":null,"homepage":"https://images.weserv.nl","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/Astrotomic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["Gummibeer","SarahSibert"],"issuehunt":"astrotomic","custom":["https://forest.astrotomic.info"]}},"created_at":"2020-02-28T13:09:46.000Z","updated_at":"2024-03-31T15:38:52.000Z","dependencies_parsed_at":"2022-09-19T13:11:30.918Z","dependency_job_id":"dc597d4f-c5e8-4c23-892d-83558917f8ca","html_url":"https://github.com/Astrotomic/php-weserv-images","commit_stats":{"total_commits":63,"total_committers":4,"mean_commits":15.75,"dds":0.07936507936507942,"last_synced_commit":"65a7ee9c2a70930542064a240a9887b695f0c336"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Fphp-weserv-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Fphp-weserv-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Fphp-weserv-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Astrotomic%2Fphp-weserv-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Astrotomic","download_url":"https://codeload.github.com/Astrotomic/php-weserv-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199136,"owners_count":21063641,"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":["hacktoberfest","image-manipulation","image-processing","images-weserv","treeware"],"created_at":"2024-11-06T23:34:32.007Z","updated_at":"2025-04-10T10:31:02.005Z","avatar_url":"https://github.com/Astrotomic.png","language":"PHP","funding_links":["https://github.com/sponsors/Gummibeer","https://github.com/sponsors/SarahSibert","https://issuehunt.io/r/astrotomic","https://forest.astrotomic.info"],"categories":[],"sub_categories":[],"readme":"# PHP images.weserv.nl\n\n[![Latest Version](http://img.shields.io/packagist/v/astrotomic/php-weserv-images.svg?label=Release\u0026style=for-the-badge)](https://packagist.org/packages/astrotomic/php-weserv-images)\n[![MIT License](https://img.shields.io/github/license/Astrotomic/php-weserv-images.svg?label=License\u0026color=blue\u0026style=for-the-badge)](https://github.com/Astrotomic/php-weserv-images/blob/master/LICENSE)\n[![Offset Earth](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-green?style=for-the-badge)](https://plant.treeware.earth/Astrotomic/php-weserv-images)\n[![Larabelles](https://img.shields.io/badge/Larabelles-%F0%9F%A6%84-lightpink?style=for-the-badge)](https://www.larabelles.com/)\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/Astrotomic/php-weserv-images/run-tests?style=flat-square\u0026logoColor=white\u0026logo=github\u0026label=Tests)](https://github.com/Astrotomic/php-weserv-images/actions?query=workflow%3Arun-tests)\n[![StyleCI](https://styleci.io/repos/243765043/shield)](https://styleci.io/repos/243765043)\n[![Total Downloads](https://img.shields.io/packagist/dt/astrotomic/php-weserv-images.svg?label=Downloads\u0026style=flat-square)](https://packagist.org/packages/astrotomic/php-weserv-images)\n\nThis package provides a fluent PHP OOP builder for [images.weserv.nl](https://images.weserv.nl).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require astrotomic/php-weserv-images\n```\n\n## Usage\n\n```php\nuse Astrotomic\\Weserv\\Images\\Url;\nuse Astrotomic\\Weserv\\Images\\Enums\\Fit;\n\n$url = new Url('https://images.weserv.nl/lichtenstein.jpg');\n$url-\u003ew(512)-\u003eh(512)-\u003ewe()-\u003efit(Fit::INSIDE);\n\necho $url;\n// https://images.weserv.nl/?w=512\u0026h=512\u0026we=1\u0026fit=inside\u0026url=https%3A%2F%2Fimages.weserv.nl%2Flichtenstein.jpg\n```\n\n![](https://images.weserv.nl/?w=512\u0026h=512\u0026we=1\u0026fit=inside\u0026url=https%3A%2F%2Fimages.weserv.nl%2Flichtenstein.jpg)\n\n### Testing\n\n```bash\ncomposer test\n```\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/Astrotomic/.github/blob/master/CONTRIBUTING.md) for details. You could also be interested in [CODE OF CONDUCT](https://github.com/Astrotomic/.github/blob/master/CODE_OF_CONDUCT.md).\n\n### Security\n\nIf you discover any security related issues, please check [SECURITY](https://github.com/Astrotomic/.github/blob/master/SECURITY.md) for steps to report it.\n\n## Credits\n\n-   [Tom Witkowski](https://github.com/Gummibeer)\n-   [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Treeware\n\nYou're free to use this package, but if it makes it to your production environment I would highly appreciate you buying the world a tree.\n\nIt’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to [plant trees](https://www.bbc.co.uk/news/science-environment-48870920). If you contribute to my forest you’ll be creating employment for local families and restoring wildlife habitats.\n\nYou can buy trees at [offset.earth/treeware](https://plant.treeware.earth/Astrotomic/php-weserv-images)\n\nRead more about Treeware at [treeware.earth](https://treeware.earth)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Fphp-weserv-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrotomic%2Fphp-weserv-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrotomic%2Fphp-weserv-images/lists"}