Namespaces

Classes

Interfaces

Functions

string
artisan_binary()

Determine the proper Artisan executable.

CarbonInterval
days(int|float $days)

Get the current date / time plus the given number of days.

DeferredCallbackCollection
defer(callable|null $callback = null, string|null $name = null, bool $always = false)

Defer execution of the given callback.

enum_value(TValue $value, $default = null)
internal

Return a scalar value for the given value that might be an enum.

CarbonInterval
hours(int|float $hours)

Get the current date / time plus the given number of hours.

CarbonInterval
microseconds(int|float $microseconds)

Get the current date / time plus the given number of microseconds.

CarbonInterval
milliseconds(int|float $milliseconds)

Get the current date / time plus the given number of milliseconds.

CarbonInterval
minutes(int|float $minutes)

Get the current date / time plus the given number of minutes.

CarbonInterval
months(int $months)

Get the current date / time plus the given number of months.

CarbonInterface
now(DateTimeZone|UnitEnum|string|null $tz = null)

Create a new Carbon instance for the current time.

string
php_binary()

Determine the PHP Binary.

CarbonInterval
seconds(int|float $seconds)

Get the current date / time plus the given number of seconds.

CarbonInterval
weeks(int $weeks)

Get the current date / time plus the given number of weeks.

CarbonInterval
years(int $years)

Get the current date / time plus the given number of years.