- What is novosga/core used for?
- It is the core domain package for Novo SGA v2, the open-source queue management system. It provides the entities, services, and business logic behind service ticketing and attendance, including units, priorities, queues, and reporting. Most teams use it as a dependency of the full Novo SGA application rather than building a queue system from scratch.
- How do I install novosga/core with Composer?
- Install it with composer require novosga/core. Depending on how the package registers itself, you may then need to publish configuration or run migrations in your Laravel application. In most setups it is pulled in transitively by the main Novo SGA application, so check the requirements listed in its composer.json first.
- Which Laravel versions does novosga/core support?
- The package targets Laravel-based PHP applications, and it is part of the v2 generation of Novo SGA. The exact Laravel and PHP version constraints are declared in the package's composer.json on Packagist. Check those constraints before upgrading, since the core is generally tied to the Laravel version used by the matching Novo SGA release.
- Can I use novosga/core without the full Novo SGA application?
- It is designed as the domain layer of Novo SGA, so it assumes concepts such as units, queues, priorities, and tickets. You can depend on it directly inside your own Laravel app, but you will usually need to wire up persistence, authentication, and a user interface yourself. Developers who want a working system out of the box typically install the complete Novo SGA distribution instead.
- What entities and domain models does novosga/core provide?
- It covers the core queue-management domain: units, priorities, queues, tickets, and attendance records, along with supporting services and reporting logic. These are the building blocks used to issue tickets and track service attendance. Exact class names and namespaces are best confirmed from the source or generated API documentation after installation.
- How do I configure units, priorities, and queues in novosga/core?
- Units, priorities, and queues are domain entities, so they are normally configured through your application's database rather than static config files. Look for migrations and seeders in the package or in the main Novo SGA app to create the initial schema. You can then customize behavior with your own services or repositories built on top of the core.
- Does novosga/core include reporting and attendance statistics?
- Reporting is part of the described domain, covering attendance and service ticketing data. What is actually available depends on the package version, so review the services and repositories in the source. For custom reports you can query the underlying tables directly or extend the provided services.
- How do I test an application that depends on novosga/core?
- Use a dedicated test database such as SQLite in memory or a separate MySQL or PostgreSQL schema, and run the package migrations as part of your test setup. Because it is a domain package, you can unit test your integrations against its services directly. Mock external concerns like authentication or ticket printing where they are not under test.
- Is novosga/core actively maintained and safe for production?
- Novo SGA is a long-running open-source project used in real service-desk deployments, and v2 is its Laravel-based generation. Before adopting it, check the latest release date, open issues, and commit activity on the repository. Pin a specific version in composer.json and review the changelog before upgrading in production.
- What are the alternatives to novosga/core for queue management in Laravel?
- Alternatives include general-purpose ticketing or helpdesk packages, or implementing queue logic yourself with Laravel models, events, and queues. The advantage of Novo SGA is its mature domain model for ticket issuance, priority handling, and attendance reporting. If you need a complete queue-management system with a UI, the full Novo SGA application is more practical than the core package alone.