Skip to content

Commit

Permalink
Merge pull request #22 from hardevine/master
Browse files Browse the repository at this point in the history
autodiscovery added
  • Loading branch information
anandsiddharth authored Oct 28, 2018
2 parents 2dd7306 + 0113bca commit e9e0bd6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ To get started add the following package to your `composer.json` file using this
composer require anandsiddharth/laravel-paytm-wallet

## Configuring
Note: For Laravel 5.5 and above auto-discovery takes care of below configuration.

When composer installs Laravel Paytm Wallet library successfully, register the `Anand\LaravelPaytmWallet\PaytmWalletServiceProvider` in your `config/app.php` configuration file.

```php
Expand Down
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,15 @@
"psr-4": {
"Anand\\LaravelPaytmWallet\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Anand\\LaravelPaytmWallet\\PaytmWalletServiceProvider"
],
"aliases": {
"PaytmWallet": "Anand\\LaravelPaytmWallet\\Facades\\PaytmWallet"
}
}
}
}

0 comments on commit e9e0bd6

Please sign in to comment.