What do you mean when you say multiple joins? Do you mean one parent entity with many child entities, or a parent entity with a child entity, which in turn is the parent of another and so on. For the first type of relationship the documentation gives good examples. First you need to set up the relationships so that gasorm knows how tables relate to each other:
Once you have done that, you can use the with() function. Here is an example from:
There is an entity called user, and the relationships between the (has many)kid, (has one)wife and (has many)job entities have been created so that the command below creates the joins and retrieves the corresponding records for all users.
$users = Model\User::with('wife', 'kid', 'job')->all();
If there is a chain of parent/child entities, the above command could be used to get the initial parent/child relationship, then the command below can be used to fetch only the child entity details of further entities.
Depending on the source of your download you may have to watch your capitalization as the link below discusses, as I vaguelly remember I had the problem with capitalization too first time round: