# How to integrate TinyPNG (Tinify API) with CakePHP?

**URL:** <https://discourse.cakephp.org/t/how-to-integrate-tinypng-tinify-api-with-cakephp/2319>\
**Category:** Plugins\
**Created:** [March 29, 2017, 7:22pm UTC](https://discourse.cakephp.org/t/how-to-integrate-tinypng-tinify-api-with-cakephp/2319 "2017-03-29T19:22:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noeyeat](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@noeyeat](https://discourse.cakephp.org/u/noeyeat)\
**Post date:** [March 29, 2017, 7:22pm UTC](https://discourse.cakephp.org/t/how-to-integrate-tinypng-tinify-api-with-cakephp/2319/1 "2017-03-29T19:22:26Z")

</div>

I’m trying to use [Tinify](https://tinypng.com/) to resize and compress on the upload but I can’t get it to work, to be honest I can’t even install it. I’ve tried with composer but I can’t make CakePHP load the plugin. What am I supposed to do?
