News Feed

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

Michael Nitschinger's Blog:
Playing with Composer and Lithium
January 24, 2012 @ 10:20:51

Michael Nitschinger has a new post to his blog looking at using the popular Composer tool for package management together with Lithium to make dependency management simpler.

Composer is a command-line tool that helps you manage your application dependencies. It automatically fetches packages, resolves dependencies and is easy to configure. [...] Currently, Lithium doesn't provide Composer packages out of the box, but it's easy to write one.

He starts the post with an introduction to using Composer for those new to the tool, then moves quickly into setting up your "composer.json" file to pull in the Lithium updates from their github account. Additionally, he shows how to add a dependency for twig in the "require" section and pull it down at the same time (with dependencies).

0 comments voice your opinion now!
lithium framework composer packagist package dependency tutorial

blog comments powered by Disqus

Similar Posts Reading RSS feeds in PHP: Part 2

SitePoint PHP Blog: API Client TDD with Mocked Responses

Stoyan Stefanov's Blog: Performance tunning with PEAR::DB

Zend Developer Zone: Using the Digg API with PHP and PEAR

SitePoint PHP Blog: Automated Testing of Drupal 8 Modules

Community Events

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

example introduction community php7 yii2 part2 podcast project laravel interview application api testing composer series opinion list symfony framework language

All content copyright, 2015 :: - Powered by the Solar PHP Framework