Bash Script to create a new symfony project and install optional plugins
As we already mentioned in my last post, I have been playing a lot with Symfony these last few months. While I really enjoy working with symfony, it is always a pain to remember how to start a new project, install all the plugins and read the plugin’s documentation. After googling around I found that Gordon Franke published this post. It had a basic script to install symfony and have it working out of the box with very little effort. Me, being a huge fan of little effort, decided to change this script so that it’s even more useful and more powerful, so I don’t loose time installing all those boring and needed plugins I like. The result can be found on GitHub. The script works pretty well, but it does have bugs, so don’t be shy and report them, or fix them when you find one!











Hey I just wanted to let you know that Symfony has something like this built in, take a look at it here:
http://www.symfony-project.org/blog/2009/06/10/new-in-symfony-1-3-project-creation-customization
Basically when you start a new project you do a command such as:
php /path/to/symfony generate:project –installer=/domewhere/installer.php
Inside of the installer script you get access to a bunch of Symfony internals.
@Mark , that’s right, but this is a 1.3 feature, and this script was developed while working on 1.2 projects (and we started working on it before this installer feature was announced)…
Kris Wallsmith published one of his custom installer, and it does look interesting :
http://github.com/kriswallsmith/sf-installer-kris/blob/master/installer.php
Really nice and useful, thanks!
Saved the project into the Symfony Developers Diigo Group: http://groups.diigo.com/group/symfony-developers