Bundle that integrates TinyPNG into Symfony.
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require setono/tiny-png-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Will be enabled by default when you use Symfony Flex.
# config/packages/setono_tiny_png.yaml
setono_tiny_png:
api_key: "INSERT YOUR API KEY"
proxy: "INSERT PROXY" # Optional