File tree Expand file tree Collapse file tree 12 files changed +110
-14
lines changed Expand file tree Collapse file tree 12 files changed +110
-14
lines changed Original file line number Diff line number Diff line change
1
+ # Automatically sets up your devbox environment whenever you cd into this
2
+ # directory via our direnv integration:
3
+
4
+ eval " $( devbox generate direnv --print-envrc) "
5
+
6
+ # check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
7
+ # for more details
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ [php]
2
+
3
+ ; Put your php.ini directives here. For the latest default php.ini file, see https://github.com/php/php-src/blob/master/php.ini-production
4
+
5
+ ; memory_limit = 128M
6
+ ; expose_php = Off
7
+
8
+ xdebug.mode = debug
Original file line number Diff line number Diff line change 1
1
{
2
- "packages" : [
3
- " php81" ,
4
- " php81Packages.composer" ,
5
- " phpExtensions.imagick"
2
+ "packages" : [
3
+ " php81Packages.composer@latest" ,
4
+ " php81Extensions.xdebug@latest" ,
5
+ " php81Extensions.imagick@latest" ,
6
+
7
+ ],
8
+ "env" : {
9
+ "PHPRC" : " $PWD/devbox.d/php"
10
+ },
11
+ "shell" : {
12
+ "init_hook" : [
13
+ " composer install"
6
14
],
7
- "shell" : {
8
- "init_hook" : [
9
- " composer install"
10
- ],
11
- "run_test" : [
12
- " php public/index.php"
13
- ]
15
+ "scripts" : {
16
+ "run_test" : " php public/index.php"
14
17
}
18
+ },
19
+ "nixpkgs" : {
20
+ "commit" : " f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"
21
+ }
15
22
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "lockfile_version": "1",
3
+ "packages": {
4
+ "php81Extensions.imagick@latest": {
5
+ "last_modified": "2023-05-01T16:53:22Z",
6
+ "resolved": "github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb#php81Extensions.imagick",
7
+ "version": "3.7.0"
8
+ },
9
+ "php81Extensions.xdebug@latest": {
10
+ "last_modified": "2023-05-01T16:53:22Z",
11
+ "resolved": "github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb#php81Extensions.xdebug",
12
+ "version": "3.2.1"
13
+ },
14
+ "php81Packages.composer@latest": {
15
+ "last_modified": "2023-05-01T16:53:22Z",
16
+ "resolved": "github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb#php81Packages.composer",
17
+ "version": "2.5.5"
18
+ },
19
+
20
+ "last_modified": "2023-05-01T16:53:22Z",
21
+ "plugin_version": "0.0.1",
22
+ "resolved": "github:NixOS/nixpkgs/8670e496ffd093b60e74e7fa53526aa5920d09eb#php",
23
+ "version": "8.1.18"
24
+ }
25
+ }
26
+ }
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
echo 'Hello world ' ;
4
+
5
+ phpinfo ();
Original file line number Diff line number Diff line change
1
+ # Automatically sets up your devbox environment whenever you cd into this
2
+ # directory via our direnv integration:
3
+
4
+ eval " $( devbox generate direnv --print-envrc) "
5
+
6
+ # check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
7
+ # for more details
Original file line number Diff line number Diff line change
1
+ [php]
2
+
3
+ ; Put your php.ini directives here. For the latest default php.ini file, see https://github.com/php/php-src/blob/master/php.ini-production
4
+
5
+ memory_limit = 512M
6
+ ; expose_php = Off
Original file line number Diff line number Diff line change 6
6
" php81Packages.composer" ,
7
7
" nginx"
8
8
],
9
+ "env" : {
10
+ "PHPRC" : " $PWD/devbox.d/php81"
11
+ },
9
12
"shell" : {
10
13
"init_hook" : [
11
14
" source devbox.d/mysql/set-env.sh"
12
15
],
13
16
"scripts" : {
14
17
"run_test" : [
15
18
" devbox.d/mysql/mysql.sh" ,
16
- " devbox services start " ,
19
+ " devbox services up -b " ,
17
20
" ./install-drupal.sh" ,
18
21
" curl localhost:8000" ,
19
22
" devbox services stop" ,
20
23
" mysqladmin -u root --socket=$MYSQL_UNIX_PORT shutdown"
21
24
],
22
25
"start_services" : [
23
26
" devbox.d/mysql/mysql.sh" ,
24
- " devbox services start "
27
+ " devbox services up "
25
28
],
26
29
"stop_services" : [
27
30
" devbox services stop" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "lockfile_version": "1",
3
+ "packages": {
4
+ "git": {
5
+ "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#git"
6
+ },
7
+ "mariadb": {
8
+ "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#mariadb"
9
+ },
10
+ "nginx": {
11
+ "plugin_version": "0.0.1",
12
+ "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#nginx"
13
+ },
14
+ "php81": {
15
+ "plugin_version": "0.0.1",
16
+ "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#php81"
17
+ },
18
+ "php81Packages.composer": {
19
+ "resolved": "github:NixOS/nixpkgs/f80ac848e3d6f0c12c52758c0f25c10c97ca3b62#php81Packages.composer"
20
+ }
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments