This repo is developed from the starter plugin for KnowTheCode.io. Check out the Let’s Build a WordPress Starter Plugin lab, where you will build this custom plugin with Tonya as she explains each step.
This plugin includes the following features:
- Composer - Dependency Manager for PHP
- Kint - Awesome package that helps you to debug - forget
var_dump
andprint_r
. You are going to love Kint. - Whoops - Oh man, you will wonder why this isn't built into PHP. When an error occurs, this displayer replaces out the PHP orange table and gives you information you can actually use.
- Download it.
- Put into your
wp-content/plugins/
folder - Extract it
- Go into the new folder
- Run
composer install
in terminal to bring in the dependencies and install Composer locally.
Installation from GitHub is as simple as cloning the repo onto your local machine. To clone the repo, do the following:
- Using PhpStorm, open your project and navigate to
wp-content/plugins/
. (Or open terminal and navigate there). - Then type:
git clone https://github.com/webjen/wp-dev-helpers.git
. - Go into the new folder
cd dev-helpers
- Run
composer install
in terminal to bring in the dependencies and install Composer locally.
If you make changes to the composer.json
file, make sure to run composer update
in the plugin folder.
All feedback, bug reports, and pull requests are welcome.