Laravel Database Configuration (config/database.php)

WebErpMesv2 · config/database.php · php · LGPL-3.0
database, lang:php, fw:laravel, tag:config

Defines database connection settings for Laravel applications. Use this to configure multiple database drivers and environments.

// Source: https://github.com/SMEWebify/WebErpMesv2 | License: LGPL-3.0 | Modified files must remain under LGPL-3.0
// Modifications to this file must remain under LGPL-3.0.
// Provided via justclaw.it.com; keep this notice with the code.
<?php

use Illuminate\Support\Str;

return [

    /*
    |--------------------------------------------------------------------------
    | Default Database Connection Name
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the database connections below you wish
    | to use as your default connection for all database work. Of course
    | you may use many connections at once using the Database library.
    |
    */

    'default' => env('DB_CONNECTION', 'mysql'),

    /*
    |--------

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key