Composer

55 views
Skip to first unread message

Sam Minnée

unread,
Nov 4, 2012, 9:14:00 PM11/4/12
to SS Dev
Composer!

It's been discussed in general terms for a long while, but now you can actually use it to install a stable version of SilverStripe.

It's even documented:

So, what's happened, have we merged in AJ Short's work?

No, not yet. (although some pull requests on that would be great!)   Rather, Composer has improved things so that you can have modules sitting anywhere in the project directory, rather than forcing them all into the vendor/ directory.  So, Composer can be used without core changes.

AJ Short's work provides much more flexibility around module inclusion and we should still work to get it into 3.1, but the good news is that we don't need to wait to start using Composer.  We can use Composer with 3.0.  We can even use Composer with 2.4!  2.3 can GTFO, although in principle if you could use it there too.

We're using the default Composer module repository, Packagist, and you can see a bunch of packages here: https://packagist.org/packages/?tag=silverstripe

You're welcome to upload your modules to packagist and/or create composer.json files in them.  In the long run, composer.json files will be expected in all SilverStripe modules, so you may as well get on the party bus sooner rather than later.

Thanks,
Sam

----
Sam Minnée
Chief Executive Officer
SilverStripe Limited

Mobile: 021 311 441
Skype: sam.minnee

Martimiz

unread,
Nov 5, 2012, 7:12:57 AM11/5/12
to silverst...@googlegroups.com

Hi Sam,

Good news!



We're using the default Composer module repository, Packagist, and you can see a bunch of packages here: https://packagist.org/packages/?tag=silverstripe


Would you want the 'Modules' documentation to now point to those packages? At this moment, aside from silverstripe.org modules section, it's still pointing to the Subversion repository on open.silverstripe.org. Maybe better to emove that link - a lot of repositories (most even?) have been replaced, or seem to be no longer maintained, and the info there is at the least very confusing...

1 example: Compass - http://open.silverstripe.org/browser/modules/compass.
No clear info that the svn package isn't the recent one.

Martine
 
Reply all
Reply to author
Forward
0 new messages