Composer
Upcoming SlideShare
Loading in...5
×
 

Composer

on

  • 544 views

Introduction Composer dependency management in PHP

Introduction Composer dependency management in PHP

Statistics

Views

Total Views
544
Views on SlideShare
544
Embed Views
0

Actions

Likes
2
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Composer Composer Presentation Transcript

  • Composer Sang Le - sang@go1.com.au Friday, September 6, 13
  • What is Composer • “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.” • http://getcomposer.org/doc/00-intro.md Friday, September 6, 13
  • That’s mean? • Scope is per project, not global • Resolves dependencies • Runs installation tasks Friday, September 6, 13 View slide
  • Why should we use it • Why do i need a package manager? • Why not using PEAR? • PEAR per global, not per project • How can we get exactly same version for other? (composer.lock) Friday, September 6, 13 View slide
  • Who’s using Composer • Zend Framework • Symfony • phpBB • Drupal 8 • ... more is coming Friday, September 6, 13
  • Packagist • Composer’s default repository • Put your open source libraries here • Great resource for well maintained PHP libraries Friday, September 6, 13
  • Statistics • Over 15000 packages listed on packagist.org • 60 millions packages installed since 2012-04-13 • https://packagist.org/statistics Friday, September 6, 13
  • Thankyou • http://getcomposer.org • http://packagist.org • http://symfony.com/video/26/in-depth-with- composer/English Friday, September 6, 13