All Projects → bezoerb → generator-sf

bezoerb / generator-sf

Licence: MIT license
Yeoman generator that scaffolds out a Symfony PHP app including Browsersync, various CSS preprocessors, jspm, webpack, browserify and Service Worker

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to generator-sf

generator-veams
Scaffold modern frontend web apps or web pages with a static site generator (Assemble or Mangony), Grunt and/or Gulp, Sass and Bower. Use modern frameworks like Bourbon, Bootstrap or Foundation and structure your JavaScript with ES Harmony support.
Stars: ✭ 45 (+221.43%)
Mutual labels:  gulp, grunt, yeoman
React Dynamic Route Loading Es6
Auto chunking and dynamic loading of routes with React Router and Webpack 2
Stars: ✭ 297 (+2021.43%)
Mutual labels:  offline, service-worker, hmr
Generator Fountain Angular2
Yeoman 'fountain' generator to start a webapp with Angular 2
Stars: ✭ 84 (+500%)
Mutual labels:  gulp, yeoman
Generator Fountain Angular1
Yeoman 'fountain' generator to start a webapp with Angular 1
Stars: ✭ 95 (+578.57%)
Mutual labels:  gulp, yeoman
Smart-Text-Editor
The text editor that requires only a browser and a keyboard!
Stars: ✭ 60 (+328.57%)
Mutual labels:  offline, service-worker
systemjs-tools
(dev)tools for working with SystemJS
Stars: ✭ 41 (+192.86%)
Mutual labels:  hmr, jspm
Phplint
Lightning fast concurrent PHP linter for Node.js, Grunt & Gulp! ⚡️
Stars: ✭ 62 (+342.86%)
Mutual labels:  gulp, grunt
feweekly
⭐ 前端周刊,让你在前端领域跟上时代的脚步,深度和广度不断精进
Stars: ✭ 34 (+142.86%)
Mutual labels:  gulp, grunt
Generator Gulp Express Webapp
Yeoman generator for building a simple web app using express + gulp. This project contains proper project and build structure to be easily extensible.
Stars: ✭ 8 (-42.86%)
Mutual labels:  gulp, yeoman
firefighter-demo
🚨 Demo to improve an existing firefighter app by making it queue tasks offline
Stars: ✭ 68 (+385.71%)
Mutual labels:  offline, service-worker
gulp-jspm-build
Gulp plugin for jspm.
Stars: ✭ 22 (+57.14%)
Mutual labels:  gulp, jspm
Kotsu
✨ Clean, opinionated foundation for new projects — to boldly go where no man has gone before
Stars: ✭ 48 (+242.86%)
Mutual labels:  grunt, jspm
Generator Buildabanner
Yeoman workflow to get a standard or DoubleClick banner started quickly.
Stars: ✭ 49 (+250%)
Mutual labels:  gulp, yeoman
Generator Fountain Webapp
Yeoman 'fountain' generator to start a webapp
Stars: ✭ 985 (+6935.71%)
Mutual labels:  gulp, yeoman
Grunt2gulp.js
Converts Grunt task files, gruntfile.js, to Gulp files.
Stars: ✭ 64 (+357.14%)
Mutual labels:  gulp, grunt
Docker Compose Nodejs Examples
Finally some real world examples on getting started with Docker Compose and Nodejs
Stars: ✭ 944 (+6642.86%)
Mutual labels:  gulp, grunt
Barekit
A bare minimum responsive framework
Stars: ✭ 201 (+1335.71%)
Mutual labels:  gulp, grunt
jscrambler
Monorepo of Jscrambler's Javascript Client and Integrations
Stars: ✭ 118 (+742.86%)
Mutual labels:  gulp, grunt
Assemble
Community
Stars: ✭ 3,995 (+28435.71%)
Mutual labels:  gulp, grunt
Hoverboard
Conference website template
Stars: ✭ 935 (+6578.57%)
Mutual labels:  gulp, service-worker

generator-sf

NPM version Build Status Dependency Status Download Coverage Status

This Yeoman generator scaffolds a symfony app with full featured frontend grunt/gulp tooling. Just scaffold your app and you are ready to go.

Installation

First, install Yeoman and generator-sf using npm (we assume you have pre-installed node.js).

Install dependencies

npm install -g yo grunt gulp

To install generator-sf from npm, run:

npm install -g generator-sf

Then generate your new project:

yo sf

Features

  • Symfony framework
  • Twig templating engine
  • Assetic removed
  • Browsersync dev/prod server with livereload
  • Choose the build tool which fits your needs
  • Choose the CSS preprocessor which fits your needs
  • Choose CSS Framework
  • Choose Javascript module loader
  • File revving
  • Image optimization
  • Critical (Extract & Inline Critical-path CSS)
  • uncss (Automatically strip off unused css)
  • Service Worker
  • Organized Gruntfile with load-grunt-config
  • Preconfigured testing Stack: Karma, Mocha & Chai
  • Phpunit

Things to come

  • Feel free to add feature requests ;)

Environments

The browsersync server uses it's own symfony environment to prevent asset loading conflicts with the environment loaded via apache2.

Directory structure

The directory structure is based on the Symfony Best Practices

Dev

  • Assets are located in app/Resources/public
  • Templates can be found in app/Resources/views

Production

  • All production assets are located in the web folder.
  • Run grunt build or gulp build to compile, optimize and rev your assets for production.

Changelog

See CHANGELOG.md

License

MIT

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Ben Zörb

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].