2017 © Pedro Peláez
 

symfony-bundle contao-developer-convenience-bundle

Provides a set of tools to use while developing with contao

image

oneup/contao-developer-convenience-bundle

Provides a set of tools to use while developing with contao

  • Monday, July 2, 2018
  • by sheeep
  • Repository
  • 3 Watchers
  • 2 Stars
  • 383 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 53 % Grown

The README.md

ContaoDeveloperConvenienceBundle

This bundle for Contao contains a set of tools that come in handy while developing with Contao. Currently included commands: 1. dev:sync <environment>, (*1)

Synchronise Database and Files from a remote installation 2. dev:imageoptim <environment>, (*2)

Requirements

This bundle needs a working mage configuration (mage.yml), (*3)

imageoptim

The dev:imageoptim command also requires a set of node.js modules. Add them in your package.json file as shown below., (*4)

{
    "name": "...",
    "version": "...",
    [...]

    "dependencies": {
        [...]
        "imagemin": "^7.0.1",
        "imagemin-guetzli": "^3.0.0",
        "imagemin-mozjpeg": "^9.0.0",
        "imagemin-pngquant": "^9.0.0",
    [...]

Configuration

You can configure the image-optimization in your app's config (app/config/config.yml)., (*5)

developer_convenience:
    imageoptim:
        jpeg:
            quality: 85
        png:
            quality: 65-80
            speed: 7

parameters are omittable. They default to above shown values., (*6)

quality parameters range in between [1-100], where 100 results in the best quality., (*7)

speed parameter is only available for the png modules. This value ranges in between [0-10], where 10 is the fastest (while decreasing quality)., (*8)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*9)

Resources/meta/LICENSE

The Versions

02/07 2018

dev-master

9999999-dev http://1up.io

Provides a set of tools to use while developing with contao

  Sources   Download

MIT

The Requires

 

contao optimization sync environments synchronisation imagemin

02/07 2018
28/06 2018
07/12 2017
07/12 2017
07/12 2017
07/12 2017