Download the PHP package grubersjoe/bing-daily-photo without Composer
On this page you can find all versions of the php package grubersjoe/bing-daily-photo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download grubersjoe/bing-daily-photo
More information about grubersjoe/bing-daily-photo
Files in grubersjoe/bing-daily-photo
Download grubersjoe/bing-daily-photo
More information about grubersjoe/bing-daily-photo
Files in grubersjoe/bing-daily-photo
Vendor grubersjoe
Package bing-daily-photo
Short Description A class to fetch Bing's image of the day with meta data
License MIT
Package bing-daily-photo
Short Description A class to fetch Bing's image of the day with meta data
License MIT
Please rate this library. Is it a good library?
Informations about the package bing-daily-photo
Bing Daily Photo
BingPhoto is a simple PHP class to fetch Bing's image of the day with meta data.
It is also possible to cache the images locally, which can be useful in combination with a periodic cronjob. See the cacheDir
parameter for this (optional) feature. Disclaimer: this might be a copyright issue.
Installation
Use Composer to install this package:
Basic usage
Parameters / options
Parameter | Description | Default | Valid values |
---|---|---|---|
cacheDir |
Directory for image caching | null |
An existing directory, otherwise the directory will be created if possible |
date |
Date of photo | BingPhoto::DATE_TODAY |
BingPhoto::DATE_YESTERDAY BingPhoto::DATE_TODAY BingPhoto::DATE_TOMORROW any integer >= -1 |
locale |
Locale code | Locale::getDefault() |
Whatever language Bing supports |
n |
Number of photos to fetch, going from date backwards | 1 | 1 - 8 |
orientation |
Image orientation | BingPhoto::ORIENTATION_LANDSCAPE |
BingPhoto::ORIENTATION_LANDSCAPE , BingPhoto::ORIENTATION_PORTRAIT |
quality |
Image resolution | BingPhoto::QUALITY_HIGH |
BingPhoto::QUALITY_LOW BingPhoto::QUALITY_HIGH |
Examples
All versions of bing-daily-photo with dependencies
PHP Build Version
Package Version
Requires
php Version
^8
ext-intl Version *
ext-json Version *
ext-intl Version *
ext-json Version *
The package grubersjoe/bing-daily-photo contains the following files
Loading the files please wait ....