immeyti/v-wallet

A virtual wallet

dev-main 2021-01-18 21:30 UTC

This package is auto-updated.

Last update: 2024-04-19 04:13:22 UTC


README

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.