Skip to content

Kirby 4.1.2

Kirby::version()

Returns the current version number from the composer.json (Keep that up to date! :))

Kirby::version(): string|null

Return type

string|null

Exceptions

Type Description
Kirby\Exception\LogicException if the Kirby version cannot be detected

Parent class

Kirby\Cms\App