diff --git a/CHANGELOG.md b/CHANGELOG.md index bd2bd4c..8f16488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,3 +14,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ### Changed - Refactor to use [devshell](https://flake.parts/options/devshell.html). +- Show the Composer version with `composer -V` in the PHP shell hook. diff --git a/modules/php74.nix b/modules/php74.nix index 97cf5ea..da91b6d 100644 --- a/modules/php74.nix +++ b/modules/php74.nix @@ -17,7 +17,7 @@ ] ++ commonPhpPackages pkgs; shellHook = '' - php --version + composer -V ''; }; }; diff --git a/modules/php81.nix b/modules/php81.nix index cdf3920..93f9cac 100644 --- a/modules/php81.nix +++ b/modules/php81.nix @@ -11,7 +11,7 @@ ] ++ commonPhpPackages pkgs; shellHook = '' - php --version + composer -V ''; }; }; diff --git a/modules/php82.nix b/modules/php82.nix index 9f0c99e..0c86fbc 100644 --- a/modules/php82.nix +++ b/modules/php82.nix @@ -11,7 +11,7 @@ ] ++ commonPhpPackages pkgs; shellHook = '' - php --version + composer -V ''; }; }; diff --git a/modules/php83.nix b/modules/php83.nix index 4bab816..671e769 100644 --- a/modules/php83.nix +++ b/modules/php83.nix @@ -11,7 +11,7 @@ ] ++ commonPhpPackages pkgs; shellHook = '' - php --version + composer -V ''; }; }; diff --git a/modules/php84.nix b/modules/php84.nix index e4d5919..639b78b 100644 --- a/modules/php84.nix +++ b/modules/php84.nix @@ -11,7 +11,7 @@ ] ++ commonPhpPackages pkgs; shellHook = '' - php --version + composer -V ''; }; };