PHPackages                             anuzpandey/laravel-useful-traits - 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. anuzpandey/laravel-useful-traits

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

anuzpandey/laravel-useful-traits
================================

Collection of useful traits for my laravel projects.

1.4.0(1y ago)1168MITPHPPHP ^8.2CI passing

Since Mar 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/anuzpandey/laravel-useful-traits)[ Packagist](https://packagist.org/packages/anuzpandey/laravel-useful-traits)[ Docs](https://github.com/anuzpandey/laravel-useful-traits)[ GitHub Sponsors](https://github.com/AnuzPandey)[ RSS](/packages/anuzpandey-laravel-useful-traits/feed)WikiDiscussions main Synced yesterday

READMEChangelog (8)Dependencies (11)Versions (9)Used By (0)

Collection of useful traits for my laravel projects.
====================================================

[](#collection-of-useful-traits-for-my-laravel-projects)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4f6dc0463698288696913599047c3cbbea3328b7915b61fdee5554c1fba6e47f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e757a70616e6465792f6c61726176656c2d75736566756c2d7472616974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anuzpandey/laravel-useful-traits)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c844799ce8735b9eef6de818e7e31cf89506f25401e58e49bf3ec294797e47ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e757a70616e6465792f6c61726176656c2d75736566756c2d7472616974732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/anuzpandey/laravel-useful-traits/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/36ba29af3db3fbad95d59470aab115ef4020f01e5e9109252f52c36e3378a573/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616e757a70616e6465792f6c61726176656c2d75736566756c2d7472616974732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/anuzpandey/laravel-useful-traits/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d6744ffe902da05cc2a1a1720e8c6f190f63e6be285121873945838959aef2a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e757a70616e6465792f6c61726176656c2d75736566756c2d7472616974732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anuzpandey/laravel-useful-traits)

Laravel Useful Traits is a collection of useful traits that I use in my laravel projects.

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

[](#installation)

You can install the package via composer:

```
composer require anuzpandey/laravel-useful-traits
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [AnuzPandey](https://github.com/anuzpandey)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.3% 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 ~35 days

Recently: every ~60 days

Total

8

Last Release

585d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25082225?v=4)[Anuz Pandey](/maintainers/anuzpandey)[@anuzpandey](https://github.com/anuzpandey)

---

Top Contributors

[![anuzpandey](https://avatars.githubusercontent.com/u/25082225?v=4)](https://github.com/anuzpandey "anuzpandey (36 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laravelanuzpandeylaravel-useful-traits

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/anuzpandey-laravel-useful-traits/health.svg)

```
[![Health](https://phpackages.com/badges/anuzpandey-laravel-useful-traits/health.svg)](https://phpackages.com/packages/anuzpandey-laravel-useful-traits)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[statikbe/laravel-filament-flexible-content-blocks

The Laravel Filament Flexible Content Blocks package helps you to easily create content in Filament for any model, with predefined or custom blocks, and foreach block an extendable Blade view component.

17625.6k4](/packages/statikbe-laravel-filament-flexible-content-blocks)[tapp/filament-form-builder

User facing form builder using Filament components

132.4k3](/packages/tapp-filament-form-builder)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1563.2k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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