PHPackages                             mrmadclown/laravel-utilities - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrmadclown/laravel-utilities

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mrmadclown/laravel-utilities
============================

v3.0(5y ago)023[1 issues](https://github.com/MrMadClown/laravel-utilities/issues)[4 PRs](https://github.com/MrMadClown/laravel-utilities/pulls)MITPHPPHP ^8.0

Since Sep 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/MrMadClown/laravel-utilities)[ Packagist](https://packagist.org/packages/mrmadclown/laravel-utilities)[ RSS](/packages/mrmadclown-laravel-utilities/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (10)Used By (0)

Laravel-Utilities
=================

[](#laravel-utilities)

[![Build Status](https://camo.githubusercontent.com/de7bf2aa840cfe0dc64f0f6e76798a8f2a654148f823ebc653a801eddbd7374c/68747470733a2f2f7472617669732d63692e6f72672f4d724d6164436c6f776e2f6c61726176656c2d7574696c69746965732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MrMadClown/laravel-utilities)[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)[![Latest Stable Version](https://camo.githubusercontent.com/04301c59e0d02c79dab0740f05bd052715db792db578b717478398b7fc7ec8ef/68747470733a2f2f706f7365722e707567782e6f72672f6d726d6164636c6f776e2f6c61726176656c2d7574696c69746965732f762f737461626c652e737667)](https://packagist.org/packages/mrmadclown/laravel-utilities)[![Total Downloads](https://camo.githubusercontent.com/d31818ad3c349bea7dd8089965fadaffaf0bb7962c1f2588e00cf644ccd63e61/68747470733a2f2f706f7365722e707567782e6f72672f6d726d6164636c6f776e2f6c61726176656c2d7574696c69746965732f646f776e6c6f616473)](https://packagist.org/packages/mrmadclown/laravel-utilities)

Installation
------------

[](#installation)

```
composer require mrmadclown/laravel-utilities
```

Usage
-----

[](#usage)

If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php

```
MrMadClown\LaravelUtilities\ServiceProvider::class,
```

### Commands

[](#commands)

The ListModelsCommand takes a ModelClass (or Morph Alias) and multiple filter arguments. The filter structure: \[column\]:\[operator\]\[value\] or you can leave out the operator \[column\]:\[value\] (will resolve to '=') A '\*' will resolve to 'CONTAINS'.

```
php artisan app:list user
php artisan app:list \App\User::class
php artisan app:list user first_name:luc
php artisan app:list user age:
