Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[WordPress] PSR-4 Autoloading WordPress Plugins
{
"name": "pressware/acme-plugins",
"description": "A demo plugin",
"autoload": {
"psr-4": {
"Acme\\": "src/",
}
},
// ...
}
{
"name": "pressware/acme-plugins",
"description": "A demo plugin",
"autoload": {
"psr-4": {
"Acme\\": "",
"Acme\\MicroPlugin\\": "MicroPlugin/src/"
}
},
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.