News Feed
Sections




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

Phil Sturgeon's Blog:
Composer with CodeIgniter
May 08, 2012 @ 12:50:27

In this latest post to his blog Phil Sturgeon looks at how to use the Composer package management tool to install packages directly into your CodeIgniter applications.

If you want to start using Composer components in your application there is no reason why you should not. The code is mainly PHP 5.3 but by slowing moving the majority of your application from framework specific code to generic packages that work in any framework you free yourself from being limited to a specific framework and will find a transition to FuelPHP 2.0, Laravel or Symfony2 much easier in the future.

There's four steps to his process (most of them the usual Composer setup ones): install Composer, create the "composer.json" file, install the needed dependencies and then include_once the Composer autoloader.

0 comments voice your opinion now!
codeigniter composer package dependency tutorial


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: A Sanity-saving Debugging Solution for Your PHP Development

Developer Tutorials Blog: Digg Clone: Start your own Digg in five minutes flat with PHP

Zumba Engineering Blog: Enforce code standards with composer, git hooks, and phpcs

Tim Koschuetzki's Blog: Parsing XML With The DOM Library

Stuart Herbert's Blog: Installing Phix on Various OSes (OSX, Debian, Ubuntu, Fedora)


Community Events





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


zendserver podcast release tips api code bugfix framework conference series symfony development deployment laravel community interview language introduction list threedevsandamaybe

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