Documentation

Version
in package

Version information for Canvas LMS Kit

Table of Contents

Constants

CANVAS_API_VERSION  = 'v1'
Canvas API version compatibility
MIN_PHP_VERSION  = '8.1.0'
Minimum PHP version required
RELEASE_DATE  = '2025-01-31'
Release date of current version
VERSION  = '1.0.0'
Current version of Canvas LMS Kit

Methods

getFullVersion()  : string
Get full version string with all details
getMinPhpVersion()  : string
Get minimum PHP version required
getReleaseDate()  : string
Get the release date
getVersion()  : string
Get the current version
isPhpVersionSupported()  : bool
Check if current PHP version is supported
isPreRelease()  : bool
Check if a version is pre-release

Constants

CANVAS_API_VERSION

Canvas API version compatibility

public string CANVAS_API_VERSION = 'v1'

MIN_PHP_VERSION

Minimum PHP version required

public string MIN_PHP_VERSION = '8.1.0'

RELEASE_DATE

Release date of current version

public string RELEASE_DATE = '2025-01-31'

VERSION

Current version of Canvas LMS Kit

public string VERSION = '1.0.0'

Methods

getFullVersion()

Get full version string with all details

public static getFullVersion() : string
Return values
string

getMinPhpVersion()

Get minimum PHP version required

public static getMinPhpVersion() : string
Return values
string

getReleaseDate()

Get the release date

public static getReleaseDate() : string
Return values
string

getVersion()

Get the current version

public static getVersion() : string
Return values
string

isPhpVersionSupported()

Check if current PHP version is supported

public static isPhpVersionSupported() : bool
Return values
bool

isPreRelease()

Check if a version is pre-release

public static isPreRelease([string|null $version = null ]) : bool
Parameters
$version : string|null = null

Version to check (defaults to current)

Return values
bool

        
On this page

Search results