Download the PHP package dmitry-ivanov/dark-sky-api without Composer
On this page you can find all versions of the php package dmitry-ivanov/dark-sky-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dmitry-ivanov/dark-sky-api
More information about dmitry-ivanov/dark-sky-api
Files in dmitry-ivanov/dark-sky-api
Download dmitry-ivanov/dark-sky-api
More information about dmitry-ivanov/dark-sky-api
Files in dmitry-ivanov/dark-sky-api
Vendor dmitry-ivanov
Package dark-sky-api
Short Description PHP Library for the Dark Sky API.
License MIT
Package dark-sky-api
Short Description PHP Library for the Dark Sky API.
License MIT
Please rate this library. Is it a good library?
Informations about the package dark-sky-api
Dark Sky API
PHP Library for the Dark Sky API.
Usage
-
Install the package via Composer:
- Use the
DmitryIvanov\DarkSkyApi\DarkSkyApi
class:
Time Machine Requests
Sometimes it might be useful to get weather for the specified date:
You can also get weather for multiple dates:
Usage in Laravel
If you're using Laravel <5.5, you have to register service provider and alias by yourself!
-
Publish the config:
-
Set your secret key in the
.env
file: - Use the
DarkSkyApi
facade:
Learn more
You can find more information in my article.
Sponsors
License
Dark Sky API is open-sourced software licensed under the MIT license.
All versions of dark-sky-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
ext-json Version *
guzzlehttp/guzzle Version ^6.3|^7.0
psr/http-message Version ^1.0
ext-json Version *
guzzlehttp/guzzle Version ^6.3|^7.0
psr/http-message Version ^1.0
The package dmitry-ivanov/dark-sky-api contains the following files
Loading the files please wait ....