/grunt-php-smarty

Run php and smarty template with grunt

Primary LanguagePHP

grunt-contrib-clean Build Status

Run PHP and smarty with gruntjs.

Getting Started

This plugin requires Grunt ~0.4.0

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

Premise

install PHP 5.4.0+

It dependences PHP-Server,

more information:

http://php.net/manual/en/features.commandline.webserver.php

Steps

  1. cd %project_directory%
  2. npm install
  3. grunt
  4. Open browser and view this page: http://localhost:5000/?module=user&action=index