beautycoding/modelutils
Model utils for laravel
126
Larablocks Analysis
beautycoding/modelutils works with any PHP project: the latest release (1.2.0, Jun 20, 2016) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Jun 20, 2016)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jun 20, 2016.
- No releases in the last 12 months.
- First released: Mar 16, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 26, 2026.
| Install | |
|---|---|
composer require beautycoding/modelutils |
|
| Latest Version: | 1.2.0 |
| License: | MIT |
| Last Updated: | Jun 20, 2016 |
| Links: | GitHub · Packagist |
Maintainer: beautycoding
ModelUtils (Laravel 5 Package)
In order to install Laravel 5 ModelUtils, just add
"beautycoding/modelutils": "dev-master"
to your composer.json. Then run composer install or composer update.
Then in your config/app.php add
BeautyCoding\ModelUtils\ModelUtilsServiceProvider::class,
Publish config:
php artisan vendor:publish
Edit config file config/modelutils.php with own namespace.
Use in proper model trait UuidModel:
<?php
use Illuminate\Database\Eloquent\Model;
use BeautyCoding\ModelUtils\Traits\UuidModel;
class User extends Model
{
use UuidModel; // add this trait to your model
...
}
Model has to have field named uuid (32characters long). Check RFC for more information.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT | |
| 0.0.1 | MIT |