• Welcome to Simple Machines Community Forum. Please login or sign up.



Loads and returns an array of installed packages.


array listInstalledPackages ()

Return value

Expected type: Array
Description: An array of information about each of the packages you have installed

Array Elements
Key Optional Expected type Description
filename no String The name of the actual package file
id no String The internal package ID (used to uniquely identify each package)
name no String The name of the package
version no String The version of the package


  • Gets this information from Packages/installed.list.
  • Returns the array of data.
  • Used by the package manager to find out which packages are installed