se7enxweb / exp_package_registry

Exponential Packages

se7enxweb/exp_package_registry

The Exponential package registry: a Packagist port with Composer v2 metadata, signed dist zips, private packages by license key, REST and GraphQL APIs, a web front and a CI hook per release

composer require se7enxweb/exp_package_registry

exp_package_registry

The Exponential package registry: a Composer repository with a web front, ported from Packagist to an Exponential extension. It runs packages.exponential.earth and, with the same code, packages.se7enx.com.

  • Submit a package by the URL of its git repository (GitHub, GitLab, any git host, private repositories with a credential). A queued job (expqueue) crawls it: every tag that is a version becomes a release, every branch a dev version; a systemd timer crawls again every few hours.
  • Composer v2: packages.json and p2/<vendor>/<name>.json (minified), with dist zips built here, checksummed (SHA-1, SHA-256) and signed (Ed25519), stored outside the web root. Modes: composer (default), metadata (code from the VCS host), api (REST and GraphQL only).
  • Private packages: metadata and zips only with a license key, as Composer http-basic or bearer.
  • APIs: Packagist's (packages/list.json, search.json, packages/<name>.json), REST under rest/ and GraphQL.
  • Web front: search, package pages with versions, readme, maintainers, downloads and checks; statistics; submission. Admin pages in Setup > Package registry (packages, license keys, checks), built to the admin4 rules.
  • A CI hook per release: php -l, composer audit, encoded code, license and docs, the kernel's design and API rules, phpcs and phpstan; blocking failures keep a release out of the metadata.

Works on MySQL/MariaDB, PostgreSQL, SQLite, Oracle and MongoDB.

Install

composer require se7enxweb/exp_package_registry
# settings/override/site.ini.append.php: ActiveExtensions[]=exp_package_registry
php bin/php/ezpgenerateautoloads.php -e
./console ext:exp_package_registry:install-schema
./console ext:exp_package_registry:timer install        # root; --dry-run shows the units

Then set [Registry] PublicURL and [Storage] DataDir (outside the web root) in settings/override/exppackageregistry.ini.append.php, and the vhost rules of doc/hosting.md.

Use it

composer config repositories.exponential composer https://packages.exponential.earth
composer require vendor/package
# a private package:
composer config http-basic.packages.exponential.earth <account> <license key>

Documentation

License

GNU General Public License v2.0 (or any later version). The version normalization follows composer/semver and the metadata minification composer/metadata-minifier (both MIT).

Official status: Officially Supported for Exponential 6.

Versions

Version Released Requires Checks Downloads
v1.0.1 held back
f03e9d9e3313
2026-12-03 19:02 UTC php >=8.0 ext-json * ext-mbstring * ext-zip * se7enxweb/exponential ^6.0.14 se7enxweb/exponential-legacy-installer ^2.2.6 failed 0
v1.0.0 held back
843c495ac48b
2026-12-03 02:20 UTC php >=8.0 ext-json * ext-mbstring * ext-zip * se7enxweb/exponential ^6.0.14 se7enxweb/exponential-legacy-installer ^2.2.6 failed 0
dev-main dev
f03e9d9e3313
2026-12-03 19:02 UTC php >=8.0 ext-json * ext-mbstring * ext-zip * se7enxweb/exponential ^6.0.14 se7enxweb/exponential-legacy-installer ^2.2.6 – 0

Checks of v1.0.1

failed 7 of 10 checks passed, 1 failed (1 blocking: the release is held back) cluster · 2026-12-03 21:07 UTC

Check Result Details
PHP syntax passed 75 PHP files on PHP 8.1, 8.3, 8.5
Known vulnerable dependencies passed no known vulnerabilities in a lock resolved for its requirements
Encoded or obfuscated code failed blocks 1 files look encoded or obfuscated
1
  • tests/unit/ScannerRulesTest.php: ionCube or SourceGuardian encoded file
License passed GPL-2.0-or-later (LICENSE)
README and changelog passed README.md, CHANGELOG.md
Design rules (templates) passed 19 templates follow the design rules
API and architecture rules passed 7 rules, no finding
Code style (phpcs) skipped the kernel's dev tools are not installed here (make devtools); the cluster runner runs it
Static analysis (phpstan) skipped runs on the cluster runner ([Scan] Phpstan=disabled here)
Compatibility matrix passed 6 cells: 6 passed, 0 failed, 0 skipped

Compatibility matrix

Exponential PHP Database State Checked
6.0.x 8.1 mysql passed PHP 8.1: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; mysql: 6 schema statements ran
6.0.x 8.1 postgresql passed PHP 8.1: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; postgresql: 27 schema statements ran
6.0.x 8.1 sqlite passed PHP 8.1: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; sqlite: 17 schema statements ran
6.0.x 8.5 mysql passed PHP 8.5: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; mysql: 6 schema statements ran
6.0.x 8.5 postgresql passed PHP 8.5: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; postgresql: 27 schema statements ran
6.0.x 8.5 sqlite passed PHP 8.5: 75 files lint clean; se7enxweb/exponential ^6.0.14 allows 6.0.x; sqlite: 17 schema statements ran