- What is startplatz/wordpress-integration-bundle used for?
- It is an open-source Symfony bundle that connects WordPress with Symfony applications through a PHP bridge. It lets you use WordPress content and features alongside your Symfony stack, which is ideal for hybrid CMS setups where editors work in WordPress while Symfony powers the frontend. You would use it when you want to keep WordPress for content management without rebuilding your Symfony app around it.
- How do I install startplatz/wordpress-integration-bundle?
- Install it with Composer by running composer require startplatz/wordpress-integration-bundle. Then enable the bundle in your Symfony application and configure the WordPress path or bridge settings according to the README. You will also need a working WordPress installation that the Symfony app can access.
- Is this package compatible with Laravel?
- No, this is a Symfony bundle, not a Laravel package, so it is not designed to drop into a Laravel application. Laravel developers would need custom integration work or a Laravel-specific WordPress package instead. The bundle relies on Symfony's kernel and service container conventions.
- Which Symfony versions does this bundle support?
- Supported Symfony versions are defined in the package's composer.json and README, so check those before installing. Because the bridge depends on Symfony's kernel and service container, compatibility is tied to the Symfony major version you use. Composer's dependency resolution will confirm whether your project can install it.
- How does the WordPress bridge work inside Symfony?
- The bundle provides a PHP bridge that bootstraps WordPress within a Symfony application context so Symfony services and controllers can access WordPress content and features. It typically handles loading WordPress and wiring it into Symfony's request lifecycle, though the exact setup is documented in the README. This avoids building a separate API layer just to read WordPress content.
- Can I use WordPress as a headless CMS with Symfony through this bundle?
- Yes, that is a primary use case: keep WordPress for editing and expose its content to a Symfony frontend through the bridge. The bundle helps load WordPress inside Symfony so you can query content without a separate headless API. This supports hybrid CMS architectures where each system does what it does best.
- How do I configure WordPress database and path settings?
- WordPress database credentials and salts are configured in WordPress's own wp-config.php, while the bundle configuration in Symfony points to the WordPress installation. You should keep environment-specific settings out of version control and review the README for exact configuration keys. The bridge needs both sides configured correctly to load WordPress.
- How should I test an application that uses this bundle?
- Use Symfony's testing tools and isolate the WordPress bootstrap in functional tests where possible. For unit tests, mock or stub WordPress functions and services so you do not depend on a live WordPress instance. Integration tests should use a dedicated test WordPress database and environment-specific bridge configuration.
- Is startplatz/wordpress-integration-bundle production-ready?
- It is an open-source bundle intended for real hybrid CMS setups, but you should review its release history, open issues, and test coverage before using it in production. Pin a stable version in composer.json and test the WordPress bridge under your expected load. Also apply normal security hardening and caching to the WordPress side.
- What are alternatives to this bundle for WordPress and Symfony integration?
- Alternatives include building a custom WordPress REST API integration, using WordPress as a headless CMS with a separate API layer, or choosing another Symfony WordPress bridge. For Laravel projects, look at Laravel-specific WordPress packages or a custom API integration instead. Evaluate maintenance activity, community support, and fit with your stack before deciding.