How to install your own bundle with Composer in Symfony 2.1?
composer-php, php, symfony-2.1
Solution
I've found the answer.
// my_project/compose.json:
{
"repositories": [
{
"type": "vcs",
"url": "own_repository_url"
}
],
// ...
"require": {
// ...
"own/bundle": "dev-master"
}
},
// own_repository/own_bundle/compose.json:
{
"name": "own/bundle"
}
Problem
I've just moved to Symfony 2.1, and I can't understand, how can I install my own bundles with Composer? It was very easy in 2.0.x in `deps`: ``` [MyOwnBundle] git=git@git.weboshin.ru:weboshin_cms_bundle.git target=/bundles/My/OwnBundle ``` After that I just triggered `bin/vendors update` and that was it! But now there's no `deps` file, and I supposed to do everything with Composer. Please give me any hints.