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

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

takshak/wallet
==============

User wallet system for laravel application

1.0.1(3y ago)237MITPHP

Since Dec 27Pushed 3y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Introduction
============

[](#introduction)

Laravel package to manage user wallet system. This can also manage multiple wallets for a single user / model. It is a multi wallet system to manage different wallet balances and also track the transactions history, like: deposit or withdraw and each transaction can reference to other models,for eg: If amount has deducted for some Product's payment, that product model can also be tracked. Read further for the usage instructions.

Integration &amp; Setup
-----------------------

[](#integration--setup)

Just like other php packages, install this using composer.

```
composer require takshak/wallet

```

Run the migrations `php artisan migrate`.

Add 'HasWallet' traits to the models which has the wallets, eg: User model.

```
