-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Changing description of autoloading to "The composer way" #1996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This only include minor changes.
|
||
A bundle can live *anywhere* as long as it can be autoloaded (via the | ||
autoloader configured at ``app/autoload.php``). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be kept IMO
I reverted the changes. I am sorry for the inconvenience as some changes were really wrong. I was under the impression that the app/autoload.php should remain unchanged and composer should be used in any case to load all files. |
@Sgoettschkes app/autoload.php can be changed if you need to add some custom stuff (like the intl fallback registered in the SE). But you will generally not need to configure custom stuff by hand |
@@ -22,8 +22,7 @@ on top of the previous one. | |||
.. tip:: | |||
|
|||
Autoloading is not managed by the framework directly; it's done by using | |||
Composer's autoloader (``vendor/autoload.php``), which is included in | |||
the ``src/autoload.php`` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still true (except that src/autoload.php
doesn't exists, it should be app/autoload.php
)
Changing description of autoloading to "The composer way"
Another great one Sebastian, and another closed issue - thanks! |
As mentioned by @weaverryan in #1176, there are some mentioned of the old
app/autoload.php
. I searched for those and replaced them with the correctvendor/autoload.php
.The two bigger changes including some more description of Composer and how it all works together. Both files are suggestions and I am happy to change them according to your feedback.