trait RegistersUsers (View source)

Traits

Methods

string
redirectPath()

Get the post register / login redirect path.

showRegistrationForm()

Show the application registration form.

register(Request $request)

Handle a registration request for the application.

guard()

Get the guard to be used during registration.

mixed
registered(Request $request, mixed $user)

The user has been registered.

Details

string redirectPath()

Get the post register / login redirect path.

Return Value

string

Response showRegistrationForm()

Show the application registration form.

Return Value

Response

Response register(Request $request)

Handle a registration request for the application.

Parameters

Request $request

Return Value

Response

protected StatefulGuard guard()

Get the guard to be used during registration.

Return Value

StatefulGuard

protected mixed registered(Request $request, mixed $user)

The user has been registered.

Parameters

Request $request
mixed $user

Return Value

mixed

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.