An open API service indexing awesome lists of open source software.

https://github.com/cedaro/structure

Examples demonstrating methods for structuring WordPress plugins.
https://github.com/cedaro/structure

Last synced: about 1 year ago
JSON representation

Examples demonstrating methods for structuring WordPress plugins.

Awesome Lists containing this project

README

          

# Structure

An example plugin demonstrating a method for structuring WordPress plugins using Composer and version 2.0+ of the [WP Plugin Library](https://github.com/cedaro/wp-plugin).

Take a look through `composer.json` to see how namespaces are prefixed using [Strauss](https://github.com/BrianHenryIE/strauss).

The `Container`, `Plugin`, and `ServiceProvider` classes show examples of using those various pieces in your own plugin to add more structure, but they're completely optional.

Use as much or as little as you want from the plugin library.