• Hi there,

    I plan to use WP for my platform’s frontend and Laravel 5 for my backend work.

    I will not use WP functionality for my core business. But i will need to have a forum in WP and some other lightweight services, alongside the main site.

    1) This means that i will need to have some kind of single sign on between Laravel and WP. How would i do it? I prefer user profiles to be in Laravel as i will need much more info and functionality from what WP profiles.

    2) Look and feel. I have found and worked with soem great WP templates like enfold and X from themeforest. I want to use html metronic template for my backend. are there any best practices when i will try to make them look the same? Is there any top level template that has aWP and HTML version?

    3) Using WP function in Laravel and vice versa. Any opinions / experience in this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

    You want to use WordPress as the site’s front-end, but not use WordPress’es back-end?

    Is there any particular reason for why you aren’t just building a static HTML site or using some other CMS?

    As for the forum, you don’t need WordPress to have a forum, there are plenty of stand-alone forum platforms out there.

    Thread Starter earthdog

    (@earthdog)

    My front end will not be simple and i wan tto have a simple blog platform / subscriptions /forum. Why to build it from scratch?

    My backend on the other hand will be a simple but yet full custom solution that it would be a pain to do in WP.

    Moderator James Huff

    (@macmanx)

    Ok, but here’s where I’m confused. What are you doing on your backend that WordPress can’t do, if you want your frontend just to be WordPress?

    Thread Starter earthdog

    (@earthdog)

    I see,

    My backend will be a platform that each user will maintain in private. Private entries,entities nad custom reporting..I explored the possibility for this to be in WP but i dont think it fits.

    Moderator James Huff

    (@macmanx)

    Ok, so you should probably consider operating these separately, WordPress with your forums on the primary domain, and Laravel on a subdomain, like members.example.com.

    Thread Starter earthdog

    (@earthdog)

    This is what i have started.

    https://www.domain.com -> WP
    my.domain.com -> Laravel

    i just want to sync WP <-> Users having Laravel as primary…

    This is the minimum , and the other is the looks….

    Moderator James Huff

    (@macmanx)

    I’m not aware of any Laravel user integrations myself, and I don’t see any plugin’s for it. Have you checked with the folks at Laravel too?

    As for looks, this might be of interest to you: https://www.ads-software.com/plugins/blade/

    Thread Starter earthdog

    (@earthdog)

    Thanks for the link.

    Of course i have posted also to laravel.io and stackexchange..

    Moderator James Huff

    (@macmanx)

    Excellent, it would be interesting to hear if they have some ideas. ??

    Thread Starter earthdog

    (@earthdog)

    They directed me to this:

    And i am wondering if i just use this in Laravel:

    define('WP_USE_THEMES', true);
    require __DIR__.'/../wordpress/wp-blog-header.php';
    Moderator James Huff

    (@macmanx)

    Yep, theoretically that should work. ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Frontend in WP , backend in Laravel. Some level of integration needed’ is closed to new replies.