From 5419b3e475136483872d054bd5e68b7d3e5f5441 Mon Sep 17 00:00:00 2001 From: Adrian Barbos <6648011+adrianbarbos@users.noreply.github.com> Date: Fri, 19 Jul 2019 20:15:38 +0300 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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