class Features

Methods

static bool
enabled(string $feature)

Determine if the given feature is enabled.

static bool
optionEnabled(string $feature, string $option)

Determine if the feature is enabled and has a given option enabled.

static mixed
option(string $feature, string $option, mixed $default = null)

Get an option for the given feature.

static array
options(string $feature)

Get all options for the given feature.

static bool
hasProfileFeatures()

Determine if the application is using any features that require "profile" management.

static bool
canUpdateProfileInformation()

Determine if the application can update a user's profile information.

static bool
hasSecurityFeatures()

Determine if the application is using any security profile features.

static bool
canUpdatePasswords()

Determine if the application can update user passwords.

static bool
canManageTwoFactorAuthentication()

Determine if the application can manage two factor authentication.

static bool
canManagePasskeys()

Determine if the application can manage passkeys.

static string
registration()

Enable the registration feature.

static string
resetPasswords()

Enable the password reset feature.

static string
emailVerification()

Enable the email verification feature.

static string
updateProfileInformation()

Enable the update profile information feature.

static string
updatePasswords()

Enable the update password feature.

static string
twoFactorAuthentication(array $options = [])

Enable the two factor authentication feature.

static string
passkeys(array $options = [])

Enable the passkeys feature.

Details

at line 15
static bool enabled(string $feature)

Determine if the given feature is enabled.

Parameters

string $feature

Return Value

bool

at line 23
static bool optionEnabled(string $feature, string $option)

Determine if the feature is enabled and has a given option enabled.

Parameters

string $feature
string $option

Return Value

bool

at line 32
static mixed option(string $feature, string $option, mixed $default = null)

Get an option for the given feature.

Parameters

string $feature
string $option
mixed $default

Return Value

mixed

at line 42
static array options(string $feature)

Get all options for the given feature.

Parameters

string $feature

Return Value

array

at line 50
static bool hasProfileFeatures()

Determine if the application is using any features that require "profile" management.

Return Value

bool

at line 61
static bool canUpdateProfileInformation()

Determine if the application can update a user's profile information.

Return Value

bool

at line 69
static bool hasSecurityFeatures()

Determine if the application is using any security profile features.

Return Value

bool

at line 79
static bool canUpdatePasswords()

Determine if the application can update user passwords.

Return Value

bool

at line 87
static bool canManageTwoFactorAuthentication()

Determine if the application can manage two factor authentication.

Return Value

bool

at line 95
static bool canManagePasskeys()

Determine if the application can manage passkeys.

Return Value

bool

at line 103
static string registration()

Enable the registration feature.

Return Value

string

at line 111
static string resetPasswords()

Enable the password reset feature.

Return Value

string

at line 119
static string emailVerification()

Enable the email verification feature.

Return Value

string

at line 127
static string updateProfileInformation()

Enable the update profile information feature.

Return Value

string

at line 135
static string updatePasswords()

Enable the update password feature.

Return Value

string

at line 145
static string twoFactorAuthentication(array $options = [])

Enable the two factor authentication feature.

Parameters

array $options

Return Value

string

at line 157
static string passkeys(array $options = [])

Enable the passkeys feature.

Parameters

array $options

Return Value

string