This project will include:
- Composer – Dependency Manager for PHP
- Kint – a modern and powerful PHP debugging helper
- Whoops – PHP errors for cool kids
It will give you a starting point to work along with me in all of the videos here on Know the Code.
This lab is very similar to the WordPress Sandbox Plugin, except that there is no plugin and no WordPress.
You will need to have your local development machine setup and ready to go in order to do this lab. You’ll need Composer, local web server, and an editor. If your machine is not ready, check out the guided series for Mac or Windows.
Don’t repeat yourself. Don’t repeat yourself. Don’t repeat yourself.
Total Lab Runtime: 00:39:24
In this lab, you will build a custom WordPress Starter plugin, one which could be the starter for your projects. You'll install Composer, Kint, and Whoops. You'll look at file structure and how WordPress' Plugin API recognizes which file is the plugin's main file. You'll look at PHP DocBlocks and more. This plugin is one you will use throughout your training here on Know the Code. Let's get started.
Check out the Local Development Environment & Workflow for more hands-on labs, insights, Docx, and more.