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

T-Hilmi's avatar

Best practices for multisite CMS in Laravel 8

Hello!

I am planning to develop a multisite CMS in Laravel 8 and wondering what practices would be ideal in terms of the structure. The sites should have only one administration panel and the admins will be able to add the same content into one or more sites.

I came across Laravel Multidomain Package but I am concerned about the future updates as it seems touching the Laravel core AFAIU. Do you have any comment or advice about the packages or native solutions?

Thanks a lot 👍

0 likes
1 reply
martinbean's avatar

@terabit-hilmi You don’t need a package at all. I have a multi-tenant CMS myself. There’s a Website model that has a domain column, and then I use domain routing:

Route::domain('{website:domain}')->group(function () {
    // Website routes…
});

No need for packages at all.

2 likes

Please or to participate in this conversation.