immeyti / v-wallet
A virtual wallet
dev-main
2021-01-18 21:30 UTC
Requires
- php: ^7.4|^8.0
- illuminate/contracts: ^8.0
- spatie/laravel-event-sourcing: ^4.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2025-03-19 06:02:15 UTC
README
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.