2017 © Pedro Peláez
 

symfony-bundle tinypng-bundle

Symfony bundle for the TinyPNG/TinyJPG API library

image

loevgaard/tinypng-bundle

Symfony bundle for the TinyPNG/TinyJPG API library

  • Thursday, September 29, 2016
  • by loevgaard
  • Repository
  • 1 Watchers
  • 4 Stars
  • 3,495 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 7 % Grown

The README.md

TinyPNG bundle for Symfony

This bundle is abandoned. Use this TinyPNG bundle instead, (*1)

The TinyPNG bundle adds a very simple configuration option in config.yml to configure the TinyPNG API., (*2)

Usage

Add bundle using composer:, (*3)

composer require loevgaard/tinypng-bundle

Add configuration to config.yml:, (*4)

tinypng:
    api_key: [INSERT API KEY]

Add bundle to AppKernel.php:, (*5)

$bundles = [
    ...
    new Tinypng\Bundle\TinypngBundle(),
    ...
];

Now you can do, (*6)

Tinify\fromFile("unoptimized.png")->toFile("optimized.png");

directly without setting the API key., (*7)

For usage of the TinyPNG API see https://github.com/tinify/tinify-php., (*8)

The Versions

20/09 2016
20/09 2016

v0.1.5

0.1.5.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires

 

20/09 2016

v0.1.4

0.1.4.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires

 

20/09 2016

v0.1.3

0.1.3.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires

 

06/09 2016

v0.1.2

0.1.2.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires

 

06/09 2016

v0.1.1

0.1.1.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires

 

06/09 2016

v0.1.0

0.1.0.0

Symfony bundle for the TinyPNG/TinyJPG API library

  Sources   Download

MIT

The Requires