An open API service indexing awesome lists of open source software.

https://github.com/keellyp/php-template

A PHP template to start an awesome project with gulp.js
https://github.com/keellyp/php-template

gulp gulp-plugin gulpfile php php-template routing template template-project

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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

## Prerequisites
You need to install [Node.js](https://nodejs.org/en/)

### 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](http://kellyphan.fr)

## Licence
This repository is under MIT Licence.