Package Managers Flashcards
What is a package manager?
It is a collection of software tools that automates the process of installing, upgrading, configuring, and removing software packages for a computer operating system in a consistent manner.
What is Symfony?
A PHP web application framework for MVC applications.
What is Bower?
Bower is a package manager for JavaScript libraries that allows you to define, version an retrieve your dependencies.
Where does Bower keep track of packages?
In your manifest file, bower.json
Is Bower optimized for front end or back end?
Front-end
What is Composer?
Composer is an application-level dependency manage for PHP that provides a standard format for managing dependencies of PHP and required libraries.
Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.
Composer is what kind of package manager?
A PHP package manager.
What problem does Composer solve?
1) you have a project that depends on a number of libraries.
2) Some of those libraries depend on other libraries.
3) You declare the things you depend on
4) Composer finds out which versions of which packages need to be installed, and installs them/downloads them into your project.
How do you declare dependencies?
Create a composer.json file which descripes the projects depencies, such as:
“require”:
“monolog/monolog”: “1.2.*”
What are the benefits of using a package manager?
Using a package manager standardizes directory organization and updating of applications, enhances interconnectivity between between components.
What are the benefits of using a package manager?
Using a package manager standardizes directory organization and updating of applications, enhances interconnectivity between between components by maintaining dependencies and version information to prevent mismatches.