Issue #3318306 by phenaproxima, Wim Leers: Define the Package Manager API (package_manager.api.php is outdated)