2016-04-01 4 views
1

FosRestBundleとjmsSerializerを使ってsymfony2でrestfull APIを作成するときに、たくさんの時間を節約できる小さなバンドルを作った。3番目の部分バンドルを作成してプロジェクト間で共有する

私のプロジェクトでこのバンドルを共有したいのですが、宛先に追加すると「あなたの要件はインストール可能なパッケージのセットに解決できません」という結果が返されます。

 
{ 
    "name": "lenim/api-generic-bundle", 
    "type": "symfony-bundle", 
    "description": "Rest Api creation helper", 
    "keywords": ["Api", "RestApi"], 
    "homepage": "http://friendsofsymfony.github.com", 
    "license": "MIT", 
    "minimum-stability" : "dev", 
    "target-dir": "LeniM/ApiGenericBundle", 
    "authors": [ 
     { 
      "name": "Martin Leni", 
      "role" : "Developer" 
     } 
    ], 
    "require": { 
     "php": ">=5.3.3", 
     "symfony/framework-bundle": "~2.3|~3.0", 
     "doctrine/orm": "^2.5", 
     "friendsofsymfony/rest-bundle": "^1.7", 
     "jms/serializer-bundle": "^1.1" 
    }, 
    "require-dev": { 
     "symfony/console": "~2.3|~3.0", 
     "symfony/phpunit-bridge": "~2.7|~3.0", 
     "symfony/validator": "~2.3|~3.0", 
     "symfony/yaml": "~2.3|~3.0", 
     "willdurand/propel-typehintable-behavior": "~1.0" 
    }, 
    "suggest": { 
     "nelmio/NelmioApiDocBundle": "More than recommanded to keep your api well documentated" 
    }, 
    "autoload": { 
     "psr-4": { "LeniM\\ApiGenericBundle\\": "" } 
    }, 
    "extra": { 
     "branch-alias": { 
      "dev-master": "1.0.x-dev" 
     } 
    }, 
    "support": { 
     "docs": "https://github.com/LeniM/apiGenericBundle/readme.md" 
    } 
} 

    は、私は私が何か間違ったことをしたが、私はgitの上(https://github.com/LeniM/apiGenericBundle

  • 追加composer.jsonをレポを作成したものを

    • 見つけることができないと思います
    • の名前が必要:lenim/api-generic-bundle

    あなたのthrid partバンドルを作曲家に登録するには何か他に何かありますか?

    感謝:)

答えて

関連する問題