Azure Commercial Marketplace SaaS integration for Laravel applications.
ziptied/bedrock is a Laravel package for azure commercial marketplace saas integration for laravel applications..
It currently has 0 GitHub stars and 18 downloads on Packagist.
Install it with composer require ziptied/bedrock.
Discover more Laravel packages by ziptied
or browse all Laravel packages to compare alternatives.
Last updated
Azure Commercial Marketplace SaaS plumbing for Laravel applications. Bedrock replaces the Microsoft SaaS Accelerator with a first-class, testable package that integrates cleanly with Laravel's queues, events, HTTP client, and Cashier-compatible database layout.
Install the package via Composer:
composer require ziptied/bedrock
Publish the configuration and database migrations:
php artisan vendor:publish --provider="Ziptied\\Bedrock\\AzureMarketplaceServiceProvider"
php artisan migrate
Register your own marketplace provisioner implementation (optional) by binding the Ziptied\Bedrock\Domain\Contracts\Provisioner interface in your AppServiceProvider or a dedicated service provider.
All settings live in config/azure_marketplace.php:
App\Models\User).['api'] plus the signed request middleware.Environment variables such as AZURE_MP_TENANT_ID, AZURE_MP_CLIENT_ID, AZURE_MP_CLIENT_SECRET, AZURE_MP_WEBHOOK_SECRET, and AZURE_MP_ROUTE_PREFIX can be set to tailor behavior per environment.
LandingController orchestrates resolve → provision → activate using the LandingResolveActivatePipeline.WebhookController validates signatures, ensures idempotency, dispatches specific action handlers, and optionally triggers the ACK loop.ActivateSubscriptionAction, ApplyChangePlanAction, EmitMeteringBatchAction, etc.) is encapsulated in a dedicated, easily testable action class.SubscriptionResolved, PlanChanged, and QuantityChanged enable application-level integrations.EmitMeteringBatchAction (and the accompanying console command) submit batched usage events to Microsoft and persist responses for auditing.Refer to the tests/ directory for example-driven documentation of each action.
The project ships with a comprehensive Pest suite.
composer test
Tests execute inside an in-memory SQLite database via Orchestra Testbench. Custom migrations for your application can be placed under tests/database/migrations and will be executed automatically.
composer install and composer test locally.Bedrock is open-sourced software licensed under the MIT license.