{"id":13411227,"url":"https://github.com/yiisoft/yii2-imagine","last_synced_at":"2025-05-15T18:05:20.864Z","repository":{"id":12891818,"uuid":"15568575","full_name":"yiisoft/yii2-imagine","owner":"yiisoft","description":"Yii 2 imagine extension","archived":false,"fork":false,"pushed_at":"2023-09-29T16:09:49.000Z","size":235,"stargazers_count":288,"open_issues_count":6,"forks_count":94,"subscribers_count":43,"default_branch":"master","last_synced_at":"2024-10-29T14:35:37.089Z","etag":null,"topics":["hacktoberfest","image","images","imagine","thumbnails","yii","yii2"],"latest_commit_sha":null,"homepage":"http://www.yiiframework.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiisoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"open_collective":"yiisoft","github":["yiisoft"],"tidelift":"packagist/yiisoft/yii2-imagine"}},"created_at":"2014-01-01T19:03:46.000Z","updated_at":"2024-09-22T04:16:37.000Z","dependencies_parsed_at":"2023-12-17T08:43:18.463Z","dependency_job_id":null,"html_url":"https://github.com/yiisoft/yii2-imagine","commit_stats":{"total_commits":113,"total_committers":21,"mean_commits":5.380952380952381,"dds":0.6991150442477876,"last_synced_commit":"b24c393f1417982fa941b37f61496b1d6fce7e02"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-imagine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-imagine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-imagine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiisoft%2Fyii2-imagine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiisoft","download_url":"https://codeload.github.com/yiisoft/yii2-imagine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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","images","imagine","thumbnails","yii","yii2"],"created_at":"2024-07-30T20:01:12.301Z","updated_at":"2025-04-07T22:09:16.827Z","avatar_url":"https://github.com/yiisoft.png","language":"PHP","funding_links":["https://opencollective.com/yiisoft","https://github.com/sponsors/yiisoft","https://tidelift.com/funding/github/packagist/yiisoft/yii2-imagine"],"categories":["PHP","Extension 扩展"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://imagine.readthedocs.org/\" target=\"_blank\" rel=\"external\"\u003e\n        \u003cimg src=\"https://imagine.readthedocs.io/en/latest/_static/logo.png\" height=\"100px\"\u003e\n    \u003c/a\u003e\n    \u003ch1 align=\"center\"\u003eImagine Extension for Yii 2\u003c/h1\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\nThis extension adds most common image functions and also acts as a wrapper to [Imagine](https://imagine.readthedocs.org/)\nimage manipulation library for [Yii framework 2.0](https://www.yiiframework.com).\n\nFor license information check the [LICENSE](LICENSE.md)-file.\n\n[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-imagine/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-imagine)\n[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-imagine/downloads.png)](https://packagist.org/packages/yiisoft/yii2-imagine)\n[![Build Status](https://github.com/yiisoft/yii2-imagine/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-imagine/actions)\n\n\nInstallation\n------------\n\nThe preferred way to install this extension is through [composer](https://getcomposer.org/download/).\n\nEither run\n\n```\ncomposer require --prefer-dist yiisoft/yii2-imagine\n```\n\nor add\n\n```json\n\"yiisoft/yii2-imagine\": \"~2.2.0\"\n```\n\nto the `require` section of your composer.json.\n\n\nBasic Usage\n-----------\n\nThis extension is a wrapper to the [Imagine](https://imagine.readthedocs.org/) and also adds the most commonly used\nimage manipulation methods.\n\nThe following example shows how to use this extension:\n\n```php\nuse yii\\imagine\\Image;\n\n// frame, rotate and save an image\nImage::frame('path/to/image.jpg', 5, '666', 0)\n    -\u003erotate(-8)\n    -\u003esave('path/to/destination/image.jpg', ['jpeg_quality' =\u003e 50]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-imagine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiisoft%2Fyii2-imagine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiisoft%2Fyii2-imagine/lists"}