Join Drew Falkman for an in-depth discussion in this video Installing Composer, part of MVC Frameworks for Building PHP Web Applications.
- View Offline
- Now that we have PHP all set up,…the last thing we're gonna need to do is to get composer…and install it for use directly at the command line.…If you're lucky enough to be on a Windows machine,…this is as simple as going…to the getcomposer.org website…and using the setup.exe file.…It will automatically install it…so you can use it at the command line.…There also is a way to manually do it,…if for some reason you don't want to run the executable.…On Mac or Linux, we're gonna use cURL to get our data,…so we're going to go ahead and download it.…
curl -sS…https://…getcomposer.org/installer php…so that should download it.…If you don't have cURL, you could use this command:…php -r…"readfile, same location,…https, installer, php…and that would do basically the same thing…which downloads it onto our computer.…
All right, so now we have it all set up,…so all we need to do is move,…sudo mv composer.phar…to /usr/local/bin/composer…That should install it.…And, now, if you type in composer,…you should see all of the commands.…
- Why use a framework?
- Introducing MVC-framework concepts
- Examining each framework's components
- Setting up the software
- Walking through sample apps built in each framework
- Comparing frameworks
Skill Level Intermediate
1. About PHP Frameworks
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.