- How do I install harel-systems/table-bundle in a Laravel application?
- Install the package with Composer using composer require harel-systems/table-bundle. In Laravel, package discovery should register the service provider automatically; publish any package configuration with php artisan vendor:publish if configuration files are provided. Then define tables declaratively and render them from your controllers or views.
- Which Laravel and PHP versions does harel-systems/table-bundle 0.16.0 support?
- The provided assessment does not list exact Laravel and PHP version constraints for 0.16.0. Treat the package's Composer metadata as authoritative and confirm it against your application's PHP and Laravel matrix before adoption. Because 0.16.0 requires Openspout v5, your PHP version must also satisfy that dependency.
- Does harel-systems/table-bundle require Openspout v5, and what happens if my app uses v4?
- Yes, release 0.16.0 requires Openspout v5, which is a breaking dependency change from v4. If your Laravel application still pins Openspout v4 directly or transitively, Composer resolution will fail or force a broader dependency upgrade. Confirm whether the requirement applies to all runtime paths or only export paths, and run contract tests on the public table and export API.
- How do I configure sortable columns, filtering, pagination, and row actions?
- Define columns and rows declaratively, then enable sorting, filtering, pagination, and row actions through the package's table definition or configuration API. Keep table structure in dedicated classes and presentation in Blade or other views so the behavior stays reusable. Confirm the exact option names in the package README and source for version 0.16.0.
- Can I use harel-systems/table-bundle for admin listings and reports?
- Yes, the package is intended for consistent admin listings and reports where tables share sorting, filtering, pagination, and row actions. It keeps table structure separate from presentation, which helps maintain consistent rendering across views. For exports, standardize on the package's Openspout v5 integration rather than mixing writer implementations.
- How should I test table rendering and exports with this package?
- Baseline table output and any generated export files with golden-file fixtures, then run regression tests after dependency changes. Include tests for sorting, filtering, pagination, row actions, empty results, large result sets, and date or formula formatting in CSV and XLSX output. Use contract tests to confirm the public API remains stable when upgrading Openspout to v5.
- What are the production concerns for large tables or queued exports?
- For large tables, watch memory usage, query efficiency, and whether exports run in queued jobs rather than web requests. Confirm that queue workers, CLI processes, and web requests all resolve Openspout v5 consistently, and use Laravel filesystem disks for generated files. Canary one low-risk export job in staging before rolling out to production.
- How do I migrate from an earlier version or Openspout v4 to 0.16.0?
- Inventory direct and transitive Openspout constraints with Composer, upgrade Openspout to v5 in an isolated branch, then adopt package 0.16.0 and run dependency resolution in CI. Compare existing export fixtures before and after, review intervening changelogs, and treat the move as a coordinated dependency upgrade rather than a routine patch. Greenfield applications should pin both package 0.16.0 and Openspout v5 from the start.
- Are there alternatives to harel-systems/table-bundle for Laravel data tables?
- Alternatives include building table definitions in-house, using Laravel Livewire table packages, or adopting other Laravel datatable and export packages. Choose based on whether you need declarative table definitions, built-in sorting, filtering, pagination, and Openspout v5-based exports. Check each alternative's Laravel and PHP support matrix and dependency graph before switching.
- What is the maintenance and support policy for harel-systems/table-bundle?
- The provided assessment does not state a formal support policy, release cadence, or security-response expectation for harel-systems/table-bundle. A technical owner should require clear ownership of the package, Openspout, and the Laravel and PHP runtime matrix. Confirm maintainer support terms and release cadence before treating it as a platform capability.