Laravel - Relationships - Eager Loading Multiple Relationships

Sometimes you may need to eager load several different relationships. To do so, just pass an array of relationships to the with method:

    
    $books = Book::with(['author', 'publisher'])->get();