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
- Host: GitHub
- URL: https://github.com/fshangala/cws
- Owner: fshangala
- License: agpl-3.0
- Created: 2022-01-15T06:41:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-30T17:57:14.000Z (over 3 years ago)
- Last Synced: 2024-12-08T09:27:29.309Z (6 months ago)
- Language: PHP
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```