Laravel Auth

PHP MIT

Laravel Auth by GhostCompiler adds advanced authentication for Laravel with TOTP 2FA, passkeys via WebAuthn, OTP channels (email, SMS, WhatsApp), trusted devices, and tenant-aware social login.

Stars
2
Forks
0
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
phpstan.neon
parameters:
    level: 5
    paths:
        - src
    excludePaths:
        - tests
    reportUnmatchedIgnoredErrors: false
    treatPhpDocTypesAsCertain: false
    ignoreErrors:
        - '#Unsafe usage of new static\(\)#'
        - '#Call to an undefined method Illuminate\\Contracts\\Auth\\Authenticatable::#'
        - '#Property .+ has no type specified#'
        - '#Access to an undefined property GhostCompiler\\LaravelAuth\\Models\\#'
        - '#Parameter \#2 \$model of method Illuminate\\Database\\Eloquent\\Builder(<.+>)?::whereMorphedTo\(\) expects .+, Illuminate\\Contracts\\Auth\\Authenticatable given\.#'
        - '#Call to an undefined method Illuminate\\Contracts\\Auth\\Factory::#'
        - '#Call to an undefined method Illuminate\\Support\\Optional::toISOString\(\)\.#'
        - '#Cannot call method .+ on stdClass\.#'
        - '#Parameter \#2 \$challenge of method GhostCompiler\\LaravelAuth\\Contracts\\OtpTransport::(verifyCode|sendCode)\(\) expects GhostCompiler\\LaravelAuth\\Models\\OtpChallenge, .+#'
        - '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection<int,stdClass>::map\(\) expects .+, Closure\(GhostCompiler\\LaravelAuth\\Models\\SocialAccount\): array given\.#'
        - '#Call to an undefined method Illuminate\\Http\\Request::#'
        - '#has invalid return type Symfony\\Component\\HttpFoundation\\Response\.#'
        - '#should return Symfony\\Component\\HttpFoundation\\Response but returns Illuminate\\Http\\JsonResponse\.#'
        - '#Access to an undefined property Illuminate\\Database\\Eloquent\\Builder\|Illuminate\\Database\\Eloquent\\Model::\$expires_at\.#'
        - '#Method GhostCompiler\\LaravelAuth\\Services\\ChallengeStore::create\(\) should return GhostCompiler\\LaravelAuth\\Models\\WebAuthnChallenge but returns .+#'