Symfony Bro to bootstrap and quick start your common Symfony projects
This step is only needed the first time you use the installer:
$ sudo curl -LsS http://symfonybro.com/installer -o /usr/local/bin/bro
$ sudo chmod a+x /usr/local/bin/bro
c:\> php -r "readfile('http://symfonybro.com/installer');" > bro
Move the downloaded bro
file to your projects directory and execute
it as follows:
c:\> php bro
To raise your new project you need to get somewhere the bro.json
file to use it with Bro like this:
$ bro up
or
$ bro up whatever.json
It will automatically take the bro.json
file located in current directory and use it to broup.
To raise your new project using GitHub repository you just need to specify this repository in the up
command like this:
$ bro up git@github.com:symfony-bro/standard-orm-edition.git
or
$ bro up https://github.com/symfony-bro/standard-orm-edition
To broify your project run bro ify
inside your project root.
You will get then the bro.json
file that you can use to bootstrap your next Symfony project using you current project bundles and settings.
First of all Bro looks to your composer.json
and gets the Symfony edition you using.
Then it throws away all the standard Symfony bundles already included in edition and takes all the stuff left.
Based on this data Bro makes a bro.json
file that contains all the included extensions.
Then Bro gets your config files and appends it to the bro.json
file so you can raise your typical config in pretty way on newly created project.