Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tajidyakub/wp-dev-environment

Boilerplate for developing WordPress Themes and Plugins, utilizing Laravel Mix and Composer
https://github.com/tajidyakub/wp-dev-environment

bootstrap4 composer fontawesome5 sass wordpress-development wordpress-theme-development

Last synced: 21 days ago
JSON representation

Boilerplate for developing WordPress Themes and Plugins, utilizing Laravel Mix and Composer

Awesome Lists containing this project

README

        

# WordPress Dev Environment

## Intro

Local environment boilerplate for developing WordPress Themes using Bootstrap4, Fontawesome5, SASS or other Front End Javascript framework minus web and database server.

## Modules
- Laravel Mix
- Bootstrap4
- Fontawesome5
- jQuery and Popper.js as Bootstrap's deps
- SASS for extending Bootstrap or create own styles
- PHP_CodeSniffer for PHP Codes using composer
- Neutron PHP Standard https://github.com/Automattic/phpcs-neutron-standard

## Clone and Initialize

- Clone the repository

``` bash
$ git clone https://github.com/tajidyakub/wp-dev-environment.git
```

- Create and modify configuration file

``` bash
$ cd wp-dev-environment
$ mv .configuration.example.json .configuration.json
$ vim .configuration.json
```

- Initialize using the install script's included

``` bash
$ ./setup.sh
```

## Usage

- Laravel Mix (wrapper for Webpack) setup through webpack.mix.js
- Compiles and copy files to build and webfolder directory

``` bash
$ npm run dev # Compile sources and assets
$ npm run watch-poll # Monitor file changes
```

## Directories

``` shell
-- Project's dir
|-- build # Build folder
|-- plugins # Plugin's build folder
|-- themes # Theme's build folder
|-- src
|-- assets # for Images, Icons, Fonts, etc
|-- build
|-- webfolder
```