You can explicitly bind objects to routes. You don't have to use route model binding only. Custom objects work perfectly well too

You can explicitly bind objects to routes. You don't have to use route model binding only. Custom objects work perfectly well too

This example is from Tenancy v2 when we had an ActiveRecord-style custom Tenant object.

We're writing a book, you can get it for free here.