PHPackages                             3neti/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. [Payment Processing](/categories/payments)
4. /
5. 3neti/wallet

ActiveLibrary[Payment Processing](/categories/payments)

3neti/wallet
============

Custom wallet for X-Change

v1.1.0(2mo ago)074↓80%4MITPHP

Since Mar 26Pushed 2mo agoCompare

[ Source](https://github.com/3neti/wallet)[ Packagist](https://packagist.org/packages/3neti/wallet)[ RSS](/packages/3neti-wallet/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (12)Versions (4)Used By (4)

3neti/wallet
============

[](#3netiwallet)

A lightweight helper package that extends and standardizes usage of **Bavix Laravel Wallet** within the x-change ecosystem.

---

🧭 Overview
----------

[](#-overview)

`3neti/wallet` is **not a wallet implementation**.

Instead, it provides:

- Configuration standardization
- System user handling
- Integration glue for x-change services (voucher, cash, settlement)
- Test scaffolding for wallet-based flows

It builds on top of:

- `bavix/laravel-wallet`

---

🧠 Design Philosophy
-------------------

[](#-design-philosophy)

> This package does NOT own the wallet schema.

All database tables (wallets, transactions, transfers) are owned by:

- `bavix/laravel-wallet`

This package focuses on:

- orchestration
- consistency
- extensibility

---

📦 Installation
--------------

[](#-installation)

```
composer require 3neti/wallet
```

---

⚙️ Configuration
----------------

[](#️-configuration)

Publish config files:

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

### Files

[](#files)

- `config/wallet.php`
- `config/account.php`

---

👤 System User
-------------

[](#-system-user)

The package introduces a **system user abstraction**.

### Config

[](#config)

```
'account' => [
    'system_user' => [
        'identifier' => env('SYSTEM_USER_ID', 'system@example.com'),
        'identifier_column' => 'email',
        'model' => App\Models\User::class,
    ],
]
```

### Purpose

[](#purpose)

- acts as source of funds
- supports top-ups, disbursements, internal transfers

---

🔄 Integration Role in x-change
------------------------------

[](#-integration-role-in-x-change)

```
Voucher → Cash → Wallet → Settlement

```

Wallet is responsible for:

- balance tracking
- transfers
- transaction recording

---

🧪 Testing Strategy
------------------

[](#-testing-strategy)

This package:

- does NOT ship migrations
- uses **dependency migrations** from Bavix

### Test Setup

[](#test-setup)

- loads:
    - test user migration
    - Bavix wallet migrations dynamically

### Key Principle

[](#key-principle)

```
Ownership != Dependency

```

- Bavix owns schema
- Wallet package depends on it

---

🏗️ Service Provider
-------------------

[](#️-service-provider)

```
LBHurtado\Wallet\WalletServiceProvider
```

### Responsibilities

[](#responsibilities)

- merge configs
- register event provider
- expose configuration

---

🔌 Dependencies
--------------

[](#-dependencies)

- `bavix/laravel-wallet`
- `spatie/laravel-data`
- `lorisleiva/laravel-actions`
- `brick/money`

---

⚠️ Important Notes
------------------

[](#️-important-notes)

### ❌ Do NOT:

[](#-do-not)

- copy Bavix migrations into this package
- publish Bavix migrations from here
- override wallet tables

### ✅ DO:

[](#-do)

- treat wallet as infrastructure
- extend behavior via services/actions
- keep this package stateless

---

🧠 Architectural Role
--------------------

[](#-architectural-role)

This package is part of the **financial core layer**:

```
[Contact] → [Voucher] → [Cash] → [Wallet] → [Settlement]

```

Wallet sits at:

👉 **value storage + transfer layer**

---

🚀 Future Extensions
-------------------

[](#-future-extensions)

- multi-account support
- audit enhancements
- event-driven hooks
- reconciliation support

---

🧠 Final Thought
---------------

[](#-final-thought)

> This package does not implement wallets.
> It ensures wallets behave correctly within x-change.

---

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance85

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

76d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/586e1ed70140038e6348728222adbcf68bfc4455b1f94a4f8bcbe57917a63d57?d=identicon)[3neti](/maintainers/3neti)

---

Top Contributors

[![3neti](https://avatars.githubusercontent.com/u/89447696?v=4)](https://github.com/3neti "3neti (3 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

8118.0k](/packages/danestves-laravel-polar)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4849.3k](/packages/sebdesign-laravel-viva-payments)[elegantly/laravel-money

Use Brick/Money in your Laravel app

2060.3k9](/packages/elegantly-laravel-money)[bavix/laravel-wallet-swap

Addition to the package laravel-wallet.

2428.9k](/packages/bavix-laravel-wallet-swap)[a2insights/filament-saas

Filament Saas for A2Insights

171.5k](/packages/a2insights-filament-saas)

PHPackages © 2026

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