Skip to content

Commit 3121977

Browse files
authored
added support for laravel 10 (#44)
1 parent 9bbfe4d commit 3121977

File tree

2 files changed

+45
-43
lines changed

2 files changed

+45
-43
lines changed

composer.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
{
2-
"name": "myckhel/laravel-paystack",
3-
"description": "A description for laravel-paystack.",
4-
"type": "package",
5-
"license": "MIT",
6-
"keywords": [
7-
"laravel"
8-
],
9-
"authors": [
10-
{
11-
"name": "myckhel",
12-
"email": "myckhel1@hotmail.com"
13-
}
14-
],
15-
"require": {
16-
"illuminate/support": "^7.0|^8.0|^9.0"
17-
},
18-
"autoload": {
19-
"psr-4": {
20-
"Myckhel\\Paystack\\": "src/"
21-
}
22-
},
23-
"autoload-dev": {
24-
"psr-4": {
25-
"Myckhel\\Paystack\\Tests\\": "tests"
26-
}
27-
},
28-
"scripts": {
29-
"test": "vendor/bin/phpunit"
30-
},
31-
"extra": {
32-
"laravel": {
33-
"providers": [
34-
"Myckhel\\Paystack\\PaystackServiceProvider"
35-
],
36-
"aliases": {
37-
"Paystack": "Myckhel\\Paystack\\Facades\\Paystack"
38-
}
39-
}
40-
},
41-
"require-dev": {
42-
"orchestra/testbench": "^6.0"
2+
"name": "myckhel/laravel-paystack",
3+
"description": "A description for laravel-paystack.",
4+
"type": "package",
5+
"license": "MIT",
6+
"keywords": [
7+
"laravel"
8+
],
9+
"authors": [
10+
{
11+
"name": "myckhel",
12+
"email": "myckhel1@hotmail.com"
4313
}
44-
}
14+
],
15+
"require": {
16+
"illuminate/support": "^7.0|^8.0|^9.0|^10.0"
17+
},
18+
"autoload": {
19+
"psr-4": {
20+
"Myckhel\\Paystack\\": "src/"
21+
}
22+
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Myckhel\\Paystack\\Tests\\": "tests"
26+
}
27+
},
28+
"scripts": {
29+
"test": "vendor/bin/phpunit"
30+
},
31+
"extra": {
32+
"laravel": {
33+
"providers": [
34+
"Myckhel\\Paystack\\PaystackServiceProvider"
35+
],
36+
"aliases": {
37+
"Paystack": "Myckhel\\Paystack\\Facades\\Paystack"
38+
}
39+
}
40+
},
41+
"require-dev": {
42+
"orchestra/testbench": "^6.0"
43+
}
44+
}

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ The package will automatically register a service provider.
2222

2323
You need to publish the configuration file:
2424

25-
```php artisan vendor:publish --provider="Myckhel\Paystack\PaystackServiceProvider"```
25+
```php
26+
php artisan vendor:publish --provider="Myckhel\Paystack\PaystackServiceProvider"
27+
```
2628

2729
### Publish config
2830
This is the default content of the config file ```paystack.php```:

0 commit comments

Comments
 (0)