How to create a WordPress plugin using PHP and OOP, with Composer for package management, Symfony components for backend functionality, and Twig for frontend templating.

Mark Caggiano
4 min readMar 9, 2023

Here’s a step-by-step guide on how to create a WordPress plugin using PHP and OOP, with Composer for package management, Symfony components for backend functionality, and Twig for frontend templating.

--

--