2017 © Pedro Peláez
 

library accompanist

A PHP API for generating dynamic composer.json files

image

smmccabe/accompanist

A PHP API for generating dynamic composer.json files

  • Monday, March 19, 2018
  • by smmccabe
  • Repository
  • 1 Watchers
  • 7 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 8 Versions
  • 9 % Grown

The README.md

Accompanist

A simple PHP API for generating composer files, (*1)

Examples

Basic

use Accompanist\Accompanist;

$accompanist = new Accompanist('Sample Composer File');

$accompanist->addRequire('monolog/monolog');
$accompanist->addRequire('guzzlehttp/guzzle', '^6.3');

$composerJSONString = $accompanist->generateJSON();
// or
$accompanist->writeToFile('output/composer.json');

Load from existing


use Accompanist\Accompanist; $accompanist = new Accompanist('Imported Composer File'); $accompanist->loadFromFile('import/composer.json');

The Versions

19/03 2018

dev-master

9999999-dev

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU GPL-3.0-or-later

The Requires

  • php ^7.0

 

The Development Requires

by Shawn McCabe

16/03 2018

1.0.0-beta1

1.0.0.0-beta1

A PHP API for generating dynamic composer.json files

  Sources   Download

GPL-3.0-or-later

The Requires

  • php ^7.0

 

The Development Requires

by Shawn McCabe

02/09 2017

1.0.0-alpha6

1.0.0.0-alpha6

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe

02/09 2017

1.0.0-alpha4

1.0.0.0-alpha4

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe

02/09 2017

1.0.0-alpha5

1.0.0.0-alpha5

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe

28/08 2017

1.0.0-alpha3

1.0.0.0-alpha3

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe

01/07 2017

1.0.0-alpha2

1.0.0.0-alpha2

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe

30/06 2017

1.0.0-alpha1

1.0.0.0-alpha1

A PHP API for generating dynamic composer.json files

  Sources   Download

GNU

The Requires

  • php ^5.4 || ^7.0

 

by Shawn McCabe