CodeIgniter Forums
CI3 Composer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: CI3 Composer (/showthread.php?tid=1140)



CI3 Composer - rfulcher - 02-13-2015

I am new to composer and was wondering if composer is supported in CI3.  I see the composer.json file in the download.  I don't see any documentation on it in the user guide.  Just wondering if we can use it or do we have to setup composer in CI3.

Thanks


RE: CI3 Composer - kilishan - 02-13-2015

You'll still need to setup composer on your system, but all it takes is modifying one config setting for the Composer Autoload to kick in. Check out the bottom of the Auto-loading Resources section of the docs.


RE: CI3 Composer - rfulcher - 02-16-2015

Oh I see.  Thanks.  After setting this I can run the composer command lines to install new packages?

Thanks


RE: CI3 Composer - kilishan - 02-16-2015

As long as Composer is installed in your system, then yeah. That setting just ensures that the Composer's autoloader is loaded so that you can use the packages within your application. CodeIgniter does not ship with a Composer binary so you still need to install that separately.


RE: CI3 Composer - rfulcher - 02-18-2015

When you say "On My System" you are referring to the operating system "Mac, Linux, Windows". Correct!


RE: CI3 Composer - vrsotto - 02-18-2015

(02-18-2015, 05:13 AM)rfulcher Wrote: When you say "On My System" you are referring to the operating system "Mac, Linux, Windows". Correct!

Yes


RE: CI3 Composer - rfulcher - 02-18-2015

Awesome thanks