2017 © Pedro Peláez
 

project composer-vendor-merge

image

prhost/composer-vendor-merge

  • Saturday, September 23, 2017
  • by prhost
  • Repository
  • 1 Watchers
  • 1 Stars
  • 92 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 12 % Grown

The README.md

Composer Vendor Merge

This class has the goal of automatically merge all autoload and vendor. Ideal for those who organize your project in plugins, modules, extensions, etc., (*1)

It was extracted from the OctoberCMS project core and adapted to work without the platform., (*2)

You can use this class both standalone and via composer package composer require prhost/composer-vendor-merge, (*3)

Example via Composer package

Install the package, (*4)

composer require prhost/composer-vendor-merge, (*5)

Instance and init the classe, (*6)

$manager = new Prhost\ComposerMergeVendor();
$manager->init();

Adds other vendor by project, (*7)

//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');

Example Standalone

Require the classe, (*8)

require_once 'src/ComposerMergeVendor.php';

Instance and init the classe, (*9)

$manager = new Prhost\ComposerMergeVendor();
$manager->init();

Adds other vendor by project, (*10)

//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');

Credits

The Versions

23/09 2017

0.1.x-dev

0.1.9999999.9999999-dev

  Sources   Download

MIT

by Kallef

23/09 2017

dev-master

9999999-dev

  Sources   Download

MIT

by Kallef

23/09 2017

0.1.0

0.1.0.0

  Sources   Download

MIT

by Kallef