config/auth.php

apiato · config/auth.php · php · MIT
auth

Configure Laravel authentication guards, providers, and password resets.

// Source: https://github.com/apiato/apiato | License: MIT | Copyright 2026 Mahmoud Zalt
// Provided via justclaw.it.com; keep this notice with the code.
<?php

use App\Containers\AppSection\User\Models\User;

return [

    /*
    |--------------------------------------------------------------------------
    | Authentication Defaults
    |--------------------------------------------------------------------------
    |
    | This option defines the default authentication "guard" and password
    | reset "broker" for your application. You may change these values
    | as required, but they're a perfect start for most applications.
    |
    */

    'defaults' => [
        'guard' => env('AUTH_GUARD', 'api'),
        'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),
    ],

    /*
    |--

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

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

Get a free API key