{"id":20128956,"url":"https://github.com/intervention/image-driver-vips","last_synced_at":"2026-04-02T16:25:43.635Z","repository":{"id":247976187,"uuid":"827371807","full_name":"Intervention/image-driver-vips","owner":"Intervention","description":"libvips driver for Intervention Image","archived":false,"fork":false,"pushed_at":"2026-03-31T07:12:52.000Z","size":2857,"stargazers_count":44,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2026-03-31T09:20:30.063Z","etag":null,"topics":["image","libvips","php","vips"],"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["Intervention"],"ko_fi":"interventionphp","custom":"https://paypal.me/interventionio"}},"created_at":"2024-07-11T14:22:41.000Z","updated_at":"2026-03-31T07:07:13.000Z","dependencies_parsed_at":"2024-07-11T17:31:26.061Z","dependency_job_id":"cb5d9cf2-70a6-4c11-89e9-2cbe41e1eb43","html_url":"https://github.com/Intervention/image-driver-vips","commit_stats":null,"previous_names":["intervention/image-driver-vips"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/Intervention/image-driver-vips","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage-driver-vips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage-driver-vips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage-driver-vips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage-driver-vips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intervention","download_url":"https://codeload.github.com/Intervention/image-driver-vips/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intervention%2Fimage-driver-vips/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31309839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["image","libvips","php","vips"],"created_at":"2024-11-13T20:30:50.409Z","updated_at":"2026-04-02T16:25:43.626Z","avatar_url":"https://github.com/Intervention.png","language":"PHP","funding_links":["https://github.com/sponsors/Intervention","https://ko-fi.com/interventionphp","https://paypal.me/interventionio"],"categories":[],"sub_categories":[],"readme":"# libvips driver for Intervention Image\n\n[![Latest Version](https://img.shields.io/packagist/v/intervention/image-driver-vips.svg)](https://packagist.org/packages/intervention/image-driver-vips)\n[![Build Status](https://github.com/Intervention/image-driver-vips/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Intervention/image-driver-vips/actions)\n[![Monthly Downloads](https://img.shields.io/packagist/dm/intervention/image-driver-vips.svg)](https://packagist.org/packages/intervention/image-driver-vips/stats)\n[![Support me on Ko-fi](https://raw.githubusercontent.com/Intervention/image-driver-vips/develop/.github/images/support.svg)](https://ko-fi.com/interventionphp)\n\nIntervention Image's official driver to use [Intervention Image](https://github.com/Intervention/image) with\n[libvips](https://github.com/libvips/libvips). libvips is a fast, low-memory\nimage processing library that outperforms the standard PHP image extensions GD\nand Imagick. This package makes it easy to utilize the power of libvips in your\nproject while taking advantage of Intervention Image's user-friendly and\neasy-to-use API.\n\n## Installation\n\nInstall this library using [Composer](https://getcomposer.org). Simply request the package with the following command:\n    \n```bash\ncomposer require intervention/image-driver-vips\n```\n\n## Getting Started\n\nThe public [API](https://image.intervention.io) of Intervention Image can be\nused unchanged. The only [configuration](https://image.intervention.io/v4/basics/configuration-drivers) that needs to be done is to ensure that\n`Intervention\\Image\\Drivers\\Vips\\Driver` by this library is used by `Intervention\\Image\\ImageManager`.\n\n## Code Examples\n\n```php\nuse Intervention\\Image\\Image;\nuse Intervention\\Image\\Drivers\\Vips\\Driver as VipsDriver;\nuse Intervention\\Image\\Alignment;\nuse Intervention\\Image\\Format;\n\n// create image manager instance using the desired driver\n$manager = ImageManager::usingDriver(VipsDriver::class);\n\n// read image data from path\n$image = $manager-\u003edecodePath('images/example.webp');\n\n// scale image by height\n$image-\u003escale(height: 300);\n\n// insert a watermark\n$image-\u003einsert('images/watermark.png', alignment: Alignment::BOTTOM_RIGHT);\n\n// encode edited image\n$encoded = $image-\u003eencodeUsingFormat(format: Format::JPEG, quality: 65);\n\n// save encoded image\n$encoded-\u003esave('images/example.jpg');\n```\n\n## Requirements\n\n- PHP \u003e= 8.3\n\n## Caveats\n\n- Due to the technical characteristics of libvips, it is currently **not possible**\n  to implement color quantization via `ImageInterface::reduceColors()` as\n  intended. However, there is a [pull request in\n  libvips](https://github.com/libvips/php-vips/issues/256#issuecomment-2575872401)\n  that enables this feature and it may be integrated here the future as well.\n\n- With PHP on macOS, font files are not recognized in the\n  `ImageInterface::text()` call by default because Quartz as a rendering engine\n  does not allow font files to be loaded at runtime via the fontconfig API.\n  However, setting the environment variable `PANGOCAIRO_BACKEND` to\n  `fontconfig` helps here.\n\n## Authors\n\nThis library was developed by [Oliver Vogel](https://intervention.io) and Thomas Picquet.\n\n## License\n\nIntervention Image Driver Vips is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintervention%2Fimage-driver-vips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintervention%2Fimage-driver-vips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintervention%2Fimage-driver-vips/lists"}