Throughout your training, you will learn to design your code into reusable modules. These modules can then be packaged as dependencies, making them portable and modular. You then add the dependencies to your project, thereby adding them to your application.
You use a package manager.
What are the Benefits?
When your project depends upon a package/module/library, i.e. some external piece of software, a package manager loads the packages as well as each dependency into your local project. For example, let’s say you need Carbon in your project. Looking at the composer.json file for Carbon, it depends upon PHP and Symfony’s Translation package in the production version, and on PHPUnit in the development version. When you specify Carbon as a dependency in your project, Composer will load each of Carbon’s dependencies along with Carbon.
Another benefit to using a package manager is the update management. With a simple command, you are able to update all the packages in your project to ensure you have the latest files.
Lastly, a package manager saves time. It is an effective and efficient method for managing dependencies.
What will we use?
As a part of your local development environment, you will be installing:
- Composer – dependency manager for PHP
- Bower – package manager for front-end development
You will grow in this profession when you incrementally and systematically stretch yourself....bit-by-bit.
Total Lab Runtime: 02:44:38
- 1 The Keys to Your Local Development Environmentfree 21:21
- 2 Helper Workflow Appsfree 09:10
- 3 Install and Configure Gitfree 17:27
- 4 Xcodefree 01:59
- 5 Setting up SSH for GitHubfree 16:40
- 6 VirtualBox and Vagrantfree 09:27
- 7 LocalHost - Local by Flywheel (preferred)free 23:13
- 8 LocalHost - VVV (optional)free 09:13
- 9 What is a Package Manager?free 00:00
- 10 Composer - PHP Dependency Managerfree 10:49
- 12 Gulp - Task Runnerfree 07:00
- 13 Atom - Text Editorfree 07:28
- 14 Quick Navigation Shortcutsfree 11:04
- 15 PhpStorm - Installationfree 11:43
- 16 Wrap it Upfree 02:40