{"id":30367201,"url":"https://github.com/elfsundae/intervention-image-filters","last_synced_at":"2025-08-19T23:13:57.923Z","repository":{"id":56976560,"uuid":"94717656","full_name":"ElfSundae/intervention-image-filters","owner":"ElfSundae","description":"Intervention Image Filters","archived":false,"fork":false,"pushed_at":"2022-07-12T15:06:52.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T16:52:54.818Z","etag":null,"topics":[],"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/ElfSundae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T22:55:55.000Z","updated_at":"2022-02-19T23:12:29.000Z","dependencies_parsed_at":"2022-08-21T10:20:55.168Z","dependency_job_id":null,"html_url":"https://github.com/ElfSundae/intervention-image-filters","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ElfSundae/intervention-image-filters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2Fintervention-image-filters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2Fintervention-image-filters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2Fintervention-image-filters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2Fintervention-image-filters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElfSundae","download_url":"https://codeload.github.com/ElfSundae/intervention-image-filters/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2Fintervention-image-filters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236297,"owners_count":24723983,"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-08-19T02:00:09.176Z","response_time":63,"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":[],"created_at":"2025-08-19T23:13:57.027Z","updated_at":"2025-08-19T23:13:57.908Z","avatar_url":"https://github.com/ElfSundae.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Intervention Image Filters\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/elfsundae/intervention-image-filters.svg?style=flat-square)](https://packagist.org/packages/elfsundae/intervention-image-filters)\n\nFilters for [`intervention/image`](https://github.com/Intervention/image) .\n\n## Installation\n\n```sh\n$ composer require elfsundae/intervention-image-filters\n```\n\n## Usage\n\n```php\nuse Intervention\\Image\\ImageManager as Image;\n// use Intervention\\Image\\Facades\\Image; // For Laravel\nuse ElfSundae\\Image\\Filters\\Fit;\nuse ElfSundae\\Image\\Filters\\Resize;\n\n$image = Image::make($file)\n    -\u003efilter(new Resize(300, 400))\n    -\u003esave($path);\n\n$image-\u003efilter(new Fit(320));\n$image-\u003efilter(new Fit(320, 400, 'top-left'));\n$image-\u003efilter(new Fit(320)-\u003eupsize(false));\n\n$image-\u003efilter(new Resize(300, 600, $aspectRatio = false));\n$image-\u003efilter(new Resize(300, 600)-\u003easpectRatio(false)-\u003eupsize(false));\n```\n\n## License\n\nThis package is open-sourced software licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfsundae%2Fintervention-image-filters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfsundae%2Fintervention-image-filters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfsundae%2Fintervention-image-filters/lists"}