[web-php] master: Enhancement: Document namespace mapping
| From: | Andreas Möller via GitHub | Date: | Sat, 09 Jul 2022 10:15:59 +0000 |
| Subject: | [web-php] master: Enhancement: Document namespace mapping | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-30315@lists.php.net to get a copy of this message | ||
Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-07-09T12:09:37+02:00
Commit: https://github.com/php/web-php/commit/54d1bc22a627e987a89853d8215ede982a338d4a
Raw diff: https://github.com/php/web-php/commit/54d1bc22a627e987a89853d8215ede982a338d4a.diff
Enhancement: Document namespace mapping
Closes GH-625.
Changed paths:
M composer.json
Diff:
diff --git a/composer.json b/composer.json
index 539c0f7ab..864b395fd 100644
--- a/composer.json
+++ b/composer.json
@@ -10,6 +10,11 @@
"require": {
"php": "^7.3"
},
+ "autoload": {
+ "psr-4": {
+ "phpweb\\": "src/"
+ }
+ },
"config": {
"platform": {
"php": "7.3.19"