What is a composer?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
44 views
With the decision to study VK API was faced with the fact that plugins in the repository are stored in a special way and are obtained the same. What is the solution? Isn't it easier to download the files from the source and throw them in the project? These sources are filled in a separate place?
How to use without composer?
by | 44 views

2 Answers

0 like 0 dislike
What is a composer?

Composer is a package Manager application layer for PHP programming language that provides tools for managing dependencies in PHP application.

© wikipedia


Isn't it easier to download the class files and drop them into the project?

But if you downloaded the library will depend on 10 other libraries, and each of these libraries, in turn, will depend on more? Or 100? Just?

How to use without composer?

No way. Forget about it. In 2018 the only sensible option is to learn to use composer.
by
0 like 0 dislike
In simple words, suppose you have a DR and your mother lays the table for you and your homies, you decide what your holiday will suit some dishes. To prepare these dishes you need the products for each dish can be different, and they can be sold in different stores. Oh yeah, mom didn't give you a list of the products she gave you a list of dishes, because you're an adult "developed by information systems" and she hopes that you yourself will understand it. So you run around the shops in search of products simultaneously fumbling Google, which is one dish for 100 or more recipe options(versions). And here you have completed your maneuver, come home, and Mama throws you an exception saying that cheese is not suitable for this version of the dish, and about the sausage you are not forgotten.

But it could be just so, you write it in console composer install and in just a few minutes from you doorstep you receive the courier with a huge number of packages are required for all meals, and you let him in the house, she kindly puts all the packages and tells her mother where that is to accelerate

Mom happy, too, you spent only 5 minutes of your time and most importantly all the products comply with the recipes and you can start cooking))
by

Related questions

0 like 0 dislike
1 answer
asked Jun 11, 2019 by romalu
0 like 0 dislike
4 answers
0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
asked Apr 5, 2019 by SonkoDmitry
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
35,405 users