[dev] PHP Composer generator

Michael M Slusarz slusarz at horde.org
Fri Jun 21 22:43:20 UTC 2013


Quoting Michael M Slusarz <slusarz at horde.org>:

> commit 177c56385bf4b04c47357c2dfabfd49797e6fd6d
> Author: Michael M Slusarz <slusarz at horde.org>
> Date:   Tue Apr 2 15:58:41 2013 -0600
>
>     [mms] Add PHP Composer generator.
>
>  components/lib/Components/Component/Source.php       |   68 +-
>  components/lib/Components/Dependencies.php           |    9 +-
>  components/lib/Components/Dependencies/Bootstrap.php |   12 +-
>  components/lib/Components/Dependencies/Injector.php  |   12 +-
>  components/lib/Components/Helper/Composer.php        |   67 ++
>  components/lib/Components/Module/Composer.php        |  101 +++
>  components/lib/Components/Runner/Composer.php        |   63 ++
>  components/lib/Conductor/PEARPackageFilev2.php       |  616 ++++++++++++++
>  components/lib/Conductor/Package2XmlToComposer.php   |  787  
> ++++++++++++++++++
>  components/package.xml                               |    2 +
>  10 files changed, 1700 insertions(+), 37 deletions(-)
>  create mode 100644 components/lib/Components/Helper/Composer.php
>  create mode 100644 components/lib/Components/Module/Composer.php
>  create mode 100644 components/lib/Components/Runner/Composer.php
>  create mode 100644 components/lib/Conductor/PEARPackageFilev2.php
>  create mode 100644 components/lib/Conductor/Package2XmlToComposer.php
>
> http://git.horde.org/horde-git/-/commit/177c56385bf4b04c47357c2dfabfd49797e6fd6d

For any package/application, can now do:

horde-components composer

and a composer.json file will be generated.

If someone wanted to work on a way to automate this with package.xml  
building, that would be great.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list