Skip to content

arrobeusa/generator-arro-symfony

Repository files navigation

Symfony2

generator-arro-symfony is a Yeoman Generator to scaffold Symfony2 projects with sensible defaults, common bundles and frontend tools.

It will create a new Symfony project, remove Assetic and replace it with either Gulp or Grunt.

Dependencies

Mandatory dependencies :

Optional dependencies :

What you can choose

Default workflow

  • Installs Symfony
  • Removes Assetic
  • Only if using grunt: (load-grunt-tasks)
  • Only if using grunt-typescript or grunt-coffeee: (grunt-uglify)
  • Only if using grunt-sass or grunt-compass: (grunt-css-min)
  • Only if using gulp (gulp-load-plugins)
  • Only if using gulp-ruby-sass (gulp-minify-css, gulp-plumber, gulp-rename, gulp-watch)
  • Only if using gulp-concat (gulp-uglify)
  • Starts the automatic execution of bower, npm and composer after scaffolding has finished.

Assets location

Assets are stored in the app/Resources/ folder :

  • app/Resources/scss
  • app/Resources/fonts
  • app/Resources/...

Bower dependencies (like Bootstrap 3.3) are installed in the app/Resources/libs/ folder, thanks to a custom .bowerrc file.

Getting Started

  • Install: npm install -g yo
  • Install: npm install -g generator-arro-symfony
  • Run: yo arro-symfony --force

Contribute

generator-arro-symfony is fork-friendly : you can maintain a custom version, in which you npm install && npm link so that you can still use it with yo arro-symfony, or with the name of your choice.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6