Symfony-and-plugins-installation-script is a project mainly written in Shell, it's free.
Automates new project creation and plugin installation for Symfony
The Symfony and Plugins Installation Script
is a bash script to ease the creation of new
projects and the installation of plugins.
It always installs Symfony with Doctrine Plugin and removes Propel. All other plugins are optional. It will also create two applications as defined in config file. It will also create a name based virtual host in Apache and the corresponding entry in /etc/hosts. Some plugins require other packages to be installed and the script will install it using aptitude.
Change (cd) to the directory you want to start your new project Ex: $ mkdir my_new_project $ cd !$
Execute new_project.sh from that directory with the required parameters $ /path/to/new_project.sh
This will result in the following message:
usage: /path/to/new_project.sh OPTION...
This script attempts to install Symfony according to pre-configured settings and with sfDoctrinePlugin.
OPTIONS: -h, --help Show this message -c, --config-file Specify config file to use -l, --language Specify optional language support (Using MySQL i18n) -i, --install-plugin Specify optional plugins to install. Currently supported plugins are:
For every plugin you want to install use the -i or --install-plugin. Ex: $ /path/to/new_project.sh -c /path/to/new_project.config -i sfAdminDashPlugin -i csDoctrineActAsSortablePlugin -i sfDoctrineActAsTaggablePlugin -i csDoctrineActAsCategorizablePlugin -i pkContextCMSPlugin -l es -l fr
The line above will create a new symfony project with the following plugins:
And will configure symfony to use i18n (MySQL) with two languages: es (spanish) and fr (french). The base language is ALWAYS english.
The other script, install_plugin is still in its very early stages and need a bit of work.