Skip to content

Commit

Permalink
added support for laravel 10 (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
myckhel authored Apr 23, 2023
1 parent 9bbfe4d commit 3121977
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 43 deletions.
84 changes: 42 additions & 42 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"name": "myckhel/laravel-paystack",
"description": "A description for laravel-paystack.",
"type": "package",
"license": "MIT",
"keywords": [
"laravel"
],
"authors": [
{
"name": "myckhel",
"email": "[email protected]"
}
],
"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": "[email protected]"
}
}
],
"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"
}
}
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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```:
Expand Down

0 comments on commit 3121977

Please sign in to comment.