5-Minute Quickstart
This quickstart follows the Aegean Digital Studio distribution workflow in site/modules/Packages/examples/real-world/.
-
Create a Tier and Package in Setup -> Packages
Open Setup -> Packages -> License Tiers and create
pro(Pro Commercial, modelone_time_updates, 3 production sites, 365 update days, 30% renewal discount). Then open Packages and createbooking-kit(aegean/booking-kit). -
Publish your first release ZIP via CLI
Terminal window php vendor/bin/wire packages:publish booking-kit 2.1.0 ./build/aegean-booking-kit-2.1.0.zip \--changelog="Added multi-currency EUR/USD seasonal matrix and Composer v2 checksums." \--json -
Issue a customer license via CLI or PHP
Terminal window --package=booking-kit \--tier=pro \--model=one_time_updates \--days=365 \--domains=3 \--quantity=1 \--jsonThe CLI prints the plaintext license key once (stored sealed via
KeyCodec). -
Verify a production domain
Your commercial module calls
POST /packages/api/verify:Terminal window curl -X POST https://packages.aegeanvoyages.example/packages/api/verify \-H "Content-Type: application/json" \-d '{"license_key": "PKG-XXXX-XXXX-XXXX","package_slug": "booking-kit","domain": "aegeanvoyages.example","module_version": "2.1.0"}' -
Install via Composer v2
Add the private Composer v2 repository to the customer project’s
composer.json(seesite/modules/Packages/examples/real-world/composer-consumer.json):{"repositories": [{"type": "composer","url": "https://packages.aegeanvoyages.example/composer"}],"require": {"aegean/booking-kit": "^2.1"}}Authenticate with HTTP Basic using the customer email and either their license key or a
pkg_tok_...Composer token generated in/portal/tokens:Terminal window composer config http-basic.packages.aegeanvoyages.example \pkg_tok_your_generated_tokencomposer require aegean/booking-kit