DEV Community

loading...
Cover image for Modern WordPress Website (MWW)

Modern WordPress Website (MWW)

luc45 profile image Lucas Bustamante Originally published at dev.to Updated on ・1 min read

I've been a WordPress developer for as long as I can remember.

In the last couple of years, I bursted my WordPress bubble and got in touch with modern PHP, such as Laravel and stand-alone projects following PSR-4, SOLID, etc, read several books of PHP and other programming languages.

I've ported this knowledge back to WordPress by creating the open-source project called Modern WordPress Website (MWW).

MWW is a modern way of building WordPress websites.

Simple, unopiniated and powerful, it's a great skeleton to bootstrap a new WordPress project. Here's some of it's features:

  • Simple route engine with native WordPress functions.
  • Fully featured MVC.
  • Modern, yet simple PHP.
  • PSR-4 Autoloading.
  • Integrated with Acceptance, Functional, Integration and Unit tests (Thanks to Luca Tume, from wp-browser)
  • Installs as mu-plugin

Modern WordPress Website (MWW) is great for experienced PHP developers using WordPress, and for intermediate developers who want to take their skills to the next level.

Take it for a spin, you'll be surprised:

GitHub logo Luc45 / ModernWordPressWebsite

Modern WordPress Website (MWW) aims to bring a good OOP experience for working with WordPress.

Modern WordPress Website (MWW)

Modern WordPress Website (MWW) is a disruptive way of building a WordPress website.

It couples with WordPress as a mu-plugin to provide a rich OOP environment to build a clean and solid application.

Highlights

  • Modern PHP
  • PSR-4
  • Blade Templates
  • Service Providers
  • DI Container (di52)
  • Automated tests (wp-browser)

Who is this for

This is for experience developers working on projects that they have full control over, who plan to use the least amount of plugins possible. If you plan to use plugins that depend on the Template Structure for overrides such as The Events Calendar or WooCommerce, you might not want to use MWW, since it doesn't use the themes folder at all.

Installation

MWW is installed as a mu-plugin. This way we intercept WordPress requests at the earliest stage possible and have more control over the application.

To get started in a…

Discussion (1)

pic
Editor guide
Collapse
williamgerlach profile image
William Gerlach

Really amazing information. Thanks