feat: improves php and laravel installation

This commit is contained in:
nunomaduro committed 2026-09-16 16:56:47 +01:00
1 parent 2fbac0c8e8
commit 181ad4b4d3
3 files changed
+15 -36

No files matched your search

+6 -1
View File
@@ -10,6 +10,11 @@ if [[ -z $1 ]]; then
fi
remove_php() {
mise uninstall php --all
mise rm -g php
mise tool-alias unset php
# PHP from before it moved to mise
omarchy-pkg-drop php composer php-sqlite xdebug
}
@@ -46,7 +51,7 @@ php)
;;
laravel)
echo -e "Removing Laravel...\n"
composer global remove laravel/installer 2>/dev/null || true
mise x php -- composer global remove laravel/installer 2>/dev/null || true
;;
symfony)
echo -e "Removing Symfony CLI...\n"