Download the PHP package dinhdjj/laravel-transaction without Composer
On this page you can find all versions of the php package dinhdjj/laravel-transaction. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dinhdjj/laravel-transaction
More information about dinhdjj/laravel-transaction
Files in dinhdjj/laravel-transaction
Package laravel-transaction
Short Description Give laravel model ability transfer/receive balance
License MIT
Homepage https://github.com/dinhdjj/laravel-transaction
Informations about the package laravel-transaction
Give laravel model ability transfer/receive balance
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Optionally, you can publish the views using
Usage
In your model you want give it ability transfer/receive balance
Just uses Balancable
trait implements Balancable
interface
To transfer/receiver
If you want use a part, BalanceReceivable
, BalanceTransferable
, HasTransferredTransactions
, HasReceivedTransactions
both traits and interfaces will help you
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- dinhdjj
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-transaction with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^9.0