News Feed
Sections




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

Brandon Savage:
What's in your Composer file?
August 14, 2014 @ 10:36:24

In his latest post Brandon Savage asks you, the Composer users out there, if you know exactly what's in your "composer.json" file. If you're not a Composer user already, he also introduces you to the tool and what it can do for you and your applications.

During the recent Crafting Code Tour, Paul Jones would ask people who was currently using Composer. It was a rare night that more than half an audience raised their hands, meaning that the best invention in the PHP world in the last three years is still not being widely used by everybody. I want to share a bit about how to get started with Composer, and why you should care in the first place.

He starts with the brief overview of what Composer is and how it works with the configuration file to pull in packages and make them available via autoloading. He shows how to download and install the tool and includes a simple "composer.json" file that installs the Monolog package. He also includes his own answer to the "what's in your file" question, showing a more advanced configuration requiring several packages and defining custom autoloading and executable directories.

0 comments voice your opinion now!
composer package introduction example composerjson

Link: http://www.brandonsavage.net/whats-in-your-composer-file/

blog comments powered by Disqus

Similar Posts

Reddit.com: Suggestions for a University Talk Covering a PHP Introduction

echolibre Blog: The Capsule CRM API and PHP

Chris Hartjes' Blog: Zend_Application and Zend_Acl

MaltBlue.com: Zend Framework 2 ServiceManager - Web Application Development Simplified

Nick Halstead's Blog: Simple use of DIGG API for your blog


Community Events





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


laravel package version tool introduction install update release community voicesoftheelephpant language interview symfony opinion series security framework library composer podcast

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