Looking to hire Laravel developers? Try LaraJobs

summae-laravel maintained by superheld

Description
Laravel-Adapter für summae-core: ServiceProvider, Eloquent-Persistenz, Migrationen
Last update
2026/06/19 08:24 (dev-main)
License
Downloads
1

Comments
comments powered by Disqus

superheld/summae-laravel

Laravel-Integration von summae: ServiceProvider, Eloquent-Persistenz (summae_*-Tabellen), Migrationen. Der framework-freie Kern (superheld/summae-core) kommt automatisch als Abhängigkeit mit — du installierst ein Package.

composer require superheld/summae-laravel
php artisan migrate

Der ServiceProvider wird per Package-Discovery automatisch registriert. Ohne weitere Konfiguration nutzt das Package die Default-DB-Connection deiner App.

use Summae\Core\Shared\Currency;
use Summae\Core\Composition\TenantOperations;
use Summae\Laravel\EloquentTenantFactory;

$tenant = app(EloquentTenantFactory::class)->build('Muster GmbH', Currency::of('EUR'));
$ops    = new TenantOperations($tenant);

📖 Vollständige Dokumentation — Konfiguration (eigene DB-Connection, SUMMAE_DB_CONNECTION, Migration), Initialisierung, komplette API-Referenz, Fehlerkatalog: summae-Handbuch.

Lizenz: MIT — siehe LICENSE.