Package Ecosystem
The PAM binary owns only runtime-level work: the HTTP server, workers, the embedded PHP runtime and the native shells. Everything else, from routing to crawling to camera access, ships as ordinary Composer packages with versioned PHP contracts. There is no parallel package manager, custom lockfile or proprietary package format: if you know Composer, you already know how to extend PAM.
Browse every official package in the ecosystem catalog.
Installing Packages
Section titled “Installing Packages”Run Composer through PAM. pam composer uses PAM’s private PHP runtime, so the
PHP version and extensions Composer sees are the ones your application runs
with:
pam composer require pushinbr/pam-httppam composer require --dev pushinbr/pam-http-testingpam composer installpam composer updatePAM loads the normal Composer autoloader, including projects that set a custom
config.vendor-dir. Commit composer.lock as usual.
Choosing Packages
Section titled “Choosing Packages”Official packages live under the pushinbr vendor on Packagist:
| Area | Packages |
|---|---|
| HTTP & APIs | nimbus, arcano, pam-http (maintenance), pam-http-psr, pam-http-testing, pam-socket, pam-contracts, pam-skeleton |
| Laravel | pam-laravel, pam-octane |
| Web data | pam-crawl, pam-crawl-browser, pam-browser |
| Messaging | pam-telegram, pam-telegram-web, pam-whatsapp-web |
| Apps | pam-native, pam-native-ui, native plugins, pam-desktop |
Any other Composer package works too, as long as it suits a persistent runtime. Composer compatibility does not guarantee runtime compatibility: a package may need an extension PAM does not ship, assume PHP-FPM or Apache, install process-global handlers, or keep request state in a static property or singleton. Because PAM workers live across many requests, state that leaks between requests is the most common problem.
Compatibility Packages
Section titled “Compatibility Packages”Several packages were renamed. The old names still resolve on Packagist as empty packages that require the new one, so existing projects keep installing. Some aliases pin an older major version of the new package, which means you stop receiving current releases until you switch. New projects should always require the current name.
| Old name | Requires |
|---|---|
pushinbr/pam-api |
pushinbr/pam-http ^1.1 |
pushinbr/pam-core-api |
pushinbr/pam-contracts ^1.1 |
pushinbr/pam-psr |
pushinbr/pam-http-psr ^1.0 |
pushinbr/pam-psr-bridge |
pushinbr/pam-psr ^1.1 |
pushinbr/pam-testing |
pushinbr/pam-http-testing ^1.0 |
pushinbr/pam-mobile-ui |
pushinbr/pam-native-ui ^0.5 |
pushinbr/pam-native-laravel-sync |
pushinbr/pam-native-sync-laravel ^0.2 |
To migrate, swap the name in composer.json and run pam composer update:
pam composer remove pushinbr/pam-apipam composer require pushinbr/pam-httpWriting Packages
Section titled “Writing Packages”Server packages extend PAM through the small, versioned interfaces in
pam-contracts, so they never depend on runtime
internals. Native plugins are Composer packages too: one package can ship PHP
providers and components, Android and iOS modules, native view factories,
resources, manifests and Maven dependencies. See the
Plugin SDK and Plugin Kit.
Protocol and enum identifiers are sequential integers and append-only within a protocol version, so a newer package never reinterprets an older identifier.
Distribution Mirrors
Section titled “Distribution Mirrors”pam-native-php and pam-native-ui-php are publication mirrors of their
canonical source repositories. They exist so generated PHP artifacts can be
distributed independently; they are not separate products or alternative
installation paths. See the distribution mirror contract.