A search trait for Laravel PHP