You have to add require line into you composer.json file
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
...
"username/platform-bundle": "version"
},
username/platform-bundle
should be the name of the repository, for example mmoreram/paymill-bundle
.
version
should be desired stable or non-stable version you want to lock your bundle.
Then you have to use composer to update your project dependencies
php composer.phar update
And register the bundle in your appkernel.php file
return array(
// ...
new Mmoreram\PaymentCoreBundle\PaymentCoreBundle(),
new Username\PlatformBundle\PlatformBundle(),
// ...
);
Username\PlatformBundle\PlatformBundle()
should be the namespace of Bundle class, for example Mmoreram\PaymillBundle\PaymillBundle()
Use version v1.0.1
for first PaymentCoreBundle non-stable version