Support the ongoing development of →
Last updated by @tauchvogel 2 years ago.

Hello @tauchvogel

First of all welcome here :)

I think that for the login part you can use a starter kit and I suspect that Laravel Breeze is a good fit:

For the content page, is it text/an image/video?

You can have a controller like this:

namespace App\Http\Controllers;
use Illuminate\Http\Request;
class PersonalContentController
    public function __invoke(Request $request)
        $contentForUser = PersonalContent::where('user_id', $request->user()->id)->get();
        return view('personalcontent')->with('contentForUser', $contentForUser);

And in your personalcontent.blade.php something like

@foreach($contentForUser as $content)
{{ $content}}

Thank you for your answer.

Could you please explain the code to me?

I would display content cards to the specific users.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

maddin tauchvogel Joined 2 May 2022


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.