Configuration

Introduction

All of the configuration files for the Laravel framework are stored in the config directory. Each option is documented, so feel free to look through the files and get familiar with the options available to you.

These configuration files allow you to configure things like your database connection information, your mail server information, as well as various other core configuration values such as your application timezone and encryption key.

The about Command

Laravel can display an overview of your application’s configuration, drivers, and environment via the about Artisan command.

php artisan about

If you’re only interested in a particular section of the application overview output, you may filter for that section using the --only option:

php artisan about --only=environment

Or, to explore a specific configuration file’s values in detail, you may use the config:show Artisan command:

php artisan config:show database

Leave a Reply

Your email address will not be published. Required fields are marked *