Your SlideShare is downloading. ×

Composer

374
views

Published on

Introduction Composer dependency management in PHP

Introduction Composer dependency management in PHP


0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
374
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Composer Sang Le - sang@go1.com.au Friday, September 6, 13
  • 2. 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
  • 3. That’s mean? • Scope is per project, not global • Resolves dependencies • Runs installation tasks Friday, September 6, 13
  • 4. 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
  • 5. Who’s using Composer • Zend Framework • Symfony • phpBB • Drupal 8 • ... more is coming Friday, September 6, 13
  • 6. Packagist • Composer’s default repository • Put your open source libraries here • Great resource for well maintained PHP libraries Friday, September 6, 13
  • 7. Statistics • Over 15000 packages listed on packagist.org • 60 millions packages installed since 2012-04-13 • https://packagist.org/statistics Friday, September 6, 13
  • 8. Thankyou • http://getcomposer.org • http://packagist.org • http://symfony.com/video/26/in-depth-with- composer/English Friday, September 6, 13