A generator for Yeoman with php support
Want to see pretty graphs? Log in now!
npm install generator-frontend-php
|3||downloads in the last day|
|7||downloads in the last week|
|90||downloads in the last month|
|Last Published By|
|Version||0.1.3 last updated 2 months ago|
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
- JS testing with Mocha, Qunit or Jasmine
- 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/dupes brew tap josegonzalez/homebrew-php brew install php54
sudo apt-get install php5-cgi