Closed MattyBalaam closed 11 years ago
Hi Matt, what needs to be done from this end to allow this? I was under the impression that composer just pulled down Git Repositories?
Hi Aram,
There's some talk here: https://groups.google.com/d/msg/silverstripe-dev/kHsCR2llQHQ/mLu_3yJNDuUJ
From what I've read I think it's simply a matter of creating a Composer.JSON file in the root of your module:
{
"name": "silverstripe/foo_project_name",
"description": "foo_description",
"type": "silverstripe-module",
"keywords": ["silverstripe", "foo", "bar"],
"authors": [
{
"name": "Foo Bar",
"email": "foo@bar.com"
}
],
"require":
{
"silverstripe/framework": "3.*"
}
}
And then submitting to https://packagist.org/packages/silverstripe/
Great work with the SS3 version of DOAP by the way.
Ok that has been added, let me know if it works! :)
Brilliant, that works perfectly straight away. :D
Great :)
Will you be allowing the module to be installed with the Composer functionality?
http://doc.silverstripe.org/framework/en/installation/composer