This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef artisan | |
function __older_than_laravel54() { | |
local version=$(cat composer.lock | jq '.packages[] | select(.name == "laravel/framework").version') | |
echo $version | grep -e 'v5\.[0-3]\.' &> /dev/null | |
} | |
function __laravel5_get_command_list() { | |
local PHP | |
if which php74 &> /dev/null; then |