diff --git a/README.md b/README.md index 4825ad9..d276701 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,11 @@ Add topics ### Composer -Add Laravel Localization to your `composer.json` file. +Add the package to your `composer.json` file. ```json { "require": { - "omnipay/common": "~2.0", - "business-mastery/omnipay-mobilpay": "~1.0", "adrianbarbos/mobilpay": "~1.0.0" } } @@ -43,6 +41,8 @@ Run `composer update` to get the latest version of the package. Mobilpay comes with a service provider for Laravel. You'll need to add it to your `composer.json` as mentioned in the above steps, then register the service provider with your application. +*From Laravel 5.5, the service provider and facades will automatically get registered.* + Open `config/app.php` and find the `providers` key. Add `MobilpayServiceProvider` to the array. ```php