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.
- Host: GitHub
- URL: https://github.com/cedaro/structure
- Owner: cedaro
- Created: 2016-04-22T17:32:36.000Z (over 10 years ago)
- Default Branch: strauss
- Last Pushed: 2025-03-23T13:25:13.000Z (over 1 year ago)
- Last Synced: 2025-03-23T14:27:27.860Z (over 1 year ago)
- Homepage:
- Size: 14.6 KB
- Stars: 25
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.