Skip to content
Snippets Groups Projects
Verified Commit f687d40d authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

chore: improve composer package definition and readme

parent e692c5cc
No related branches found
No related tags found
2 merge requests!21.x,!1Draft: Basic implementation of plugin initializer
......@@ -204,6 +204,16 @@ Classes that extend `AbstractHookProvider` are automatically "plugin aware."
This package is heavily inspired by Cedaro's [`wp-plugin`](https://github.com/cedaro/wp-plugin/)
and Alain Schlesser's [`basic-scaffold`](https://github.com/mwpd/basic-scaffold).
## Roadmap
1. Add support for path based hook providers discovery similar to Symfony's [controllers resolving](https://github.com/symfony/demo/blob/3787b9f71f6bee24f1ed0718b9a808d824008776/config/routes.yaml#L15-L17)
1. Improve `wpdesk/wp-basic-requirements` library. This is not related directly to this project,
but internals could be rewritten.
1. Scrap plugin data from plugin comment
1. Allow hooks to be called from private and protected methods (in PHP <8.1)
1. Support *bundles* of hook providers. This should be easy to extend plugin capabilities with
shared functions, preserving minimal init system
## License
Copyright (c) 2023 WPDesk
......
......@@ -4,10 +4,19 @@
"minimum-stability": "stable",
"license": "MIT",
"type": "library",
"homepage": "https://gitlab.wpdesk.dev/wpdesk/wp-init",
"keywords": [
"wordpress"
],
"authors": [
{
"name": "WPDesk",
"homepage": "https://wpdesk.net"
},
{
"name": "Bartek Jaskulski",
"email": "bjaskulski@protonmail.com"
"email": "bjaskulski@protonmail.com",
"role": "Developer"
}
],
"autoload": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment