File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 33    -  [ Introduction] ( README ) 
44    -  [ Requirements] ( requirements ) 
55    -  [ Installation] ( installation ) 
6+     -  [ Lumen installation] ( lumen ) 
67    -  [ Basic Usage] ( basic-usage ) 
78    -  [ Upgrade Guide] ( upgrade-guide ) 
89
Original file line number Diff line number Diff line change 1+ ## Composer  
2+ 
3+ The recommended installation method is using [ Composer] ( https://getcomposer.org/ ) .
4+ 
5+ In your project root just run:
6+ 
7+ ``` bash 
8+ composer req bavix/laravel-wallet
9+ ``` 
10+ 
11+ Ensure that you’ve set up your project to [ autoload Composer-installed packages] ( https://getcomposer.org/doc/01-basic-usage.md#autoloading ) .
12+ 
13+ ## Add the service to the app  
14+ 
15+ [ Editing the application file] ( https://lumen.laravel.com/docs/5.8/providers#registering-providers )  ` bootstrap/app.php ` 
16+ ``` php 
17+ $app->register(\Bavix\Wallet\WalletServiceProvider::class);
18+ ``` 
19+ 
20+ Start the migration and use the library.
21+ 
22+ ## You can use it for customization  
23+ 
24+ Sometimes it is useful...
25+ 
26+ ### Run Migrations  
27+ Publish the migrations with this artisan command:
28+ ``` bash 
29+ php artisan vendor:publish --tag=laravel-wallet-migrations
30+ ``` 
31+ 
32+ ### Configuration  
33+ You can publish the config file with this artisan command:
34+ ``` bash 
35+ php artisan vendor:publish --tag=laravel-wallet-config
36+ ``` 
37+ 
38+ After installing the package, you can proceed to [ use it] ( basic-usage ) .
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments