News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Easy Package Management With Composer
June 25, 2012 @ 12:05:18

On NetTuts.com today there's a new tutorial introducing you to one of the more popular package management solutions for PHP, Composer. This new article gives you the basics of installing and using this very handy tool.

Let's face it: PHP has had a rocky history with package management, and as a result, it is pretty rare to find a developer who actively uses systems like PEAR. Instead, most developers have chosen their favorite framework, which has code specifically written for it to handle various things, like DB interaction, ORM's, OAuth, Amazon S3 integration, etc. The downside here, though, is that switching frameworks (or returning to not using a framework at all) can be a nightmare, as it involves relearning everything to use brand new tools - and that is no easy task. Well, Composer can fix that!

He includes the whole process - getting the latest version, installing the PHAR version and getting a sample composer.json defined to pull in the external libraries. He also includes a "Real World" section talking about integration with Facebook libraries and keeping your installation up to date.

0 comments voice your opinion now!
package management composer introduction


blog comments powered by Disqus

Similar Posts

Nelm.io Blog: Composer: Part 1 - What & Why

Snipe.net: Failing Well: Managing Risk in Web Applications

SitePoint PHP Blog: How to Use PHP Namespaces, Part 1: The Basics

IBM developer Works: PHP and RSS: Getting it together

Padraic Brady's Blog: Zend Framework: Surviving The Deep End Book - Chapters 4, 5, 6, 7 and Appendix


Community Events





Don't see your event here?
Let us know!


introduction zendserver unittest series language community symfony laravel interview api install library deployment framework podcast package tips opinion update release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework