1
1
[ ![ GitHub stars] [ github stars ]] [ 1 ]
2
- [ ![ License] [ license ]] [ 1 ]
3
2
[ ![ Donate!] [ donate github ]] [ 5 ]
4
3
5
4
# Nix shell
@@ -21,10 +20,10 @@ Each available environment provides the following tools:
21
20
* Symfony CLi,
22
21
* GNU Make.
23
22
24
- Available PHP versions from ` 5.6 ` to ` 8.1 ` .
23
+ Available PHP versions from ` 5.6 ` to ` 8.2 ` .
25
24
26
25
The PHP extensions to use are automatically inferred
27
- from the ` composer.json ` and ` composer.lock ` files .
26
+ from the ` composer.json ` file .
28
27
29
28
``` json
30
29
...8<...
@@ -70,19 +69,19 @@ opt-in option.
70
69
71
70
### In a shell
72
71
73
- To work with ` PHP 8.1 ` only:
72
+ To work with PHP 8.1 only:
74
73
75
74
``` shell
76
75
nix shell github:loophp/nix-shell#php81
77
76
```
78
77
79
- or
78
+ or with PHP 8.1 and a couple of useful tools:
80
79
81
80
``` shell
82
81
nix shell github:loophp/nix-shell#env-php81
83
82
```
84
83
85
- ` ZTS ` is enabled by default (see [ #154774 ] ( https://github.com/NixOS/nixpkgs/issues/154774 ) ),
84
+ PHP has ` ZTS ` enabled by default (see [ #154774 ] ( https://github.com/NixOS/nixpkgs/issues/154774 ) ),
86
85
feel free to use the ` NTS ` if needed, see the matrix below.
87
86
88
87
Available PHP versions and environments are:
@@ -108,11 +107,11 @@ Available PHP versions and environments are:
108
107
109
108
This package also provide development environments with some tools:
110
109
111
- * Symfony cli
112
- * Github cli
113
- * sqlite
114
- * git
115
- * gnumake
110
+ * [ Symfony cli] ( https://github.com/symfony-cli/symfony-cli )
111
+ * [ Github cli] ( https://cli.github.com/ )
112
+ * [ sqlite] ( https://www.sqlite.org/ )
113
+ * [ git] ( https://git-scm.com/ )
114
+ * [ gnumake] ( https://www.gnu.org/software/make/ )
116
115
117
116
In order to use them, use the prefix ` env- ` :
118
117
0 commit comments