- Can I use araise/table-bundle in a Laravel project, or is it strictly for Symfony?
- This bundle is designed for Symfony 6.x+ and leverages Symfony’s ecosystem (Doctrine, Twig, DI). While Laravel shares some concepts, direct integration isn’t supported. For Laravel, consider alternatives like Laravel DataTables or Spatie’s Laravel-Permission for table management.
- What Laravel versions does araise/table-bundle support?
- It does not support Laravel directly. The bundle requires Symfony 6.0+ and PHP 8.0+, so it’s incompatible with Laravel’s ecosystem. If you need a Laravel-native solution, explore packages like RapidAdmin or FilamentPHP.
- How do I install araise/table-bundle in a Symfony project?
- Run `composer require araise/table-bundle`, then enable it in `config/bundles.php`. Configure Tailwind CSS and Webpack (if not already set up) by following the [official docs](https://table.docs.araise.dev/). No additional Laravel-specific steps are needed.
- Does araise/table-bundle work with custom data sources beyond Doctrine?
- Yes, it supports non-Doctrine data via `ArrayDataLoader`. You can pass arrays, API responses, or static collections. The bundle’s modular design allows flexibility for hybrid data sources, though Doctrine integration is its primary use case.
- How does pagination and performance scale for large datasets (e.g., 10,000+ rows)?
- The bundle uses Doctrine’s pagination (e.g., `setMaxResults()`) and supports query optimization via custom DQL. For large datasets, enable lazy-loading or implement query caching. The [docs](https://table.docs.araise.dev/) cover advanced filtering strategies.
- Is Tailwind CSS mandatory, or can I use Bootstrap or another CSS framework?
- Tailwind CSS is required for styling. While you can override styles via custom SCSS, the bundle’s UI components are tightly coupled to Tailwind. If your project uses Bootstrap, consider alternatives like Laravel Nova or Backpack for Laravel.
- How do I add custom filters or formatters for my Doctrine entities?
- Extend the bundle’s filter/formatter system by implementing `core.formatter` or `araise_table.filter` services. For example, create a custom `AjaxRelationFilterType` for complex relationships. The [core bundle docs](https://core.docs.araise.dev/) detail service tagging.
- Are there any known conflicts with other Symfony bundles like EasyAdmin or API Platform?
- No direct conflicts are documented, but test for CSS/JS clashes if using multiple UI-heavy bundles. araise/table-bundle prioritizes Symfony’s DI container, so conflicts are unlikely unless bundles override the same Twig/Doctrine services.
- How do I handle non-German translations for table labels or UI elements?
- The bundle defaults to German but supports custom translations via YAML/JSON files. Override translations in `config/packages/araise_table.yaml` or submit PRs to the repo. For Laravel, consider using packages like Laravel Localization for multi-language support.
- Does araise/table-bundle include tests, and how can I contribute fixes or features?
- The bundle includes unit and integration tests (check the `tests/` directory). Contributions are welcome via GitHub PRs. Follow the [araise.dev contribution guidelines](https://github.com/araise-dev/.github) for coding standards and testing requirements.