Level 52
There is the artisan command :
php artisan --version
Hi, very stupid question... Is there a way in a lumen app or laravel app, to know on which framework we currently are? Even a hack?
Something like:
if (is_lumen()) {
do_somthing();
} elsif (is_laravel()) {
do_other_thing();
}
where the is_lumen or is_laravel would be an artisan command or anything else that tells us on which framework we are?
There is the artisan command :
php artisan --version
Please or to participate in this conversation.