Skip to content

Commit

Permalink
Add description for setting minimum-stability to be set to dev for lo…
Browse files Browse the repository at this point in the history
…cal development (#1963)

## Description

Updates documentation for the `local-development.md` to include
`minimum-stability` should be set to `dev` in `composer.json`.

- Error displayed when not setting `minimum-stability`  option to `dev` 
```sh
Root composer.json requires lunarphp/lunar , it is satisfiable by lunarphp/lunar[0.1.1, ..., 0.8.1] from composer repo (https://repo.packagist.org/) but lunarphp/lunar[1.x-dev] from path repo (packages/) has higher repository priority. The packages from the higher priority repository do not match your minimum-stability and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
````

Co-authored-by: halmanza <[email protected]>
  • Loading branch information
halmanza and halmanza authored Nov 19, 2024
1 parent 9fb098f commit cc1c927
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/core/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ Update your `composer.json` file similar to the following.
}
````
Ensure minimum stability is set for development
```json
"minimum-stability": "dev",
````
Run `composer update` from your Laravel application's root directory and fingers crossed you're all up and running,.
```sh
Expand Down

0 comments on commit cc1c927

Please sign in to comment.