-
-
Save tommcfarlin/c7703a3b7c27594918f0af7a2a7d5fe4 to your computer and use it in GitHub Desktop.
[WordPress] PSR-4 Autoloading WordPress Plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "pressware/acme-plugins", | |
"description": "A demo plugin", | |
"autoload": { | |
"psr-4": { | |
"Acme\\": "src/", | |
} | |
}, | |
// ... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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