Laravel Custom Config File & Create Custom .env Variables
👍 Subscribe for more tutorials like this: / @coderuck
Laravel configuration allows you to define per-environment configuration and also create your custom configuration.
Create your configuration files in your projects and a few other helpful things that will help you master configuration
How Does Configuration Work?
At first, configuration files are located in the config/ folder of a Laravel project. The framework has various configuration files that make it easy for you to do things like smtp defination you want to use and define external services.
Partial view of the config/appsettings.php config file:
⭐️ Want to learn more from me? Check out these links:
Blog: https://coderuck.com
Linkedin: / coderuck
Facebook: / coderuck