- Is acrnogor/audit-api-bundle a Laravel package or a Symfony bundle?
- It is a Symfony bundle, not a Laravel-native package. It exposes services and endpoints for recording and querying audit trails. Laravel teams can evaluate it via Composer, but should expect Symfony-style configuration and integration work.
- How do I install acrnogor/audit-api-bundle with Composer?
- Install it with Composer using the package name acrnogor/audit-api-bundle. Because it is a Symfony bundle, you will typically register it in your Symfony application's bundle configuration. Check the repository README for the exact registration and configuration steps.
- What is acrnogor/audit-api-bundle used for?
- It provides an audit API for capturing change events and keeping a searchable history of who changed what and when. The bundle supplies services and endpoints for recording and querying audit trails. It is intended for applications that need a consistent audit log exposed through an API.
- Can I use acrnogor/audit-api-bundle in a Laravel application?
- It is built as a Symfony bundle, so it is not designed for Laravel's service container or routing out of the box. Laravel developers could theoretically use Composer to pull it in, but integration would require Symfony-compatible wiring. For a Laravel-native audit trail, consider Laravel-specific packages instead.
- How do I configure the audit API endpoints and services?
- Configuration is handled through Symfony bundle conventions, such as service definitions and bundle configuration. The exact service IDs, routes, and options are not specified in the provided context. Refer to the repository README for configuration details.
- Does acrnogor/audit-api-bundle support Laravel 10 or Laravel 11?
- There is no indication that this package targets Laravel 10 or Laravel 11, because it is a Symfony bundle. Laravel version support is not part of its stated scope. You should verify compatibility in the repository before assuming it will work in a Laravel app.
- How can I test the audit trail recording and querying?
- Testing will depend on the bundle's services and endpoints, which are not detailed in the provided context. In a Symfony app, you would typically write functional tests against the audit API routes and unit tests around the recording services. Check the repository for any provided test suite or examples.
- What should I consider before using acrnogor/audit-api-bundle in production?
- Review how the bundle stores audit data, how the API is secured, and whether its endpoints meet your access-control requirements. Since it exposes an audit API, authentication and authorization are important production concerns. Also confirm maintenance activity and compatibility with your Symfony version.
- What are alternatives to acrnogor/audit-api-bundle for Laravel audit logging?
- Laravel developers often use Laravel-specific audit packages such as owen-it/laravel-auditing or spatie/laravel-activitylog. These integrate with Eloquent models and Laravel's service container. The acrnogor bundle may still be relevant if you are running a Symfony service alongside Laravel.
- Is acrnogor/audit-api-bundle actively maintained?
- The provided context does not include maintenance status, release history, or issue activity. You should check the GitHub repository for recent commits, open issues, and tagged releases. Maintenance activity is a key factor when evaluating any Composer package.