Requirements
Let's get the basics in order first. We need a development setup with several pieces of software in place as well as a capable development server.
What you'll need locally
- PHP >= 8.2.0
- Composer (Installation)
- Latest LTS of Node.js.
- A capable editor like Visual Studio Code
| Extension name | Description |
|---|---|
| Stylelint | Handles style linting on save |
| PHP Intelephense | Helps you to import namespaces and functions. |
| Twig Language 2 | Will get you some twig shorthands in code like for.. if.. import.. etc. |
| Prettier | Lints Twig files on the fly. |
| wp-lemon snippets | Code snippet plugin for wp-lemon projects |
What you'll need on your staging/production server
- Ability to set the document root to /web
- PHP >= 8.2.0 With APCU/OPcache/Imagick
We recommend using Spinup WP for your production servers.