if (t3lib_extMgm::isLoaded('my_extension')) { // Extension is installed } else { // Extension is not installed }
$config = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['my_extension']);
if (t3lib_extMgm::isExtensionActive('my_extension')) { // Extension is active } else { // Extension is not active }Overall, t3lib_extMgm provides a convenient way to manage TYPO3 extensions. It is included with TYPO3 and can be used in any TYPO3 PHP script.