{"id":13396028,"url":"https://github.com/Intervention/image","last_synced_at":"2025-03-13T22:31:26.459Z","repository":{"id":6464731,"uuid":"7704544","full_name":"Intervention/image","owner":"Intervention","description":"PHP Image Processing","archived":false,"fork":false,"pushed_at":"2024-10-29T14:15:48.000Z","size":4954,"stargazers_count":13913,"open_issues_count":30,"forks_count":1496,"subscribers_count":269,"default_branch":"develop","last_synced_at":"2024-10-29T17:24:20.016Z","etag":null,"topics":["gd","image","imagick","intervention","php"],"latest_commit_sha":null,"homepage":"https://image.intervention.io","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/Intervention.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":["Intervention"],"custom":"https://paypal.me/interventionio"}},"created_at":"2013-01-19T15:05:32.000Z","updated_at":"2024-10-29T14:30:45.000Z","dependencies_parsed_at":"2024-01-11T11:56:59.107Z","dependency_job_id":"5dfcaa18-bf65-4df1-8cb2-37273185a880","html_url":"https://github.com/Intervention/image","commit_stats":{"total_commits":585,"total_committers":134,"mean_commits":4.365671641791045,"dds":0.441025641025641,"last_synced_commit":"54934ae8ea3661fd189437df90fb09ec3b679c74"},"previous_names":[],"tags_count":155,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intervention","download_url":"https://codeload.github.com/Intervention/image/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242772290,"owners_count":20182742,"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":["gd","image","imagick","intervention","php"],"created_at":"2024-07-30T18:00:37.967Z","updated_at":"2025-03-13T22:31:26.453Z","avatar_url":"https://github.com/Intervention.png","language":"PHP","readme":"# Intervention Image\n## PHP Image Processing\n\n[![Latest Version](https://img.shields.io/packagist/v/intervention/image.svg)](https://packagist.org/packages/intervention/image)\n[![Build Status](https://github.com/Intervention/image/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Intervention/image/actions)\n[![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image.svg)](https://packagist.org/packages/intervention/image/stats)\n[![Support me on Ko-fi](https://raw.githubusercontent.com/Intervention/image/develop/.github/images/support.svg)](https://ko-fi.com/interventionphp)\n\nIntervention Image is a **PHP image processing library** that provides a simple\nand expressive way to create, edit, and compose images. It comes with a universal\ninterface for the two most popular PHP image manipulation extensions. You can\nchoose between the GD library or Imagick as the base layer for all operations.\n\n- Simple interface for common image editing tasks\n- Interchangeable driver architecture\n- Support for animated images\n- Framework-agnostic\n- PSR-12 compliant\n\n## Installation\n\nYou can easily install this library using [Composer](https://getcomposer.org).\nSimply request the package with the following command:\n\n```bash\ncomposer require intervention/image\n```\n\n## Getting Started\n\nLearn the [basics](https://image.intervention.io/v3/basics/instantiation/) on\nhow to use Intervention Image and more with the [official\ndocumentation](https://image.intervention.io/v3/).\n\n## Code Examples\n\n```php\nuse Intervention\\Image\\ImageManager;\n\n// create image manager with desired driver\n$manager = new ImageManager(\n    new Intervention\\Image\\Drivers\\Gd\\Driver()\n);\n\n// open an image file\n$image = $manager-\u003eread('images/example.gif');\n\n// resize image instance\n$image-\u003eresize(height: 300);\n\n// insert a watermark\n$image-\u003eplace('images/watermark.png');\n\n// encode edited image\n$encoded = $image-\u003etoJpg();\n\n// save encoded image\n$encoded-\u003esave('images/example.jpg');\n```\n\n## Requirements\n\nBefore you begin with the installation make sure that your server environment\nsupports the following requirements.\n\n- PHP \u003e= 8.1\n- Mbstring PHP Extension\n- Image Processing PHP Extension\n\n## Supported Image Libraries\n\nDepending on your environment Intervention Image lets you choose between\ndifferent image processing extensions.\n\n- GD Library\n- Imagick PHP extension\n- [libvips](https://github.com/Intervention/image-driver-vips)\n\n## Security\n\nIf you discover any security related issues, please email oliver@intervention.io directly.\n\n## Authors\n\nThis library is developed and maintained by [Oliver Vogel](https://intervention.io)\n\nThanks to the community of [contributors](https://github.com/Intervention/image/graphs/contributors) who have helped to improve this project.\n\n## License\n\nIntervention Image is licensed under the [MIT License](LICENSE).\n","funding_links":["https://github.com/sponsors/Intervention","https://paypal.me/interventionio","https://ko-fi.com/interventionphp"],"categories":["Popular Packages","PHP","Uncategorized","Computer Vision, Image \u0026 Video Processing","Popular/Notable Packages","图像","图像 Imagery","目录","Table of Contents","Media Manipulation \u0026 Management","Imagery","后端开发框架及项目","Paquetes utiles","插件推荐","图像( Imagery )","类库","Developments"],"sub_categories":["Uncategorized","Recommended core stack","图像 Imagery","Imagery","PHP开发","图像处理","Framework \u0026 Libraries"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntervention%2Fimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIntervention%2Fimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIntervention%2Fimage/lists"}