This repo is the starter project for KnowTheCode.io. Come check out the Let’s Build a Non-WordPress Sandbox lab, where you will build this project with Tonya as she explains each step.
You will use this plugin to build labs with us and test constructs in the Docx.
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
Sites
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
Sites
. (Or open terminal and navigate there). - Then type:
git clone https://github.com/KnowTheCode/Non-WordPress-Sandbox
. - Go into the new folder
- Run
composer install
in terminal to bring in the dependencies and install Composer locally.
If you have the old version of Kint, do the following:
- Change the dependency in your
composer.json
file to"kint-php/kint" : "^1.0",
- Run
composer update
in terminal or Git Bash to update all of the dependencies to the latest versions, including Kint.
That's it.
All feedback, bug reports, and pull requests are welcome.