A generator for Yeoman.
What is Yeoman?
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
$ npm install -g yo
PHP Frontend Generator
Generate static html files using php with the power of that nice gentleman.
- Local Connect web-server
- Live reloading
- HTML5 Boilerplate
- Integration of PureCSS, Bootstrap or Foundation
- Compiling PHP templates to HTML
- Compiling Sass and Less
- RequireJS or Browserify
- JS testing with Mocha, Qunit, Jasmine or DalekJS
- Plato Reports
- CSS and JS minification
- Strip unused CSS with grunt-uncss
- Image optimization
- HTML and JS linting
- Custom Modernizr build
To install generator-frontend-php from npm, run:
$ npm install -g generator-frontend-php
To make this work you need the
php-cgi binaray in your PATH.
Finally, initiate the generator:
$ yo frontend-php
php-cgi binary can be installed via Homebrew by tapping the
brew tap homebrew/dupesbrew tap josegonzalez/homebrew-phpbrew install php54
sudo apt-get install php5-cgi