{"id":15287274,"url":"https://github.com/mezcalito/imgproxy-bundle","last_synced_at":"2026-02-28T12:15:08.310Z","repository":{"id":166075479,"uuid":"629056025","full_name":"Mezcalito/imgproxy-bundle","owner":"Mezcalito","description":"Integration with imgproxy (on-the-fly image processing)","archived":false,"fork":false,"pushed_at":"2025-04-08T12:36:42.000Z","size":43,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"0.x","last_synced_at":"2025-06-15T09:17:54.897Z","etag":null,"topics":["bundle","imgpoxy","php","symfony"],"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/Mezcalito.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-17T14:25:31.000Z","updated_at":"2025-04-08T12:35:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"65afeef2-065b-49d9-9dac-3f141be87670","html_url":"https://github.com/Mezcalito/imgproxy-bundle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Mezcalito/imgproxy-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mezcalito%2Fimgproxy-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mezcalito%2Fimgproxy-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mezcalito%2Fimgproxy-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mezcalito%2Fimgproxy-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mezcalito","download_url":"https://codeload.github.com/Mezcalito/imgproxy-bundle/tar.gz/refs/heads/0.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mezcalito%2Fimgproxy-bundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266303649,"owners_count":23908373,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["bundle","imgpoxy","php","symfony"],"created_at":"2024-09-30T15:27:24.857Z","updated_at":"2026-02-28T12:15:08.247Z","avatar_url":"https://github.com/Mezcalito.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgproxy Bundle\n\nThis bundle provides [imgproxy](https://imgproxy.net/) integration for\n[Symfony](https://symfony.com/) based projects.\n\n## Installation\n\nRun this command in your terminal:\n\n```bash\ncomposer require mezcalito/imgproxy-bundle\n```\n\nIf you don't use Symfony Flex, you must enable the bundle manually in the\napplication:\n\n```php\n\u003c?php\n\nreturn [\n    // ...\n    Mezcalito\\ImgproxyBundle\\ImgproxyBundle::class =\u003e ['all' =\u003e true]\n];\n```\n\n## Basic Usage\n\nThis bundle works by applying presets on images, from template or from your\ncode. Your presets are defined within the application's configuration file\n(`/config/packages/imgproxy.yaml`).\n\nAt the moment, there is only one preset available with this bundle: the\n`resize` preset. More possibilities will be added later.\n\nTo use this bundle, create the following file:\n\n```yaml\n# config/packages/imgproxy.yaml\n\nimgproxy:\n    host: localhost\n    media_url: https://media.localhost\n\n    # set the same key and salt in imgproxy environment (https://docs.imgproxy.net/signing_the_url)\n    signature:\n        key: c27f2c1d\n        salt: fa242e79\n\n    # default settings applied for all presets\n    default_preset_settings:\n        format: webp\n        encode: true\n\n    presets:\n        # this is a preset example\n        png_thumbnail:\n            format: png\n            options:\n                resize:\n                    resizing_type: fit\n                    width: 150\n                    height: 75\n                    enlarge: true\n                    extend:\n                        extend: true\n                        gravity:\n                            type: no\n                            x_offset: 10\n                            y_offset: 10\n                rotate:\n                    angle: 90\n```\n\nThen, you can use your preset in your templates:\n\n```html\n\u003cimg src=\"{{ asset('/relative/path/to/image.jpg') | imgproxy_preset('png_thumbnail') }}\" /\u003e\n```\n\n## Issues and feature requests\n\nPlease report issues and request features\nat https://github.com/mezcalito/imgproxy-bundle/issues.\n\n## License\n\nThis bundle is under the MIT license. For the whole copyright, see\nthe [LICENSE](LICENSE) file distributed with this source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezcalito%2Fimgproxy-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmezcalito%2Fimgproxy-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezcalito%2Fimgproxy-bundle/lists"}