rapidwebltd/improved-polymorphic-eloquent-builder (packagist): Attempting to use whereHas queries with standard Eloquent polymorphic relationships will fail, due to Eloquent being unable to determine the correct model to retrieve. The 'Improved Polymorphic Eloquent Builder' is a class which extends the Eloquent Builder class that is built in to Laravel 5.1. It enables limited use of the whereHas method to query Eloquent polymorphic relationships.
Keywords: laravel|eloquent|polymorphic|polymorphism|Laravel Eloquent|laravel-5-package|polymorphic-relationships|relationships