novosga/reports-bundle
Symfony bundle for Novo SGA that adds report management: define and organize report templates, generate reports from service and attendance data, and export results for operational reporting and analysis.
novosga/reports-bundle is a Symfony bundle for Novo SGA reporting, not a Laravel-native package. In v2.3.0 the main day-to-day change is that report envelopes now receive the timezone configured on the Unidade (unit), rather than relying on a default timezone.
Minimal steps:
v2.2.3 unless they upgrade Symfony first.composer require novosga/reports-bundle:^2.3.config/bundles.php) and import/configure its services as documented by the bundle. There is no Laravel service provider or php artisan vendor:publish workflow.src/, report templates, and any Envelope/Unidade related classes. Those are the key integration points for the v2.3.0 timezone change.Envelope uses the unit’s timezone. Test with a non-default timezone and a DST boundary.For Laravel developers, treat this as a Symfony package you may call from a Symfony service, a standalone reporting service, or an internal API — not as a package you would normally drop directly into a Laravel app.
Unidade/unit context into the report service, then let the bundle construct the Envelope. In v2.3.0 you should not manually set the envelope timezone from app config if the unit already has one.Unidade (e.g. America/Sao_Paulo). Use the unit timezone consistently for report headers, generated timestamps, and scheduled report windows.composer update, clear the Symfony cache, run your test suite, and review deprecation logs. The release includes Symfony 7.4 deprecation fixes, but your app may still surface its own deprecations.v2.2.3 until the Symfony upgrade is complete.Envelope. An empty, null, or invalid Unidade timezone can still cause errors or fallback behavior. Validate timezone values at write time and handle missing timezones explicitly.How can I help you explore Laravel packages today?