{"id":16171226,"url":"https://github.com/loevgaard/tinypng-bundle","last_synced_at":"2025-03-19T00:30:37.596Z","repository":{"id":62518597,"uuid":"67488645","full_name":"loevgaard/tinypng-bundle","owner":"loevgaard","description":"A Symfony bundle for the TinyPNG/TinyJPG API","archived":false,"fork":false,"pushed_at":"2018-09-04T11:48:09.000Z","size":8,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T01:04:37.136Z","etag":null,"topics":["bundle","php","symfony","symfony-bundle","tinypng","tinypng-api"],"latest_commit_sha":null,"homepage":null,"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/loevgaard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-06T08:22:50.000Z","updated_at":"2018-09-04T11:48:10.000Z","dependencies_parsed_at":"2022-11-02T13:46:00.629Z","dependency_job_id":null,"html_url":"https://github.com/loevgaard/tinypng-bundle","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loevgaard%2Ftinypng-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loevgaard%2Ftinypng-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loevgaard%2Ftinypng-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loevgaard%2Ftinypng-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loevgaard","download_url":"https://codeload.github.com/loevgaard/tinypng-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244331565,"owners_count":20435958,"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":["bundle","php","symfony","symfony-bundle","tinypng","tinypng-api"],"created_at":"2024-10-10T03:21:10.390Z","updated_at":"2025-03-19T00:30:37.333Z","avatar_url":"https://github.com/loevgaard.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyPNG bundle for Symfony\n\n**This bundle is abandoned. Use this [TinyPNG bundle](https://github.com/Setono/TinyPngBundle) instead**\n\nThe TinyPNG bundle adds a very simple configuration option in `config.yml` to configure the TinyPNG API.\n\n## Usage\n\nAdd bundle using composer:\n\n```\ncomposer require loevgaard/tinypng-bundle\n```\n\nAdd configuration to `config.yml`:\n\n```\ntinypng:\n    api_key: [INSERT API KEY]\n```\n\nAdd bundle to `AppKernel.php`:\n\n```php\n$bundles = [\n    ...\n    new Tinypng\\Bundle\\TinypngBundle(),\n    ...\n];\n```\n\nNow you can do\n\n```php\nTinify\\fromFile(\"unoptimized.png\")-\u003etoFile(\"optimized.png\");\n```\n\ndirectly without setting the API key.\n\nFor usage of the TinyPNG API see [https://github.com/tinify/tinify-php](https://github.com/tinify/tinify-php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floevgaard%2Ftinypng-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floevgaard%2Ftinypng-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floevgaard%2Ftinypng-bundle/lists"}