/TinyPngBundle

Primary LanguagePHPMIT LicenseMIT

TinyPNG Bundle

Bundle that integrates TinyPNG into Symfony.

Latest Version on Packagist Software License Build Status Quality Score

Installation

Step 1: Download

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.

Step 2: Enable the bundle

Will be enabled by default when you use Symfony Flex.

Step 3: Configure the plugin

# config/packages/setono_tiny_png.yaml

setono_tiny_png:
    api_key: "INSERT YOUR API KEY"
    proxy: "INSERT PROXY" # Optional