php – how to make a search engine in laravel with related tables

hello hello to the community today, i would like to ask you how to create an application field in laravel, but this is related to other tables. Here, in the example, I only look directly at the installer's ID and I have to search for it by name, but when I try to link it by getinstalador A hint gives me there an error? I would be grateful