{"id":13606968,"url":"https://github.com/Flynsarmy/wn-imageoptimizer-plugin","last_synced_at":"2025-04-12T11:31:06.655Z","repository":{"id":141194574,"uuid":"469040959","full_name":"Flynsarmy/wn-imageoptimizer-plugin","owner":"Flynsarmy","description":"Optimizes images automatically on upload/resize","archived":false,"fork":false,"pushed_at":"2022-03-12T10:03:56.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T21:16:09.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flynsarmy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-03-12T09:46:07.000Z","updated_at":"2022-12-22T15:19:35.000Z","dependencies_parsed_at":"2024-01-14T05:07:05.595Z","dependency_job_id":"daeab686-3510-4acb-83b6-09db60be2351","html_url":"https://github.com/Flynsarmy/wn-imageoptimizer-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flynsarmy%2Fwn-imageoptimizer-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flynsarmy%2Fwn-imageoptimizer-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flynsarmy%2Fwn-imageoptimizer-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flynsarmy%2Fwn-imageoptimizer-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flynsarmy","download_url":"https://codeload.github.com/Flynsarmy/wn-imageoptimizer-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560070,"owners_count":21124590,"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":[],"created_at":"2024-08-01T19:01:14.271Z","updated_at":"2025-04-12T11:31:06.062Z","avatar_url":"https://github.com/Flynsarmy.png","language":"PHP","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Image Optimizer for Winter CMS ![Build Status](https://github.com/flynsarmy/wn-imageoptimizer-plugin/actions/workflows/ci-php.yml/badge.svg)\n\nAutomatically optimizes images on upload/resize.\n\n## Installation\n\n* `git clone` to */plugins/flynsarmy/imageoptimizer*\n* `composer update`\n* `php artisan plugin:refresh Flynsarmy.ImageOptimizer`\n\n## Description\n\nThis plugin uses [spatie/image-optimizer](https://github.com/spatie/image-optimizer) to optimize images on upload and resize. It requires various binaries to be installed on your system to handle the optimizations. At the time of writing this plugin supports the following image types:\n\n* JPG - [JpegOptim](http://freecode.com/projects/jpegoptim)\n* PNG - [Pngquant 2](https://pngquant.org/), [Optipng](http://optipng.sourceforge.net/)\n* SVG - [SVGo 1](https://github.com/svg/svgo)\n* GIF - [Gifsicle](http://www.lcdf.org/gifsicle/)\n* WebP - [Cwebp](https://developers.google.com/speed/webp/docs/cwebp)\n\nFor full details, see [spatie/image-optimizer](https://github.com/spatie/image-optimizer)\n\nA settings page has been provided at *Backend - Settings - Image Optimizer* which lists supported binaries and whether or not they're installed on the system.\n\n## Command Line\n\nTwo artisan commands have been added:\n\n1. `php artisan imageoptimizer:optimizers` lists installed optimizers.\n1. `php artisan imageoptimizer:optimize \u003cfilepath\u003e` optimizes an image at a given path.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlynsarmy%2Fwn-imageoptimizer-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFlynsarmy%2Fwn-imageoptimizer-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFlynsarmy%2Fwn-imageoptimizer-plugin/lists"}