Skip to content

Package Certification

The Compatibility Matrix covers Laravel itself and its first-party packages. Real applications also depend on community packages: permissions, media libraries, admin panels, error trackers. Package certification answers one question for each of them: does this package keep working when Laravel stays in memory between requests?

Statuses are integers so tools never depend on spelling:

Value Status Meaning
1 Certified The certification contract passed for the recorded version
2 Provisional Tracked, but no passing certification artifact yet
3 Incompatible The tested release cannot satisfy the contract

A package is only promoted to 1 by a passing, recorded run, never by assumption.

A package is certified when, in a fresh Laravel application with the package installed:

  1. pam composer require resolves it under the package’s own constraints;
  2. package discovery and Artisan boot;
  3. the route list boots;
  4. two persistent PAM workers start; and
  5. 100 requests succeed without leaked state.

The registry was last published on July 25, 2026 with 44 packages (PHP 8.4 at the time):

Status Packages
Certified (10) laravel/framework (12, 13), laravel/sanctum, laravel/reverb, laravel/pulse, laravel/telescope, laravel/scout, laravel/octane, laravel/nightwatch, livewire/livewire, inertiajs/inertia-laravel (13)
Provisional (34) laravel/horizon, laravel/socialite (12); laravel/passport, laravel/cashier, laravel/pennant, laravel/fortify, laravel/jetstream, laravel/boost, filament/filament, spatie/laravel-permission, spatie/laravel-medialibrary, spatie/laravel-activitylog, spatie/laravel-data, spatie/laravel-backup, spatie/laravel-query-builder, spatie/laravel-health, spatie/laravel-settings, spatie/laravel-translatable, spatie/laravel-sluggable, maatwebsite/excel, intervention/image-laravel, predis/predis, sentry/sentry-laravel, bugsnag/bugsnag-laravel, tymon/jwt-auth, stancl/tenancy, dedoc/scramble, knuckleswtf/scribe, owen-it/laravel-auditing, yajra/laravel-datatables-oracle, barryvdh/laravel-debugbar, barryvdh/laravel-ide-helper, nunomaduro/larastan, pestphp/pest-plugin-laravel (13)
Incompatible (0) —

Provisional does not mean broken: it means nobody has published a passing run yet. Certify the packages you depend on yourself (below).

Terminal window
pam artisan pam:compatibility
pam artisan pam:compatibility spatie/laravel-permission --refresh
pam artisan pam:compatibility --json

The command downloads the registry over HTTPS (at most 2 MiB), caches it in storage/pam/compatibility.json, and prints package, constraint, status, category, and Laravel majors. --refresh re-downloads.

A registry is a JSON document with "schema": 2 and a packages array:

laravel-packages.json
{
"schema": 2,
"packages": [
{
"name": "spatie/laravel-permission",
"constraint": "*",
"category": 6,
"status": 1,
"laravel": [13]
}
]
}

Categories are integers too: 1 Laravel first-party, 2 application UI, 3 domain tooling, 4 data, media and infrastructure, 5 observability, 6 authentication and multitenancy, 7 API and back office, 8 development and quality.

Run the contract against the package and version you actually deploy:

Terminal window
pam init /tmp/certify --template laravel
cd /tmp/certify
pam composer require pushinbr/pam-laravel spatie/laravel-permission
pam artisan package:discover
pam artisan route:list > /dev/null
PAM_PORT=3900 PAM_LARAVEL_STATE_GUARD_STRICT=true \
pam start pam.php --workers 2 --admin-address 127.0.0.1:3901 &
PAM_PID=$!
until curl -sf http://127.0.0.1:3901/ready > /dev/null; do sleep 0.2; done
for _ in $(seq 1 100); do curl -sf http://127.0.0.1:3900/api/ping > /dev/null || echo FAILED; done
kill -TERM "$PAM_PID"

Then go further than discovery: add a route that uses the package’s main feature (assign a role and check it, upload media, render a table), call it with different users in sequence, and run the persistent smoke test. Record the exact version from composer.lock.

These patterns, common in packages, deserve a closer look on any persistent runtime:

  • Static caches keyed by user, tenant, or model (permission and tenancy packages). Check the package’s Octane notes; PAM needs the same resets.
  • Singletons holding the request, the authenticated user, or the current tenant.
  • Debug toolbars (Debugbar, Telescope in local mode) that collect data per request: keep them out of production workers.
  • Global ini_set()/setlocale() in service providers.

If a package documents Octane support, it handles these already: the same code is safe on PAM.