Str::slug()

static string slug(string $title, string $separator = '-') Generate a URL friendly "slug" from a given string. Parameters string $title string $separator Return Value string

Repository

Repository interface Repository (View source) Methods bool has(string $key) Determine if an item exists in the cache. mixed get(string $key, mixed $default = null) Retrieve an item from the cache by key. mixed pull(string $key, mixed $default = null) Retrieve an item from the cache and delete it. void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. bool add(string $key, mixed $value, DateTime|float|int $minutes) Store an item in

ServeCommand::error()

void error(string $string, null|int|string $verbosity = null) Write a string as error output. Parameters string $string null|int|string $verbosity Return Value void

NotIn::__construct()

void __construct(array $values) Create a new "not in" rule instance. Parameters array $values Return Value void

ExceptionHandler::report()

void report(Exception $e) Report or log an exception. Parameters Exception $e Return Value void

MySqlGrammar::compileDisableForeignKeyConstraints()

string compileDisableForeignKeyConstraints() Compile the command to disable foreign key constraints. Return Value string

MakeAuthCommand::info()

void info(string $string, null|int|string $verbosity = null) Write a string as information output. Parameters string $string null|int|string $verbosity Return Value void

ClearCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

NullStore::get()

mixed get(string|array $key) Retrieve an item from the cache by key. Parameters string|array $key Return Value mixed

ScheduleServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void