Skip to content

Glossary: Laravel

config()

Also written: config files, config/

A helper that reads a setting from the files in config/, as config('app.name'): file name, then key. Those files get their values from .env with env().

Where the book teaches it

Related terms

.envenv()