{"id":22508716,"url":"https://github.com/mcred/cakephp-tinypng-helper","last_synced_at":"2025-07-08T02:32:54.928Z","repository":{"id":79968602,"uuid":"17382817","full_name":"mcred/CakePHP-TinyPNG-Helper","owner":"mcred","description":"CakePHP TinyPNG Helper","archived":false,"fork":false,"pushed_at":"2014-03-03T23:09:28.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T02:16:24.695Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcred.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":"2014-03-03T22:44:39.000Z","updated_at":"2014-03-03T23:09:29.000Z","dependencies_parsed_at":"2023-02-24T08:55:51.159Z","dependency_job_id":null,"html_url":"https://github.com/mcred/CakePHP-TinyPNG-Helper","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/mcred%2FCakePHP-TinyPNG-Helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcred%2FCakePHP-TinyPNG-Helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcred%2FCakePHP-TinyPNG-Helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcred%2FCakePHP-TinyPNG-Helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcred","download_url":"https://codeload.github.com/mcred/CakePHP-TinyPNG-Helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944254,"owners_count":20697979,"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-12-07T01:24:46.282Z","updated_at":"2025-03-28T00:19:06.779Z","avatar_url":"https://github.com/mcred.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"CakePHP-TinyPNG-Helper\n======================\n\nA CakePhp Plugin that extends the HTML Image helper to resize and cache PNG files using the TinyPNG.com API.\n\n#Requirements#\n*PHP 4,5\u003cbr /\u003e\n*CakePhp 2+\u003cbr /\u003e\n*TinyPNG API key\n\n#Installation#\n```\n$ cd /your_app_path/Plugin\n$ git submodule add git@github.com:mcred/CakePHP-TMDB-API-Plugin.git TinyPng\n```\n\n#Configuration#\n1. Create an account at https://tinypng.com/developers\n2. Obtain your API key\n3. Create a copy of tinypng.php to /app/Config/tinypng.php\n4. Insert your API Key\n5. Edit your /app/Controller/AppController.php\n\n```\nclass AppController extends Controller {\n\tpublic $helpers = array(\n\t\t'Html' =\u003e array('className' =\u003e 'TinyPng.TinyPng')\n\t);\n}\n```\n\n#Usage#\nThis Plugin extends the Image helper, so usage is the same. There are no special calls required.\n\n#Example#\nLoad the CakePHP Favicon\n```\n\u003c?php echo $this-\u003eHtml-\u003eimage('cake.icon.png'); ?\u003e\n```\n\n#Change History#\nCakePHP TMDB v.1 - 2014-03-03\u003cbr /\u003e\n*Initial Committ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcred%2Fcakephp-tinypng-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcred%2Fcakephp-tinypng-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcred%2Fcakephp-tinypng-helper/lists"}