Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 2.46 KB

README.md

File metadata and controls

69 lines (42 loc) · 2.46 KB

A virtual wallet

Latest Version on Packagist GitHub Tests Action Status Total Downloads

v-wallet is in the beta stage now. it is not recommended to use in the production environment

Installation

You can install the package via composer:

composer require immeyti/v-wallet

You can publish and run the migrations with:

php artisan vendor:publish --provider="Immeyti\VWallet\WalletServiceProvider" --tag="migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --provider="Immeyti\VWallet\WalletServiceProvider" --tag="config"

Usage

You can use this package in two ways:

  • add the Immeyti\VWallet\Traits\HasWallet trait to the User model.
  • direct use of Immeyti\VWallet\Wallet.(actually, it should be a facade)

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.