- Can I use this bundle for Laravel projects instead of Symfony?
- No, this bundle is designed exclusively for Symfony applications using EasyAdmin. Laravel developers should explore alternatives like Laravel Meta Manager or Spatie SEO Tools.
- What Laravel/EasyAdmin versions does this bundle support?
- This bundle is for Symfony (not Laravel) and requires EasyAdmin 3.4+ or 4.0+. Symfony 5.4+ or 6.4+ is supported, depending on the bundle version (2.x or 3.x).
- How do I add SEO fields to my EasyAdmin CRUD interface?
- Use the `SEOField::new('seo')` method in your CRUD controller’s `configureFields()` method. Ensure your entity includes the `EntitySeoTrait` for automatic SEO property handling.
- Does this bundle work with custom Twig templates?
- Yes, it provides Twig helpers like `{{ seo_title() }}`, `{{ seo_metas() }}`, and `{{ seo_breadcrumb() }}`. Replace manual meta tag logic with these helpers for consistency.
- What happens if I don’t use EasyAdmin?
- This bundle is tightly coupled with EasyAdmin. Without it, you’ll need a standalone Symfony SEO bundle like SonataProject SEO Bundle or FOSSEOBundle.
- Can I customize SEO titles dynamically via events?
- Yes, listen to the `easyseo.title` event in your services to modify titles dynamically. The event provides the current title and entity as arguments for custom logic.
- Does this bundle add database tables for SEO data?
- No, SEO metadata is stored directly in your entity properties (e.g., `title`, `description`). No additional database migrations are required.
- How do I generate XML sitemaps with this bundle?
- Install the optional `presta/sitemap-bundle` and configure it separately. The Easy SEO Bundle does not natively support sitemaps but integrates with Presta’s bundle for this feature.
- Is this bundle compatible with PHP 8.0 or older versions?
- Version 2.x supports PHP 8.0.2+, while 3.x requires PHP 8.2+. Check the [README](https://github.com/agence-adeliom/easy-seo-bundle) for exact version compatibility.
- What are the risks of using this bundle in production?
- The bundle is relatively new with limited community adoption (8 GitHub stars). Test thoroughly in staging, especially if using optional dependencies like `easy-media-bundle`. Monitor for breaking changes in Symfony 6.4+.