class PackageManager (View source)

The PackageManager class provides all methods required by the dashboard to manage packages.

Methods

static array
getPackages()

Get a list of theme packages available on Packagist where the installed ones are at the beginning.

Details

static array getPackages()

Get a list of theme packages available on Packagist where the installed ones are at the beginning.

Return Value

array The array with installed and available themes