Laravel 5 ORM Model By default exclude inactive results.

This is a way you can automatically exclude all inactive/invisible results from your model ORM queries.

You can they use a static function on the model to override it and show all results (useful for an admin area to show all results).


Sam Deering

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

Leave a Reply

Your email address will not be published. Required fields are marked *