From 3121977c7077b07a17b5f77a2fcb3ade3600e8d6 Mon Sep 17 00:00:00 2001 From: Michael Ishola Date: Sun, 23 Apr 2023 05:35:15 -0700 Subject: [PATCH] added support for laravel 10 (#44) --- composer.json | 84 +++++++++++++++++++++++++-------------------------- readme.md | 4 ++- 2 files changed, 45 insertions(+), 43 deletions(-) diff --git a/composer.json b/composer.json index a322307..7890cfb 100644 --- a/composer.json +++ b/composer.json @@ -1,44 +1,44 @@ { - "name": "myckhel/laravel-paystack", - "description": "A description for laravel-paystack.", - "type": "package", - "license": "MIT", - "keywords": [ - "laravel" - ], - "authors": [ - { - "name": "myckhel", - "email": "myckhel1@hotmail.com" - } - ], - "require": { - "illuminate/support": "^7.0|^8.0|^9.0" - }, - "autoload": { - "psr-4": { - "Myckhel\\Paystack\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "Myckhel\\Paystack\\Tests\\": "tests" - } - }, - "scripts": { - "test": "vendor/bin/phpunit" - }, - "extra": { - "laravel": { - "providers": [ - "Myckhel\\Paystack\\PaystackServiceProvider" - ], - "aliases": { - "Paystack": "Myckhel\\Paystack\\Facades\\Paystack" - } - } - }, - "require-dev": { - "orchestra/testbench": "^6.0" + "name": "myckhel/laravel-paystack", + "description": "A description for laravel-paystack.", + "type": "package", + "license": "MIT", + "keywords": [ + "laravel" + ], + "authors": [ + { + "name": "myckhel", + "email": "myckhel1@hotmail.com" } -} + ], + "require": { + "illuminate/support": "^7.0|^8.0|^9.0|^10.0" + }, + "autoload": { + "psr-4": { + "Myckhel\\Paystack\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "Myckhel\\Paystack\\Tests\\": "tests" + } + }, + "scripts": { + "test": "vendor/bin/phpunit" + }, + "extra": { + "laravel": { + "providers": [ + "Myckhel\\Paystack\\PaystackServiceProvider" + ], + "aliases": { + "Paystack": "Myckhel\\Paystack\\Facades\\Paystack" + } + } + }, + "require-dev": { + "orchestra/testbench": "^6.0" + } +} \ No newline at end of file diff --git a/readme.md b/readme.md index 8bd6ff8..b2e2fa6 100644 --- a/readme.md +++ b/readme.md @@ -22,7 +22,9 @@ The package will automatically register a service provider. You need to publish the configuration file: -```php artisan vendor:publish --provider="Myckhel\Paystack\PaystackServiceProvider"``` +```php +php artisan vendor:publish --provider="Myckhel\Paystack\PaystackServiceProvider" +``` ### Publish config This is the default content of the config file ```paystack.php```: