Getting to know composer - (PHP)

566 views

Published on

Acts as an introduction to Composer and PHP dependency management. Presented at DrupalCampOhio 2013.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
566
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Getting to know composer - (PHP)

  1. 1. Getting to know Composer Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  2. 2. Quickly, about me Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal Consultant! Senior Engineer! Developer! Senior Developer! Director of Tech! Hosting Manager! Support Tech
  3. 3. 2014: Digital Director Lunne Marketing Group Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  4. 4. Not a Drupal guru. Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  5. 5. The evolution of library code newborn teenager young ! professional skilled vet Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  6. 6. The evolution of frameworks Build it each time Find the right big-@ss framework Modular, standard pieces CodeIgniter / Kohana / Drupal Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal Misc. Symfony2 / Laravel / Drupal 8
  7. 7. D.R.Y. applied to libraries • codeigniter-oauth2 • fuel-oauth2 • … Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  8. 8. Drupal structure: 7 vs 8 Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal Drupal 7 Drupal 8
  9. 9. PHP FIG • FIG = PHP Framework Interop Group • The idea behind the group is for project representatives to talk about the commonalities between our projects and find ways we can work together. Our main audience is each other, but we’re very aware that the rest of the PHP community is watching. If other folks want to adopt what we’re doing they are welcome to do so, but that is not the aim. Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  10. 10. PSR-0 Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  11. 11. Installing Composer Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal http://getcomposer.org
  12. 12. Wait, *.phar? Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal The phar extension provides a way to put entire PHP applications into a single file called a "phar" (PHP Archive) for easy distribution and installation.
  13. 13. composer.json Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  14. 14. Packagist Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  15. 15. Satis Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  16. 16. Directly with VCS Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  17. 17. What, even PEAR? Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  18. 18. Self Update Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  19. 19. Install/Update Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  20. 20. Being specific Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  21. 21. Best of Class Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  22. 22. Let’s Play Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal
  23. 23. Thanks • @mavrck • slideshare.net/billcondo • billcondo@gmail.com Bill Condo @mavrck Drupal Camp Ohio 2013Composer + Drupal

×