Yeoman generator that scaffolds out a Symfony 2 PHP web app.
- Symfony 2 Standard Edition
- Built-in preview server with LiveReload
- Automagically compile Compass
- CSS Autoprefixing
- Leaner Modernizr builds
For more information on what generator-symfony can do for you, take a look at the Grunt tasks used in our package.json.
Things you probably need:
- npm
- php
- php-intl
- composer
- compass
- vagrant
- VirtualBox
- Install:
npm install -g generator-symfony - Run:
yo symfony - Run: 'grunt build' once
- Run
grunt watchfor development, point your browser at app_dev.php - Run
grunt buildfor production deployment/access via app.php
-
--skip-installSkips the automatic execution of
bower,npmandcomposerafter scaffolding has finished.
generator-symfony is fork-friendly and you can always maintain a custom version which you npm install && npm link to continue using via yo symfony or a name of your choosing.
MIT license Copyright (c) 2013, Evolution 7.