News for hackers. Stuff that matters.
Re:What, why and how of PHP Composer by krapp on Thursday June 14, 2018 @05:02PM (#17315323)
>There is a lot more things you can do with it but this is the most basic example.

One useful feature is custom commands[0].

[0]https://getcomposer.org/doc/articles/scripts.md#writing-cust...

Also, regarding autoloading, I find that once you get used to the structure of PSR-4, adding files to a PSR-4 namespace[1] and just having autoloading work is incredibly helpful. The only pain point is dealing with namespaces everywhere.

[1]https://getcomposer.org/doc/04-schema.md#psr-4

There are no comments on this comment yet.