Looking to hire Laravel developers? Try LaraJobs

summae-laravel maintained by superheld

Description
Laravel adapter for summae-core: service provider, database persistence, migrations
Last update
2026/08/29 23:28 (dev-main)
License
Downloads
75

Comments
comments powered by Disqus

superheld/summae-laravel

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.