Gulp boilerplate for PHP project
Work on : http://127.0.0.1:8000/ OR http://localhost:3000/
Features
- JS
- Minify and Concatenate
- Enable ES2015 features using Babel
- CSS
- Compile SCSS
- Minify and Autoprefix
- Image
- Optimize Image files
- Web server for local development
- PHP built-in web server with BrowserSync
- Watch for file changes, and automatically recompile build and reload webpages.
- Copy static files and folders into the dist directory(out of
/src
folder).
- PHP
- Add PHP to Your Windows Path Variable
- Node.js
- Gulp Command Line Utility
npm install --global gulp-cli
- Clone the repo
git clone https://github.com/flirtman/php-gulp-jquery-scss-multi-language-boilerplate.git
- Install NPM packages
npm install
- Development
npm run dev
- Deployment
npm run publish