Phel requires PHP 8.3+. Choose the installation method that works best for you:
Composer#
Recommended for most projects. Create a new project:
Or add Phel to an existing project:
Commands are available through vendor/bin/phel.
PHAR#
No project setup needed. Download the pre-built PHAR from the latest GitHub release:
Use it exactly like the Composer-installed binary:
Nix#
For Nix users. Quickly try Phel without installing it globally:
For a repeatable development environment, create a shell.nix in your project:
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages = with pkgs; [
php83
php83Packages.composer
];
}
Then run nix-shell and use Composer as normal.