Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ChrisF79's avatar

Best way to use Wordpress with a Laravel App?

Hi everyone,

I have a Laravel app but like most app websites, I need to have a /blog/ so I can write about it regularly. The biggest problem is that I want to use Wordpress and get the benefits of things like Yoast SEO, the comments, plugins, etc. yet there doesn't seem to be a good way to integrate Wordpress and Laravel.

Corcel seemed like the best option until I went to implement it and found out it didn't have comments not did it pull Yoast SEO features out of that table.

Installing Wordpress in /public does not seem like a viable option.

One of the biggest problems is that I want to use my existing layout. I don't want to have to create a Wordpress theme just so it looks like my Laravel site.

For those of you that do have a Wordpress blog running on top of your app, how are you pulling it off? I am dying for help here!

Thanks!

0 likes
5 replies
realrandyallen's avatar

I'm not sure you'll be able to have your cake and eat it too. Either you need to use a different solution for blogging in Laravel or have a subdomain blog.yoursite.com and point it to a different folder on your server where you have Wordpress installed - and you'll have to create a theme to match your Laravel site.

https://laravel-news.com/wordpress-and-laravel

ChrisF79's avatar

I've read that Laravel News article (and its sister article there) a number of times and there's a couple issues. First, it's a bit older. Second, I don't think even he does what he outlines any longer. I'm fairly certain Eric Barnes changed his setup but left that article up. Finally, notice he doesn't have comments. For what I'm doing, the comments are absolutely crucial.

I am SHOCKED something doesn't exist with two powerful platforms that are so common now on the web. Perhaps this is simply my opportunity to create my own Wordpress integration for Laravel with support for popular plugins. Open source it and hope that others will also add to the support.

rawilk's avatar

You could always just create your own blogging system using laravel itself. It wouldn't really be that complicated to do.

ChrisF79's avatar

That's just it. I'm really hoping that I can do this without having to reinvent the wheel since there are so many amazing plugins out there.

Please or to participate in this conversation.