behappy/wordpress-bundle
Symfony bundle to integrate WordPress with Symfony: expose Symfony services in WordPress, manipulate WordPress DB via Symfony, create Symfony routes from WordPress, and optionally sync auth/roles and dispatch WP hooks through Symfony EventDispatcher.
wp_get_header(), wp_get_sidebar()), enabling gradual migration of legacy WordPress sites to Symfony.ekino.wordpress.manager.post), allowing CRUD operations on WordPress tables via Symfony services. This is low-risk for controlled integrations but may conflict with WordPress plugins modifying the same tables.ekino-wordpress-symfony plugin enables shared sessions between Symfony and WordPress, with role mapping (e.g., ROLE_WP_ADMINISTRATOR). This is viable for admin-heavy workflows but requires careful testing to avoid permission leaks.wp_head, wp_footer) can be forwarded to Symfony’s EventDispatcher, enabling reactive programming patterns. This is powerful but may introduce latency if events are misconfigured.load_twig_extension option enables native WordPress functions (e.g., get_option()) in Symfony Twig templates. This reduces friction for developers familiar with WordPress but tightens coupling to WordPress internals.var/bootstrap.php.cache modifications).index.php) adds ~50–200ms latency per page load. This is acceptable for admin areas but problematic for high-traffic public sites.ekino-wordpress-symfony plugin for authentication/event bridging.wp_get_header()).ekino.wordpress.manager.post).ekino-wordpress-symfony plugin..htaccess.ab benchmarking).wp_get_header()/wp_get_footer() for legacy compatibility).wp_options, wp_posts, or user tables may conflict with Symfony managers.Request::createFromGlobals() or modifying $_SERVER may break WordPress routing./api/ or /admin/ prefixes./var/www/project/wordpress, /var/www/project/symfony)..htaccess to route requests correctly.ekino-wordpress-symfony plugin.config.yml (e.g., wordpress_directory, security).wordpress/index.php to bootstrap Symfony.security.yml.ekino.wordpress.manager.post).How can I help you explore Laravel packages today?