An open API service indexing awesome lists of open source software.

https://github.com/fshangala/cws

A centralised wallet system to include in your php laravel projects
https://github.com/fshangala/cws

Last synced: 3 months ago
JSON representation

A centralised wallet system to include in your php laravel projects

Awesome Lists containing this project

README

        

# cws
#### A centralised wallet system to include in your php laravel projects
### Installation
Install with composer: `composer require fshangala/cws`
## 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
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
Create wallet
```