PHPackages                             lyhty/ownership - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. lyhty/ownership

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

lyhty/ownership
===============

Lightweight trait and rule for who owns what in your Laravel project.

v0.6.0(2w ago)0128MITPHPPHP ^8.2

Since Jul 19Pushed 2w agoCompare

[ Source](https://github.com/lyhty/ownership)[ Packagist](https://packagist.org/packages/lyhty/ownership)[ Docs](https://matti.suoraniemi.com/creations/lyhty/ownership)[ RSS](/packages/lyhty-ownership/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (8)Versions (12)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/accfae76d45f60e69539c21744cc0af95f981586d5d4e9860e2ac681f56d24d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c796874792f6f776e6572736869702e7376673f6c6162656c3d266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465267374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/ownership)[![PHP](https://camo.githubusercontent.com/63ad220ccde17b21ecc55adff93d7ff1478f925e485dd264939a0b0785f81df7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c796874792f6f776e6572736869703f7374796c653d666c61742d737175617265266c6162656c3d266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/lyhty/ownership)[![Laravel](https://camo.githubusercontent.com/c6252c8f96c72ebd2d4ac653eab468feaf0ba76504270a3d372e11324dd8f6ef/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d266d6573736167653d2535453132253230253743253230253545313326636f6c6f723d726564267374796c653d666c61742d737175617265266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/lyhty/ownership)[![Total Downloads](https://camo.githubusercontent.com/d4a6af58022e3cb37f5c285d4e5e6ba14c992ceb512180a5a22131b2cf540bda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c796874792f6f776e6572736869702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/ownership)[![License](https://camo.githubusercontent.com/7a57fd9551223156489d8f3e1187fd2e71dc592417f7da82a7f568e2315a46fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c796874792f6f776e6572736869702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lyhty/ownership)

This package provides a lightweight trait and a validation rule for who owns what in your Laravel project.

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

[](#installation)

Install the package with Composer:

```
composer require lyhty/ownership

```

The package registers itself automatically.

More details coming soon.

License
-------

[](#license)

Lyhty Macros is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance97

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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 ~143 days

Recently: every ~330 days

Total

11

Last Release

16d ago

PHP version history (4 changes)v0.1.0PHP ^7.4|^8.0

v0.2.0PHP ^7.4 | ^8.0

v0.4.0PHP ^7.4 | ^8.0 | ^8.2

v0.5.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cd5d6f2caaea83278fd1552c5bdc1b30b4164890ba0801a718dc20efa93738c?d=identicon)[TruecapeDev](/maintainers/TruecapeDev)

---

Top Contributors

[![sirmathays](https://avatars.githubusercontent.com/u/37704147?v=4)](https://github.com/sirmathays "sirmathays (19 commits)")

---

Tags

eloquent-modelslaravelmodellaravelvalidationtraitrulesownership

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lyhty-ownership/health.svg)

```
[![Health](https://phpackages.com/badges/lyhty-ownership/health.svg)](https://phpackages.com/packages/lyhty-ownership)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[wendelladriel/laravel-validated-dto

Data Transfer Objects with validation for Laravel applications

762649.9k18](/packages/wendelladriel-laravel-validated-dto)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)

PHPackages © 2026

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