PHPackages                             flavorly/wallet - 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. flavorly/wallet

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

flavorly/wallet
===============

A simple wallet system for your user

v0.1.5-alpha(1y ago)133[5 PRs](https://github.com/flavorly/wallet/pulls)MITPHPPHP ^8.3CI passing

Since Jul 3Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/flavorly/wallet)[ Packagist](https://packagist.org/packages/flavorly/wallet)[ Docs](https://github.com/flavorly/wallet)[ RSS](/packages/flavorly-wallet/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (22)Used By (0)

A simple wallet system for your user
====================================

[](#a-simple-wallet-system-for-your-user)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f78e56a907474f3e2b8175f7d3c2dba225e8c11437285576b67a1064f8e0fc6a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c61766f726c792f77616c6c65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flavorly/wallet)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e39639befe5b72d119bb015cb5a6d0f5f12845564bae7218e63f4370b6fb628d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f666c61766f726c792f77616c6c65742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/flavorly/wallet/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/32f87c89f0879ba0b22746929e21f12379e5504c6351534a8ec69a7caaea4685/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f666c61766f726c792f77616c6c65742f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/flavorly/wallet/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/e1584533b4dedd71b3e6b447c0a9802a22146ee7bcf2ce1905af4e8402c6e8ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c61766f726c792f77616c6c65742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/flavorly/wallet)

A dead simple yet secure &amp; safe wallet for eloquent models.

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

[](#installation)

You can install the package via composer:

```
composer require flavorly/wallet
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="wallet-migrations"
php artisan migrate
```

You can publish the config file with:

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

This is the contents of the published config file:

```
return [
    'decimal_places' => 10,
    'currency' => 'USD',
    'columns' => [
        'balance' => 'wallet_balance',
        'credit' => 'wallet_credit',
    ]
];
```

Usage
-----

[](#usage)

```
use Flavorly\Wallet\Concerns\InteractsWithWallet;
use Flavorly\Wallet\Contracts\HasWallet;

class User extends Model implements HasWallet
{
    use InteractsWithWallet;
}
```

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)

- [Flavorly](https://github.com/flavorly)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance67

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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 ~33 days

Recently: every ~22 days

Total

15

Last Release

588d ago

PHP version history (3 changes)v0.0.1-alphaPHP ^8.1

v0.0.2-alphaPHP ^8.2

v0.0.3-alphaPHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0541aadb1decf81d4f07f606a6d3dbcd247f1764953c49c2488413d738e035a?d=identicon)[nikuscs](/maintainers/nikuscs)

---

Top Contributors

[![nikuscs](https://avatars.githubusercontent.com/u/12662462?v=4)](https://github.com/nikuscs "nikuscs (90 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")

---

Tags

laravelwalletflavorly

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

188.5k](/packages/tarfin-labs-event-machine)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[ziming/laravel-scrapingbee

A PHP Laravel Library for ScrapingBee

4310.6k](/packages/ziming-laravel-scrapingbee)[hotwired-laravel/stimulus-laravel

Use Stimulus in your Laravel app

3015.3k1](/packages/hotwired-laravel-stimulus-laravel)

PHPackages © 2026

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