Logo

Miscellaneous Functions

abort abort_if abort_unless app auth back bcrypt blank broadcast cache class_uses_recursive collect config cookie csrf_field csrf_token dd dispatch dump env event filled info logger method_field now old optional policy redirect report request rescue resolve response retry session tap throw_if throw_unless today trait_uses_recursive transform validator value view with

auth

Logo livewire/livewire livewire/livewire
The auth function returns an authenticator instance. You may use it as an alternative to the Auth facade:
<?php $user = auth()->user();
<?php             $user->wasRecentlyCreated = false;

        }



        auth()->guard($driver)->setUser($user);



        auth()->shouldUse($driver);

    }
src/Features/SupportTesting/Testable.php
<?php         auth()->guard($driver)->setUser($user);



        auth()->shouldUse($driver);

    }



    function id() {
src/Features/SupportTesting/Testable.php