PHP code example of prhost / composer-vendor-merge
1. Go to this page and download the library: Download prhost/composer-vendor-merge library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
prhost / composer-vendor-merge example snippets
$manager = new Prhost\ComposerMergeVendor();
$manager->init();
//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');
$manager = new Prhost\ComposerMergeVendor();
$manager->init();
//Other vendor
$manager->addVendor(__DIR__ . '/path/to/other/vendor');