Replies: 1 comment 2 replies
-
Not really; because you're still getting all the autoloading and namespacing handled cleanly then; when you install/build your app using composer, it handles all this for you even though it may not be installed on the server.
No it isn't! It does not eliminate a lot of steps! It doesn't eliminate steps for us as maintainers; what might be one simple step extra step for you is a lot of extra steps for us. You're asking us to provide all the dependencies, scope everything for namespacing in case there are version conflicts with any other libraries that you might have, bundle everything up into a single package (including optional libraries?!?), provide and maintain our own autoloader, test the builds, etc. It was necessary to do this in the days before composer, and it took a full 8-10 hours of work building every release, and that was with automated scripts that I ran to create those builds.
That's why the your composer.json on your local dev box should have a |
Beta Was this translation helpful? Give feedback.
-
Composer is not always available for people, for example due to server restrictions on shared servers. Requiring composer makes this software unusable for some people. Please provide another way of installing.
And yes, I know it's possible to run composer locally and then upload the files to the server but this eliminates the benefit of composer anyway and basically is just an extra step to achieve something that could be achieved easier by making other installation options available, not to mention that a local composer may think certain dependencies are met that are on the local system but aren't on the server.
Beta Was this translation helpful? Give feedback.
All reactions