setono / tiny-png-bundle
Symfony bundle to integrate TinyPNG with Symfony
Installs: 10 174
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^7.4 | ^8.0 | ^8.1
- symfony/config: ^4.4 | ^5.4 | ^6.0
- symfony/dependency-injection: ^4.4 | ^5.4 | ^6.0
- symfony/http-kernel: ^4.4 | ^5.4 | ^6.0
- tinify/tinify: ^1.5
Requires (Dev)
- matthiasnoback/symfony-dependency-injection-test: ^4.3
- phpstan/phpstan: ^1.4
- phpunit/phpunit: ^9.5
- roave/security-advisories: dev-master
- symplify/easy-coding-standard: ^10.0
- vimeo/psalm: ^4.20
This package is auto-updated.
Last update: 2024-11-15 22:09:40 UTC
README
Bundle that integrates TinyPNG into Symfony.
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