PHPackages                             illegal/laravel-utils - 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. illegal/laravel-utils

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

illegal/laravel-utils
=====================

Laravel Utils is a collection of useful tools for Laravel.

v1.2(3y ago)03.1k3MITPHPPHP ^8.1

Since Mar 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/illegalstudio/laravel-utils)[ Packagist](https://packagist.org/packages/illegal/laravel-utils)[ RSS](/packages/illegal-laravel-utils/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (3)

Laravel Utils
=============

[](#laravel-utils)

This repository contains a collection of useful classes and traits for Laravel.

It is used mainly for [illegal studio](https://github.com/illegalstudio) projects.

HasPrefix
---------

[](#hasprefix)

This traits can be used to add a prefix to your model's table name.

```
class MyModel extends Model
{
    use HasPrefix;

    protected $prefix = 'my_prefix_';
}
```

Alternatively you can use the `getPrefix` method to set the prefix.

This is useful if you want to set the prefix dynamically.

```
class MyModel extends Model
{
    use HasPrefix;

    public function getPrefix()
    {
        return config('my.prefix');
    }
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Total

3

Last Release

1099d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d45226dc1c994059bfb274dc3a8a69a45154cdab95c17b18e7fdb804c31202c?d=identicon)[illegalvuppi](/maintainers/illegalvuppi)

---

Top Contributors

[![nahime0](https://avatars.githubusercontent.com/u/436702?v=4)](https://github.com/nahime0 "nahime0 (8 commits)")

### Embed Badge

![Health badge](/badges/illegal-laravel-utils/health.svg)

```
[![Health](https://phpackages.com/badges/illegal-laravel-utils/health.svg)](https://phpackages.com/packages/illegal-laravel-utils)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
