- Can I use aimeos/aimeos-symfony in Laravel instead of Symfony? Why do I see Symfony-specific docs?
- No, this package is designed exclusively for Symfony applications. While Laravel and Symfony share PHP foundations, Aimeos relies heavily on Symfony’s dependency injection, routing, and Doctrine ORM. For Laravel, consider alternatives like Bagisto or Laravel Shop. The Symfony-specific docs reflect its native integration with Symfony’s ecosystem.
- What Laravel versions does aimeos/aimeos-symfony support?
- This package does not support Laravel directly. It is built for Symfony 6.3+ and PHP 8.2+. If you’re using Laravel, you’ll need a Symfony bridge (like Symfony’s Laravel integration) or a Laravel-compatible e-commerce package. Always check the [official Symfony compatibility](https://aimeos.org/docs/Symfony/Installation) for the latest requirements.
- How do I install aimeos/aimeos-symfony in a Symfony project?
- Install via Composer with `composer require aimeos/aimeos-symfony`. Follow the [official installation guide](https://aimeos.org/docs/Symfony/Installation) for Symfony 6.3+ setups. Key steps include configuring `aimeos_shop.yaml`, setting up Doctrine entities, and running migrations. The package provides Flex recipes to simplify setup.
- Is aimeos/aimeos-symfony suitable for high-traffic or gigacommerce sites?
- Yes, Aimeos is optimized for high-traffic and gigacommerce with built-in caching (Redis, APCu), database optimizations, and async job processing. For Laravel, you’d need to replicate this setup via Symfony integration or alternative packages. Benchmark early with Aimeos’ CLI tools (`aimeos:benchmark`) to validate performance under load.
- Can I use aimeos/aimeos-symfony for a headless store with Laravel’s API?
- No, this package is Symfony-only. For Laravel headless e-commerce, explore packages like Laravel Nova + Spatie or custom API integrations with Laravel’s built-in tools. Aimeos offers JSON:API support for Symfony, but you’d need a Symfony backend to leverage it. Consider Laravel’s ecosystem for tighter integration.
- How does aimeos/aimeos-symfony handle multi-shop or multi-site setups?
- Aimeos supports multi-shop and multi-site out of the box with shared catalogs or independent stores. For Laravel, this isn’t natively supported, but you could architect a similar system using Laravel’s multi-tenant patterns (e.g., tenant-specific databases or soft-deletes). Aimeos’ Symfony bundle simplifies this with built-in configurations like `aimeos_shop.yaml`.
- What payment gateways are supported, and can I add custom ones?
- Aimeos supports Stripe, PayPal, and Klarna via plugins, plus custom gateways through PSR-11 services. In Laravel, you’d need to integrate gateways like Laravel Cashier or Sentinel for native support. Aimeos’ flexibility allows custom payment logic via event listeners or services, but this requires Symfony expertise.
- Are there performance concerns with aimeos/aimeos-symfony in production?
- Aimeos is performance-optimized but requires proper setup: Redis/Memcached caching, database indexing, and async job queues. For Laravel, ensure your hosting supports these dependencies. Default configs may need tuning; use Aimeos’ benchmarking tools to identify bottlenecks. Laravel’s caching (e.g., Redis) can help, but Symfony’s native integration offers deeper optimizations.
- How do I customize the checkout flow or add B2B-specific features?
- Aimeos supports custom checkout workflows via event listeners, Twig filters, or custom controllers. For B2B, leverage its multi-shop features or extend the admin UI (jqAdmin). In Laravel, you’d need to replicate this logic using Laravel’s service providers, middleware, or packages like Laravel Breeze. Aimeos’ modular design makes extensions easier in Symfony.
- What are the alternatives to aimeos/aimeos-symfony for Laravel?
- For Laravel, consider Bagisto (headless-ready), Laravel Shop (modular), or Spatie’s Laravel packages for e-commerce features. If you need Symfony’s power, explore Laravel’s Symfony bridge or migrate to Symfony entirely. Aimeos is unmatched for complex B2B/gigacommerce in Symfony, but Laravel’s ecosystem offers simpler, native solutions for smaller projects.