2017 © Pedro Peláez
 

symfony-bundle converter-bundle

Adds a command for converting service container configs to other file formats

image

tuck/converter-bundle

Adds a command for converting service container configs to other file formats

  • Wednesday, April 1, 2015
  • by rosstuck
  • Repository
  • 3 Watchers
  • 74 Stars
  • 23,264 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

TuckConverterBundle

Adds the Symfony2 command "container:convert" which converts service config files to other formats, (*1)

For one-off files, there's also a hosted Web UI you can use instead of installing this bundle., (*2)

What it does

You can specify the file to convert either on the commandline:, (*3)

./app/console container:convert yml path/to/file.xml

Or leave out the file and do the conversion interactively., (*4)

./app/console container:convert yml

Adding the -o flag will output the new file instead of prompting you to write it, presumably so you can pipe it to another process somewhere., (*5)

The actual conversion is based on Symfony's built-in loaders and dumpers, so this should be exceedingly reliable., (*6)

TODO

  • Remove a coupling on input for file extension
  • Update the DependencyInjection/*Extension files as well (perhaps with PHP-Parser?)
  • Moar tests

Installation

Run the command below to install via Composer, (*7)

composer require tuck/converter-bundle

The Versions

01/04 2015

dev-master

9999999-dev

Adds a command for converting service container configs to other file formats

  Sources   Download

MIT

The Requires

 

The Development Requires

container convert

09/05 2014

0.3

0.3.0.0

Adds a command for converting service container configs to other file formats

  Sources   Download

MIT

The Requires

 

The Development Requires

container convert

14/03 2014

v0.2

0.2.0.0

Adds a command for converting service container configs to other file formats

  Sources   Download

MIT

The Requires

 

The Development Requires

container convert

15/01 2014

v0.1

0.1.0.0

Adds a command for converting service container configs to other file formats

  Sources   Download

MIT

The Requires

 

The Development Requires

container convert