Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Managing PHP Dependencies with Composer

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Managing PHP Dependencies with Composer

Intro to Composer for PHP, Ottawa PHP Meetup - April 1, 2015

Avatar for Chris Taggart

Chris Taggart

April 01, 2015
Tweet

Other Decks in Programming

Transcript

  1. Composer • Command-line utility with which you install packages. •

    Very similar to “npm” or Bundler • Works on *nix, OS X, Windows, PHP 5.3.2+
  2. Easy to use third-party code <?php $log = new Monolog\Logger('AppLog');

    $log->pushHandler(new Monolog\Handler \StreamHandler('app.log', Monolog \Logger::WARNING)); $log->addWarning('Foo');