Poll: Do you use Composer? You do not have permission to vote in this poll. |
|||
Yes, I use it all of the time | 17 | 53.13% | |
Yes, but not to start a new project | 2 | 6.25% | |
I don't currently use but am open to it | 5 | 15.63% | |
No, I don't use Composer at all | 8 | 25.00% | |
Total | 32 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Poll: Do you use Composer with CI4? |
(04-14-2022, 03:51 PM)John_Betong Wrote: @kilishan,Composer has long been the industry standard for development. The link you provided is not only from 2013, but also does not defend the point of view. Your approach works as long as it's primitive. Let's say your project needs a library that depends on other libraries. All dependencies of this library are described in composer.json (because no one uses git submodules). Now you have to manually find all the dependencies, install, register in the autoloader and control their versions. You use git, someone else uses zip, and as a result, CI has to maintain its own classloader and store third-party libraries inside the kernel directory. For example, it would be possible to use a third-party templating engine, libraries for working with email, queues, schedulers, through composer dependencies. But you use git, and someone else uses zip... |