{"id":20540551,"url":"https://github.com/utopia-php/image","last_synced_at":"2025-10-11T04:53:01.315Z","repository":{"id":40386967,"uuid":"338345524","full_name":"utopia-php/image","owner":"utopia-php","description":"Lite \u0026 fast micro PHP library for creating common image manipulations that is **easy to use**.","archived":false,"fork":false,"pushed_at":"2025-07-26T16:58:09.000Z","size":22447,"stargazers_count":12,"open_issues_count":2,"forks_count":11,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-30T14:36:19.787Z","etag":null,"topics":["hacktoberfest"],"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/utopia-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-02-12T14:43:40.000Z","updated_at":"2025-07-26T16:58:14.000Z","dependencies_parsed_at":"2024-03-20T07:29:46.655Z","dependency_job_id":"5d93d9e6-a62d-4771-a617-1549cdb582c2","html_url":"https://github.com/utopia-php/image","commit_stats":{"total_commits":111,"total_committers":13,"mean_commits":8.538461538461538,"dds":0.5225225225225225,"last_synced_commit":"fcea143edbad524bf871ddbebe801d981f91f181"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/utopia-php/image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utopia-php","download_url":"https://codeload.github.com/utopia-php/image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utopia-php%2Fimage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006210,"owners_count":26084062,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"],"created_at":"2024-11-16T01:16:12.153Z","updated_at":"2025-10-11T04:53:01.272Z","avatar_url":"https://github.com/utopia-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utopia Image\n\n[![Build Status](https://travis-ci.org/utopia-php/ab.svg?branch=master)](https://travis-ci.com/utopia-php/image)\n![Total Downloads](https://img.shields.io/packagist/dt/utopia-php/image.svg)\n[![Discord](https://img.shields.io/discord/564160730845151244?label=discord)](https://appwrite.io/discord)\n\nUtopia Image library isLite \u0026amp; fast micro PHP library for creating common image manipulations that is **easy to use**. This library is maintained by the [Appwrite team](https://appwrite.io).\n\n\n## Getting Started\n\nInstall using composer:\n```bash\ncomposer require utopia-php/image\n```\n\n```php\n\u003c?php\n\nrequire_once '../vendor/autoload.php';\n\nuse Utopia\\Image\\Image;\n\n//crop image\n$image = new Image(\\file_get_contents('image.jpg'));\n$target = 'image_100x100.jpg';\n$image-\u003ecrop(100, 100, Image::GRAVITY_NORTHWEST);\n$image-\u003esave($target, 'jpg', 100);\n\n$image = new Image(\\file_get_contents('image.jpg'));\n$target = 'image_border.jpg';\n$image-\u003esetBorder(2, \"#ff0000\"); //add border 2 px, red\n$image-\u003esetRotation(45); //rotate 45 degree\n$image-\u003esave($target, 'jpg', 100);\n\n\n$image = new Image(\\file_get_contents('image.jpg'));\n$target = 'image_border.jpg';\n$image-\u003esetOpacity(0.2); //set opacity\n$image-\u003esave($target, 'png', 100);\n\n```\n\n## System Requirements\n\nUtopia Image requires PHP 8.0 or later. We recommend using the latest PHP version whenever possible.\n\n## Copyright and license\n\nThe MIT License (MIT) [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futopia-php%2Fimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futopia-php%2Fimage/lists"}