PHPackages                             fshangala/cws - 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. [Payment Processing](/categories/payments)
4. /
5. fshangala/cws

ActiveLibrary[Payment Processing](/categories/payments)

fshangala/cws
=============

A centralised wallet system to include in your project

v1.0.2(4y ago)011[1 issues](https://github.com/fshangala/cws/issues)AGPL-3.0-or-laterPHP

Since Jan 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fshangala/cws)[ Packagist](https://packagist.org/packages/fshangala/cws)[ RSS](/packages/fshangala-cws/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

cws
===

[](#cws)

#### A centralised wallet system to include in your php laravel projects

[](#a-centralised-wallet-system-to-include-in-your-php-laravel-projects)

### Installation

[](#installation)

Install with composer: `composer require fshangala/cws`

Laravel
-------

[](#laravel)

Laravel will automatically register the service upon installation. Run the command `php artisan migrate` migrations should run. If that doesnt happen for you, you can follow the steps for lumen. They work for laravel as well.

Lumen
-----

[](#lumen)

After installation, register the service provider in your `bootstrap/app.php` file.

```
//$app->register(App\Providers\AppServiceProvider::class);
//$app->register(App\Providers\AuthServiceProvider::class);
//$app->register(App\Providers\EventServiceProvider::class);

```

after the lines above in your `bootstrap/app.php file` add the following

```
$app->register(Fshangala\Cws\CwsServiceProvider::class);

```

Then run the command `php artisan migrate` migrations should run. You're good to go!

Usage
-----

[](#usage)

Create wallet

```
