File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,11 @@ Add the following to your `providers` array in `config/app.php`:
39
39
``` php
40
40
'providers' => [
41
41
// ...
42
-
43
42
RakibDevs\Weather\WeatherServiceProvider::class,
44
43
],
45
44
'aliases' => [
46
- //...
47
- 'Weather' => RakibDevs\Weather\Weather::class,
45
+ //...
46
+ 'Weather' => RakibDevs\Weather\Weather::class,
48
47
];
49
48
50
49
@@ -56,10 +55,10 @@ Publish the required package configuration file using the artisan command:
56
55
$ php artisan vendor:publish
57
56
```
58
57
Edit the ` config/openweather.php ` file and modify the ` api_key ` value with your Open Weather Map api key.
59
- ```
58
+ ``` php
60
59
return [
61
- 'api_key' => 'ae9f7b6a0cfc2563ec1d24f3c267ad42',
62
- 'lang' => 'en',
60
+ 'api_key' => 'ae9f7b6a0cfc2563ec1d24f3c267ad42',
61
+ 'lang' => 'en',
63
62
'date_format' => 'm/d/Y',
64
63
'time_format' => 'h:i A',
65
64
'day_format' => 'l',
You can’t perform that action at this time.
0 commit comments