superheld / summae-laravel
Laravel adapter for summae-core: service provider, database persistence, migrations
v0.5.0
2026-06-22 23:27 UTC
Requires
- php: >=8.3
- illuminate/database: ^11.0|^12.0
- illuminate/support: ^11.0|^12.0
- superheld/summae-core: *
README
Laravel integration of summae: ServiceProvider, database persistence
(summae_* tables), migrations. The framework-free core
(superheld/summae-core) comes along automatically as a dependency — you
install one package.
composer require superheld/summae-laravel php artisan migrate
The ServiceProvider is registered automatically via package discovery. Without further configuration the package uses your app's default DB connection.
use Summae\Core\Substrate\Currency; use Summae\Core\Composition\TenantOperations; use Summae\Laravel\DatabaseTenantFactory; $tenant = app(DatabaseTenantFactory::class)->build('Example Ltd', Currency::of('EUR')); $ops = new TenantOperations($tenant);
📖 Full documentation — configuration (custom DB connection,
SUMMAE_DB_CONNECTION, migration), initialization, complete API reference,
error catalog: summae handbook.
License: MIT — see LICENSE.