PHPackages                             fraction/fraction - 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. fraction/fraction

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

fraction/fraction
=================

New way to interact with the Laravel Action pattern.

v1.0.1(11mo ago)13322MITPHPPHP ^8.2CI passing

Since May 31Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/devajmeireles/fraction)[ Packagist](https://packagist.org/packages/fraction/fraction)[ GitHub Sponsors](https://github.com/devajmeireles)[ RSS](/packages/fraction-fraction/feed)WikiDiscussions 1.x Synced 1mo ago

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

Welcome to *Fraction* 🎯
=======================

[](#welcome-to-fraction-)

There's no denying that the "Action Pattern" in the Laravel ecosystem is extremely useful and widely used. However, action classes require "too much content" to do basic things. Let's review a basic action class:

```
namespace App\Actions;

use App\Models\User;

class CreateUser
{
    public function handle(array $data): User
    {
        return User::create($data);
    }
}
```

We have a namespace, class, method... **All of this to create a user?** It's overkill for such a simple task, isn't it?

For this reason, the *Fraction* solution is revolutionary in the context of Actions. *Fraction* allows you to write actions in a *simpler and more direct way*, without the need for all this structure, **similar to what *PestPHP* proposes.**

---

Documentation
-------------

[](#documentation)

Now that I've made you curious about what *Fraction* does 😉 [check out the official website by clicking here](https://fractionforlaravel.com/). There you'll find a complete explanation of the package, as well as understanding what it really offers along with its many benefits.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance51

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community9

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

Total

11

Last Release

348d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/454dce453926f369465e5c256607a10047b37d31438e1ac779d433f58c0a8d64?d=identicon)[ajmeireles](/maintainers/ajmeireles)

---

Top Contributors

[![devajmeireles](https://avatars.githubusercontent.com/u/60591772?v=4)](https://github.com/devajmeireles "devajmeireles (121 commits)")

---

Tags

actionslaravelphp

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

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

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

###  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)
