Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/setono/tinypngbundle
https://github.com/setono/tinypngbundle
bundle php symfony symfony-bundle
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/setono/tinypngbundle
- Owner: Setono
- License: mit
- Created: 2018-09-04T08:25:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T20:13:20.000Z (11 months ago)
- Last Synced: 2024-10-13T06:21:44.310Z (about 1 month ago)
- Topics: bundle, php, symfony, symfony-bundle
- Language: PHP
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TinyPNG Bundle
Bundle that integrates [TinyPNG](https://tinypng.com/) into Symfony.[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE)
[![Build Status][ico-travis]][link-travis]
[![Quality Score][ico-code-quality]][link-code-quality]## 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:
```bash
$ composer require setono/tiny-png-bundle
```This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.
### Step 2: Enable the bundle
Will be enabled by default when you use Symfony Flex.
### Step 3: Configure the plugin
```yaml
# config/packages/setono_tiny_png.yamlsetono_tiny_png:
api_key: "INSERT YOUR API KEY"
proxy: "INSERT PROXY" # Optional
```[ico-version]: https://img.shields.io/packagist/v/setono/tiny-png-bundle.svg?style=flat-square
[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square
[ico-travis]: https://img.shields.io/travis/Setono/TinyPngBundle/master.svg?style=flat-square
[ico-code-quality]: https://img.shields.io/scrutinizer/g/Setono/TinyPngBundle.svg?style=flat-square[link-packagist]: https://packagist.org/packages/setono/tiny-png-bundle
[link-travis]: https://travis-ci.org/Setono/TinyPngBundle
[link-code-quality]: https://scrutinizer-ci.com/g/Setono/TinyPngBundle