Skip to content

A PHP template to start an awesome project with gulp.js

License

Notifications You must be signed in to change notification settings

keellyp/PHP-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-template

A dynamic template for PHP, HTML, CSS, JS run with Gulp

Prerequisites

You need to install Node.js

Install

Download the repository then go to the folder builder in your terminal.

cd .../PHP-template/builder

Once you are in there, you have to install node-modules

npm install

You may need to install with sudo if you are a macOS user

Compatibily

  • Gulp.js
  • PHP 7.1.0
  • Javascript
  • HTML5 / CSS3

Features

  • Sourcemaps
  • Watchers
  • Notifications

Tasks

  • "style" allows to compile the SASS into CSS, autoprefix it, minified and replace into the dist folder.
  • "javascript" concatenates all the javascript files into one, minified it and replace into the dist folder
  • "images" minifies all the images and place it on dist folder.
  • "fonts" moves all the fonts into dist folder
  • "watch" watches the changes in your files

Author

Kelly Phan

Licence

This repository is under MIT Licence.