[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8132":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},8132,"image","Intervention\u002Fimage","Intervention","PHP Image Processing","https:\u002F\u002Fimage.intervention.io",null,"PHP",14343,1491,268,17,0,4,20,1,73.52,"MIT License",false,"develop",[25,5,26,27,28],"gd","imagick","intervention","php","2026-06-12 04:00:37","# Intervention Image\n## PHP Image Processing\n\n[![Latest Version](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fintervention\u002Fimage.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fintervention\u002Fimage)\n[![Build Status](https:\u002F\u002Fgithub.com\u002FIntervention\u002Fimage\u002Factions\u002Fworkflows\u002Frun-tests.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FIntervention\u002Fimage\u002Factions)\n[![Monthly Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdm\u002Fintervention\u002Fimage.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fintervention\u002Fimage\u002Fstats)\n[![Support me on Ko-fi](https:\u002F\u002Fraw.githubusercontent.com\u002FIntervention\u002Fimage\u002Fdevelop\u002F.github\u002Fimages\u002Fsupport.svg)](https:\u002F\u002Fko-fi.com\u002Finterventionphp)\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 popular PHP image manipulation extensions. You can\nchoose between the GD library, Imagick or libvips as the base layer for all operations.\n\n- Fluent interface for common image editing tasks\n- Interchangeable driver architecture with support for **GD, Imagick and libvips**\n- Support for animated images with all drivers\n- Framework-agnostic\n\n## Installation\n\nInstall this library using [Composer](https:\u002F\u002Fgetcomposer.org). Simply request the package with the following command:\n\n```bash\ncomposer require intervention\u002Fimage\n```\n\n## Getting Started\n\nLearn the [basics](https:\u002F\u002Fimage.intervention.io\u002Fv4\u002Fbasics\u002Finstantiation\u002F) on\nhow to use Intervention Image and more with the [official documentation](https:\u002F\u002Fimage.intervention.io\u002Fv4\u002F).\n\n## Code Examples\n\n```php\nuse Intervention\\Image\\ImageManager;\nuse Intervention\\Image\\Drivers\\Gd\\Driver as GdDriver;\nuse Intervention\\Image\\Alignment;\nuse Intervention\\Image\\Color;\nuse Intervention\\Image\\Format;\n\n\u002F\u002F create image manager instance using the preferred driver\n$manager = ImageManager::usingDriver(GdDriver::class);\n\n\u002F\u002F read image data from path\n$image = $manager->decodePath('images\u002Fexample.webp');\n\n\u002F\u002F scale image by height\n$image->scale(height: 300);\n\n\u002F\u002F insert a watermark\n$image->insert('images\u002Fwatermark.png', alignment: Alignment::BOTTOM_RIGHT);\n\n\u002F\u002F encode edited image\n$encoded = $image->encodeUsingFormat(Format::JPEG, quality: 65);\n\n\u002F\u002F save encoded image\n$encoded->save('images\u002Fexample.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 >= 8.3\n- Mbstring PHP Extension\n- Image Processing PHP Extension (GD, Imagick or libvips)\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:\u002F\u002Fgithub.com\u002FIntervention\u002Fimage-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:\u002F\u002Fintervention.io)\n\nThanks to the community of [contributors](https:\u002F\u002Fgithub.com\u002FIntervention\u002Fimage\u002Fgraphs\u002Fcontributors) who have helped to improve this project.\n\n## License\n\nIntervention Image is licensed under the [MIT License](LICENSE).\n","Intervention Image 是一个 PHP 图像处理库，用于创建、编辑和合成图像。它提供了一种简单且富有表现力的方式来处理图片，并支持多种流行的 PHP 图像处理扩展，包括 GD 库、Imagick 和 libvips。核心功能包括流畅的接口设计以执行常见的图像编辑任务，支持动态图像处理以及驱动程序之间的灵活切换。该库适用于任何需要在 PHP 环境下进行图像操作的应用场景，如网站开发中对用户上传图片的调整、添加水印等。其框架无关性使得 Intervention Image 可以轻松集成到各种 PHP 项目中。",2,"2026-06-11 03:16:18","top_language"]