Skip to content
Snippets Groups Projects
Commit b11561fe authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

README: some clarifications

Install from a fixed branch to avoid it picking a feature branch.
Use composer when adding the dep.
Use the real name in the example commands.
parent b0232a9e
Branches
No related tags found
No related merge requests found
Pipeline #105654 passed
......@@ -30,14 +30,10 @@ features:
],
```
* Add the package to as a dependency:
* Add the bundle package as a dependency:
```json
"require": {
...
"dbp/api-starter-bundle": "@dev",
...
},
```
composer require dbp/api-starter-bundle=dev-main
```
* Add the bundle to your `config/bundles.php`:
......@@ -49,6 +45,8 @@ DBP\API\CoreBundle\DbpCoreBundle::class => ['all' => true],
];
```
* Run `composer install` to clear caches
## Development & Testing
* Install dependencies: `composer install`
......@@ -61,6 +59,6 @@ DBP\API\CoreBundle\DbpCoreBundle::class => ['all' => true],
Don't forget you need to pull down your dependencies in your main application if you are installing packages in a bundle.
```bash
# installs dependencies from dbp/api-your-bundle
composer update dbp/api-your-bundle
# updates and installs dependencies from dbp/api-starter-bundle
composer update dbp/api-starter-bundle
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment