On the Laravel News site there's a new tutorial posted showing you how to create your own custom configuration for those that are newer to the framework.
If you are new to Laravel, you might not yet know how you can create your configuration files in your projects and a few other helpful things that will help you master configuration. As always, the official documentation provides great information, and there are a few things we’ll cover here that I think will help people new to the Laravel framework.
They walk you through a complete guide to the Laravel configuration handling including:
- what pieces are involved and where they belong
- accessing the configuration service
- working with configuration values
- creating a custom configuration
- caching the configuration for better performance
Each item on the list has a brief description helping to illustrate the point and commands/code examples where appropriate.