jeudi 12 octobre 2017

Laravel env() or config() to get environment variable on command line

I know that running php artisan env on the command line shows me the "Current application environment" (such as "production").

But what I want is to be able to see the value of something like env('SESSION_DRIVER') or config('session.driver') straight from the command line.

Is that possible?

(I could not find hints in the docs.)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire