Acces to data using relationships Laravel
问题 i want to access to data in the function of the controller using relationships on Laravel. I will explain first my code: I have 3 tables, projects, client and client_project. At this moment, client_project don't have any relationship, i just add it manually. Now i want to use relationships on laravel, but it's a bit confusing (for me at least). I think it's not too much important the code of projects and clients table, just have id like primary key, and some fields more. My migration of