samedi 23 septembre 2017

Laravel .env variable always returns null

I added this variable to .env file

STRIPE_SECRET=a12345

I would like to dump the variable using routes/web.php

<?php
dd(env('STRIPE_SECRET'));

But it looks like it always returns null.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jTLBJ7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire