Home / Snippets / Laravel .env Reference Another Variable
Laravel .env Reference Another Variable cover

Laravel .env Reference Another Variable

207

11 months ago

0 comments

To reference another variable in Laravel .env you may use the "${}" string template. This will retrieve the variable that you have previously defined.

APP_NAME=Testaa
FULL_APP_NAME="${APP_NAME} Dashboard"

With this, the FULL_APP_NAME will contain "Testaa Dashboard" now.
notion avatar

Ahmad Aziz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

If you like our tutorial, support us by being our Patreon or buy us some coffee ☕️

Post Tutorials

Learn trending tutorials for ReactJs, React Native, VueJS, NextJs, Laravel, Tailwind CSS, and Flutter development.
View Tutorials

Code Components

Collection of Tailwind CSS components for everyone to use. Browse all of the components that's right for your web projects
View Components

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this