Skip to content

Commit

Permalink
docs: Update README.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 20, 2021
1 parent 9a3b4bf commit ea01eee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ for PHP development.

Each nix-shell environment provides the following tools:

* PHP with extensions, xdebug and pcov
* Custom php.ini
* PHP with extensions, `xdebug` and `pcov`
* Custom `php.ini`
* Composer
* Github CLi
* Symfony CLi
* GNU Make

## Usage

* First get `composer` with nix-shell
* First get `composer`

```shell
nix-shell -p php74Packages.composer
```

* Then make sure to require this package
* Now that `composer` is available, make sure to require this package

```shell
composer require loophp/nix-shell --dev
```

* Run the nix shell
* Run `nix-shell`

```shell
nix-shell -p vendor/loophp/nix-shell/resources/dev/php74
nix-shell vendor/loophp/nix-shell/resources/dev/php74
```

Available Nix-shells are:
Expand Down

0 comments on commit ea01eee

Please sign in to comment.