Configuration
Craft CMS offers configuration options that allow you to customize its behavior for different project needs. Configuration settings are managed through config files:
general.php— project-wide configuration optionsdb.php— database configuration settingsapp.php— configuration at the application level, like bootstrapping additional code as modulesroutes.php— allows you to set up custom routing of requests that come into the Craft CMS application.
Multi-environment configurations enable you to define different settings for local development, staging, and production environments using values in the project .env file.