PHPackages                             am2studio/laravel-finite - 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. am2studio/laravel-finite

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

am2studio/laravel-finite
========================

Service provider for finite

1.0.2(10y ago)25.1k1[1 PRs](https://github.com/am2studio/laravel-finite/pulls)MITPHPPHP &gt;=5.4.0

Since Jan 21Pushed 3y ago3 watchersCompare

[ Source](https://github.com/am2studio/laravel-finite)[ Packagist](https://packagist.org/packages/am2studio/laravel-finite)[ Docs](https://github.com/AM2studio/Laravel-Finite)[ RSS](/packages/am2studio-laravel-finite/feed)WikiDiscussions master Synced 4w ago

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

Laravel-Finite
==============

[](#laravel-finite)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c52a73dcbc261554a38d57ff156c38b3322cbab34719077a38e30b0324006fcb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d3273747564696f2f6c61726176656c2d66696e6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/am2Studio/laravel-finite)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/1772926e43b755a0e78dc54a2efd5c33646cf79710669a4c43cb6b8eeb5c6262/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d3273747564696f2f6c61726176656c2d66696e6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/am2studio/laravel-finite)

Install
-------

[](#install)

Via Composer

```
$ composer require AM2studio/Laravel-Finite
```

in `config/app.php`

under `'providers'` add

```
AM2Studio\LaravelFinite\LaravelFiniteServiceProvider::class,
```

under `'alias'` add

```
'Finite'    => AM2Studio\LaravelFinite\FiniteFacade::class,
```

publish migration files and run migration

```
php artisan vendor:publish --provider="AM2Studio\LaravelFinite\LaravelFiniteServiceProvider" --tag="migrations"
php artisan migrate
```

Usage
-----

[](#usage)

In models you want to use it add namespace

```
use AM2Studio\LaravelFinite\Traits\LaravelFiniteTrait;
```

and then use trait

```
use LaravelFiniteTrait;
```

```
Finite::can($eloquentModelObject, 'finite transition');
Finite::apply($eloquentModelObject, 'finite transition');
Finite::getName($eloquentModelObject));
```

It is recommended that you use `Relation::morphTo([])` because that way if you change the namespace of your model the records in DB won't break.

Change log
----------

[](#change-log)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Marko Šamec](https://github.com/msamec)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3799d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4154034?v=4)[Marko Samec](/maintainers/msamec)[@msamec](https://github.com/msamec)

---

Top Contributors

[![msamec](https://avatars.githubusercontent.com/u/4154034?v=4)](https://github.com/msamec "msamec (14 commits)")

---

Tags

finiteAM2Studio

### Embed Badge

![Health badge](/badges/am2studio-laravel-finite/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M267](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M991](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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