PHPackages                             patrixsmart/adjustfly - 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. patrixsmart/adjustfly

ActiveLibrary

patrixsmart/adjustfly
=====================

Record Laravel model adjustments during updating event.

v1.1(2y ago)127MITPHPPHP ^7.3|^8.0

Since Dec 20Pushed 2y agoCompare

[ Source](https://github.com/PatriXsmarT/adjustfly)[ Packagist](https://packagist.org/packages/patrixsmart/adjustfly)[ RSS](/packages/patrixsmart-adjustfly/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

About Adjustfly
---------------

[](#about-adjustfly)

Record Laravel model adjustments during updating event.

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

[](#installation)

Require the `patrixsmart/adjustfly` package in your `composer.json` and update your dependencies:

```
composer require patrixsmart/adjustfly
```

### Publish Config files

[](#publish-config-files)

You will need to publish the config file for you to update it details:

```
php artisan vendor:publish --tag="adjustfly-config"
```

### Migrate

[](#migrate)

You will need to migrate the adjustments table exposed by Adjustfly:

```
php artisan migrate
```

### Adjustfly routes

[](#adjustfly-routes)

Adjustfly exposes this routes to your application using the following route.

```
    use Illuminate\Support\Facades\Route;

    /*
    |--------------------------------------------------------------------------
    | Adjustment Routes
    |--------------------------------------------------------------------------
    |
    */
    Route::group([
        'namespace' => 'Patrixsmart\Adjustfly\Http\Controllers',
        'prefix' => 'api'
    ], function () {
        Route::apiResource('adjustments','AdjustmentController')->only(['index','show']);
    });

    /**
     * http://yourdomain.com/adjustments to get all adjustments with pagination
     */

    /**
     * http://yourdomain.com/adjustments/{adjustment_id} to see details of an adjustment made with
     * the current state of the adjustable model.
     */
```

Adjustfly Usage
---------------

[](#adjustfly-usage)

Adjustfly requires you use this trait in any model of your app that you wish to track it adjustments during an updating event.

```
use Patrixsmart\Adjustfly\Traits\HasAdjustments;

class ModelClass extends Model
{
    use HasAdjustments;

    // This exposes this methods to the model
    // ModelClass->recordAdjustment() and ModelClass->adjustments()
}
```

and use this trait in your User model tosee adjustments made by a particular user.

```
use Patrixsmart\Adjustfly\Traits\OwnedAdjustments;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable
{
    use OwnedAdjustments;

    // This exposes this method to the model
    // UserClass->ownedAdjustments()
}
```

Finally call the recordAdjustment method on the model using the HasAdjustments trait in it static updating or observer updating event method.

Adjustfly Sponsors
------------------

[](#adjustfly-sponsors)

We would appreciate your sponsorship for the development of Adjustfly. If you are interested in becoming a sponsor, please contact PatriXsmarT LLC. via .

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

[](#contributing)

Thank you for considering contributing to the PatriXsmart Adjustfly!.

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

[](#security-vulnerabilities)

If you discover a security vulnerability within Adjustfly, please send an e-mail to PatriXsmarT LLC. via . All security vulnerabilities will be promptly addressed.

License
-------

[](#license)

PatriXsmarT Adjustfly is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

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

Recently: every ~77 days

Total

8

Last Release

786d ago

PHP version history (2 changes)v1.0.0PHP ^7.3

v1.0.1PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44182075?v=4)[Patrick Duruamadi](/maintainers/patrickadvance)[@patrickadvance](https://github.com/patrickadvance)

---

Top Contributors

[![patrickadvance](https://avatars.githubusercontent.com/u/44182075?v=4)](https://github.com/patrickadvance "patrickadvance (16 commits)")

### Embed Badge

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

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

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11120.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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