React Webpack Php Starter screenshot

React Webpack Php Starter

Author Avatar Theme by Brawlins
Updated: 7 Apr 2017
114 Stars

A boilerplate React application that I use to start new projects. It uses webpack to build the JavaScript bundle file and PHP for the back-end API.

Categories

Overview

The react-webpack-php-starter is a boilerplate React application that utilizes webpack for bundling the JavaScript bundle file and PHP for the back-end API. It is specifically designed to use Apache as the server instead of a node server like Express. This setup is useful for projects that require PHP for user authentication.

Features

  • Bundling and minification using webpack
  • ECMAScript 2015 (ES6) syntax via Babel
  • Linting
  • Separate builds for development and production
  • Bootstrap styles
  • SVG icons
  • PHP index file and back-end API
  • Automatic browser reloading using Browsersync

Installation

  1. Clone or download the react-webpack-php-starter repository.
  2. Run npm install to install all the required node modules.
  3. Start development server: npm run dev
  4. Build for production: npm run build

Summary

The react-webpack-php-starter is a boilerplate React application that provides a convenient setup for projects using PHP for user authentication. It utilizes webpack for bundling and minification of JavaScript files, while PHP is used for the back-end API. With features like ECMAScript 2015 syntax, linting, separate builds for development and production, Bootstrap styles, SVG icons, and automatic browser reloading, this boilerplate is a great starting point for React projects involving PHP.