The env function retrieves the value of an environment variable or returns a default value:
<?php $env = env('APP_ENV');

$env = env('APP_ENV', 'production');
<?php     |




    'enabled' => env('STATAMIC_API_ENABLED', false),



    'resources' => [

        'collections' => false,
<?php         'users' => false,

    ],



    'route' => env('STATAMIC_API_ROUTE', 'api'),




    |--------------------------------------------------------------------------
<?php     |




    'middleware' => env('STATAMIC_API_MIDDLEWARE', 'api'),




    |--------------------------------------------------------------------------
<?php     |




    'enabled' => env('CP_ENABLED', true),



    'route' => env('CP_ROUTE', 'cp'),
<?php     'enabled' => env('CP_ENABLED', true),



    'route' => env('CP_ROUTE', 'cp'),




    |--------------------------------------------------------------------------
<?php     |




    'link_to_docs' => env('STATAMIC_LINK_TO_DOCS', true),




    |--------------------------------------------------------------------------
<?php     |




    'support_url' => env('STATAMIC_SUPPORT_URL', 'https://statamic.com/support'),




    |--------------------------------------------------------------------------
<?php     |




    'theme' => env('STATAMIC_THEME', 'rad'),




    |--------------------------------------------------------------------------
<?php     |




    'custom_cms_name' => env('STATAMIC_CUSTOM_CMS_NAME', 'Statamic'),



    'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', null),
<?php     'custom_cms_name' => env('STATAMIC_CUSTOM_CMS_NAME', 'Statamic'),



    'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', null),



    'custom_favicon_url' => env('STATAMIC_CUSTOM_FAVICON_URL', null),
<?php     'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', null),



    'custom_favicon_url' => env('STATAMIC_CUSTOM_FAVICON_URL', null),



    'custom_css_url' => env('STATAMIC_CUSTOM_CSS_URL', null),
<?php     'custom_favicon_url' => env('STATAMIC_CUSTOM_FAVICON_URL', null),



    'custom_css_url' => env('STATAMIC_CUSTOM_CSS_URL', null),



];
<?php     |




    'enabled' => env('STATAMIC_GIT_ENABLED', false),




    |--------------------------------------------------------------------------
<?php     |




    'automatic' => env('STATAMIC_GIT_AUTOMATIC', true),




    |--------------------------------------------------------------------------
<?php     |




    'queue_connection' => env('STATAMIC_GIT_QUEUE_CONNECTION'),




    |--------------------------------------------------------------------------