diff --git a/notes.adoc b/notes.adoc index 80af76d..4fb37a6 100644 --- a/notes.adoc +++ b/notes.adoc @@ -82,3 +82,14 @@ Hi, PHP Thames Valley nix-shell --run "php index.php" Hi, PHP Thames Valley! + +== Adding PHP tools + +nix-shell --run "composer --version" + +Composer version 2.8.5 2025-01-21 15:23:40 +PHP version 8.4.11 (/nix/store/s4kv9bzqawhqcyjg9xm2hji3jap6d6kd-php-with-extensions-8.4.11/bin/php) + +nix-shell --run "phpactor --version" + +Phpactor 2025.07.25.0 diff --git a/shell.nix b/shell.nix index d6d8241..2238b00 100644 --- a/shell.nix +++ b/shell.nix @@ -3,5 +3,9 @@ }: pkgs.mkShell { - packages = [ pkgs.php ]; + packages = with pkgs; [ + php + phpPackages.composer + phpactor + ]; }