/starter-plugin

Object-oriented starter plugin for WordPress with a lightweight dependency injection container.

Primary LanguagePHP

Starter Plugin

Object-oriented starter plugin for WordPress with a lightweight dependency injection container.

Features

  • Dependency Injection Container with Autowiring
  • PSR-4 class Autoloader
  • Automatically generated plugin properties
  • No global variables
  • No singletons or static methods

Dependency Injection Container

The dependency injection container used in this project is largely based on Dice with the addition of PHP 5.6 support and some extra class constants. Please see this article for complete documentation and usage instructions.