Gulp boilerplate for PHP project
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/josh2kv/gulp-with-php-boilerplate.git
- Install NPM packages
npm install
- Development
npm run dev
- Deployment
npm run publish