PHPackages                             slashdotapp/casino-balance - 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. [Database &amp; ORM](/categories/database)
4. /
5. slashdotapp/casino-balance

ActiveLibrary[Database &amp; ORM](/categories/database)

slashdotapp/casino-balance
==========================

Package that provide account balance and transactions functionality for Laravel 5+

1.0.0(3y ago)38MITPHPPHP ^7.2.9|^8.1|^8.0|8.2

Since Jan 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/slashdotapp/casino-balance)[ Packagist](https://packagist.org/packages/slashdotapp/casino-balance)[ RSS](/packages/slashdotapp-casino-balance/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Installation
------------

[](#installation)

You can install this package via composer using this command:

```
composer require slashdotapp/casino-balance

```

Next, you must install the service provider:

```
// config/app.php
'providers' => [
    ...
    Vuer\LaravelBalance\BalanceServiceProvider::class,
];
```

Publish migration and configuration file:

```
php artisan vendor:publish

```

After the migration has been published you can create the tables by running the migrations:

```
php artisan migrate

```

Usage
-----

[](#usage)

### Preparing your model

[](#preparing-your-model)

Associate account balance with a model:

```
