Do you use composer?

  • Thread starter Thread starter D
  • Start date Start date

D

Madly Diligent
Joined
Oct 29, 2010
Messages
6,862
Reaction score
145
FP$
1,418
Do you use composer when starting a new project to manage PHP dependencies?

Personally, I like to keep my usage of 3rd party libraries to a minimum unless it's something like paypal, stripe or some kind of auth (Steam auth for example). So I don't use composer because I don't have a real need for it.
 
There's more to Composer then installing third party sources, it's a great developer tool, example creating an autoloader to load in say a folder containing classes, to follow the PSR-4 standards to allow PHP namespaces etc.

Documentation: https://getcomposer.org/doc/04-schema.md#psr-4

Personally, I like to keep my usage of 3rd party libraries to a minimum unless it's something like paypal, stripe or some kind of auth (Steam auth for example).
It's kind of like a way of pulling in projects to help you achieve the project you want.
"Let's say you were to use Laravel, it's a framework which contains authentication, queues and other awesome stuff out of the box, the reason for this is so when you are working on your project, you don't have to worry about the "boring" stuff and you can work on the parts you want to." - Taylor Otwell

If it's what I'm thinking it is, then no. I don't like using third party applications anyway in case of viruses, etc.
Did you search Composer before posting this?😵
 
There's more to Composer then installing third party sources, it's a great developer tool, example creating an autoloader to load in say a folder containing classes, to follow the PSR-4 standards to allow PHP namespaces etc.

Documentation: https://getcomposer.org/doc/04-schema.md#psr-4

Personally, I like to keep my usage of 3rd party libraries to a minimum unless it's something like paypal, stripe or some kind of auth (Steam auth for example).
It's kind of like a way of pulling in projects to help you achieve the project you want.
"Let's say you were to use Laravel, it's a framework which contains authentication, queues and other awesome stuff out of the box, the reason for this is so when you are working on your project, you don't have to worry about the "boring" stuff and you can work on the parts that make the project interesting." - Taylor Otwell

If it's what I'm thinking it is, then no. I don't like using third party applications anyway in case of viruses, etc.
Did you search Composer before posting this?😵
 
I get what composer does and agree with it's uses, but it's not the thing for me. I'm one that likes to reinvent the wheel, because you know, nothing is perfect. Yes I'm one of those guys... would rather spend the time to write a lot when the others install a few packages then get a pat on the back and a pay raise for their troubles. At least I know what is going on under the hood when something "breaks", or if I need to modify the system for horizontal scale. Oh wait that dependancy can only scale vertically, too bad.

Sorry that might have sounded harsh. For most people using Composer to do stuff, it's fine, for me.. nope.
 
Back
Top Bottom