haoyuqi/download-bing-wallpaper

Retrieve Bing wallpaper metadata by date through a versioned JSON Artisan command.
2,320
Install
composer require haoyuqi/download-bing-wallpaper
Latest Version:3.0.0
PHP:^8.3
Laravel:13
License:MIT
Last Updated:Sep 3, 2026
Links: GitHub  ·  Packagist
Maintainer: haoyuqi

Download Bing Wallpaper

Laravel 13 package that retrieves Bing wallpaper metadata for an exact date and writes one versioned JSON document to standard output. It never downloads or saves an image.

Requirements

  • PHP 8.3+
  • Laravel 13

Installation

composer require haoyuqi/download-bing-wallpaper

Usage

php artisan bing:wallpaper --date=2026-08-31 --no-ansi

The command uses Bing's fixed en-US metadata source, searches its current eight-item response for the exact calendar date, and writes exactly one JSON document followed by a newline. No dates are substituted.

Result Exit code
found or not_found 0
Invalid or missing date 2
Upstream or internal error 1

The --date option is required and must be a real YYYY-MM-DD date. JSON fields are always ordered as schemaVersion, status, query, data, rawPayload, error, and retrievedAt. Technical details are represented in the JSON error; standard error remains empty.

Migrating from v2

The BingWallpaperInterface, download(), and save() APIs were removed. Use the Artisan command and consume its JSON instead.

Development

Run composer check for validation, optimized autoloading, analysis, style, and tests. CI uses fake HTTP responses and does not contact Bing.

This project was developed with AI assistance. All changes were reviewed and verified by the maintainer.

See CONTRIBUTING.md, SECURITY.md, and SUPPORT.md.

Related Packages

fedeisas/laravel-js-routes

Laravel 4 routes from Javascript

140,793 62
hmazter/laravel-schedule-list

Laravel package to add command to list all scheduled artisan commands

441,588 94
kodeine/laravel-meta

Fluent Meta Data for Eloquent Models, as if it is a property on your model.

958,047 421
spatie/laravel-artisan-dd

Run dd from your commandline

92,386 162

Version History

Version Released PHP Laravel License
3.0.0 ^8.3 ^13.0 MIT
2.1.1 ^7.3|^8.0 ^8|^9 MIT
2.1.0 ^7.3|^8.0 ^8|^9 MIT
2.0.1 ^7.3|^8.0 ^8|^9 MIT
2.0.0 ^7.3|^8.0 ^8|^9 MIT