- Add these files to the root of your project.
- Run gruntfrom the command line.
This is made possible with the magic of grunt-php.
grunt from the command line.This is made possible with the magic of grunt-php.
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| php: { | |
| options: { | |
| keepalive: true | |
| }, | |
| watch: {} | |
| } | |
| }); | |
| // Actually running things. | |
| grunt.loadNpmTasks('grunt-php'); | |
| // Default task(s). | |
| grunt.registerTask('default', ['php']); | |
| }; | 
| { | |
| "name": "Example", | |
| "version": "0.0.0", | |
| "description": "Dunno", | |
| "repository": { | |
| "type": "git" | |
| }, | |
| "devDependencies": { | |
| "grunt": "^0.4.5", | |
| "grunt-php": "^1.1.1" | |
| } | |
| } | 
This is a Solutions Log post.