{"id":18605916,"url":"https://github.com/axllent/silverstripe-image-optimiser","last_synced_at":"2025-04-10T20:31:18.135Z","repository":{"id":62490452,"uuid":"177055149","full_name":"axllent/silverstripe-image-optimiser","owner":"axllent","description":"Automatically optimise all uploaded \u0026 resampled images in Silverstripe","archived":false,"fork":false,"pushed_at":"2023-05-15T04:54:51.000Z","size":16,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T04:06:44.374Z","etag":null,"topics":["image-optimization","silverstripe-module"],"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/axllent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"Code-of-Conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-22T02:05:43.000Z","updated_at":"2024-07-02T14:35:05.000Z","dependencies_parsed_at":"2023-11-17T01:09:52.348Z","dependency_job_id":"94af932b-1405-4049-94a0-cfecf709a746","html_url":"https://github.com/axllent/silverstripe-image-optimiser","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.04761904761904767,"last_synced_commit":"aaeff5c7be237f4c771e47827530becfbf32534a"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axllent%2Fsilverstripe-image-optimiser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axllent%2Fsilverstripe-image-optimiser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axllent%2Fsilverstripe-image-optimiser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axllent%2Fsilverstripe-image-optimiser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axllent","download_url":"https://codeload.github.com/axllent/silverstripe-image-optimiser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248146101,"owners_count":21055271,"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":["image-optimization","silverstripe-module"],"created_at":"2024-11-07T02:23:34.430Z","updated_at":"2025-04-10T20:31:17.890Z","avatar_url":"https://github.com/axllent.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Optimised images for Silverstripe\n\nA module to automatically optimise/compress uploaded as well as any resampled\n(cropped, scaled etc) images in Silverstripe. Images (JPG, PNG \u0026 GIF) are automatically\noptimised, provided you have the correct binaries installed (see \"Installation\" below).\n\nThe module overrides the default `FlysystemAssetStore` to and transparently optimises\nthe image before adding the image to the store.\n\n\n## Requirements\n\n- `silverstripe/framework` ^4.0 || ^5.0\n- `silverstripe/assets` ^1.10 || ^2.0\n- [spatie/image-optimizer](https://github.com/spatie/image-optimizer) - automatically installed\n- JpegOptim, Optipng, Pngquant 2 \u0026 Gifsicle binaries (see below)\n\n\n## Optimisation tools\n\nThe module uses [spatie/image-optimizer](https://github.com/spatie/image-optimizer) and will use the\nfollowing optimisers if they are both present and in your default path on your system:\n\n- [JpegOptim](https://github.com/tjko/jpegoptim)\n- [Optipng](http://optipng.sourceforge.net/)\n- [Pngquant 2](https://pngquant.org/)\n- [Gifsicle](http://www.lcdf.org/gifsicle/)\n\n\n## Installation\n\n```shell\ncomposer require axllent/silverstripe-image-optimiser\n```\n\n### Installing the utilities on Ubuntu:\n\n```bash\nsudo apt-get install jpegoptim optipng pngquant gifsicle\n```\n\n\n### Installing the utilities on Alpine Linux:\n\n```bash\napk add jpegoptim optipng pngquant gifsicle\n```\n\n\n## Usage\n\nAssuming you have the necessary binaries installed, it should \"just work\" with the default settings\nonce you have flushed your Silverstripe installation.\n\nFor custom optimisation settings, please refer to the\n[Configuration documentation](docs/en/Configuration.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxllent%2Fsilverstripe-image-optimiser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxllent%2Fsilverstripe-image-optimiser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxllent%2Fsilverstripe-image-optimiser/lists"}