In this lab, you will build a non-WordPress Sandbox site, which you will use for testing PHP, jQuery, and JavaScript. It is a handy sandbox when you are not interested in running WordPress. You’ll use it throughout the Docx and in several labs.
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.
Prerequisites
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.
Hands off the keyboard. Web development starts by thinking first, then planning it out, and then coding it.
Episodes
Total Lab Runtime: 00:39:24
- 1 Lab Introductionfree 06:25
- 2 Spin Up the Web Serverfree 01:24
- 3 Folder Structurefree 03:01
- 4 Setup Composer in Your Pluginfree 14:47
- 5 Introduction to Whoopsfree 10:02
- 6 Introduction to Kintfree 03:45