From e8d98c6418952939da8380147fc5289b9ab85452 Mon Sep 17 00:00:00 2001 From: Brosseau Valentin Date: Sun, 10 Aug 2025 14:17:47 +0200 Subject: [PATCH] Use system wide package manager to install a package and install Laravel for the current user. (#618) --- bin/omarchy-install-dev-env | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/omarchy-install-dev-env b/bin/omarchy-install-dev-env index f084ac02..eddfe50f 100755 --- a/bin/omarchy-install-dev-env +++ b/bin/omarchy-install-dev-env @@ -26,7 +26,12 @@ go) ;; laravel) echo -e "Installing PHP and Laravel...\n" - bash -c "$(curl -fsSL https://php.new/install/linux)" + yay -S php composer --noconfirm + composer global require laravel/installer + echo 'export PATH="$HOME/.config/composer/vendor/bin:$PATH"' >> "$HOME/.bashrc" + source "$HOME/.bashrc" + echo "PHP, Composer, and Laravel have been installed successfully." + echo "You can now run: laravel new myproject" ;; python) echo -e "Installing Python...\n"