Skip to content

Releases: ivkos/wallhaven4php

Version 2.3.0

20 Aug 09:52

Choose a tag to compare

  • Updated guzzle to v6 - thanks @ryanrk

Version 2.2.2

20 May 20:30

Choose a tag to compare

  • Fixed parsing issues related to
    • Favorites count
    • Resolution
    • Featured by user
    • Featured date
    • Uploader
    • Upload date
  • Now using HTTPS URLs everywhere
  • Updated HTML parser to latest version

Version 2.2.1

10 Oct 19:58

Choose a tag to compare

  • Fixed a parsing bug caused by a change in CSS classes names

Version 2.2.0

22 Jun 17:54

Choose a tag to compare

  • Added fluent interface Wallhaven::filter() - examples:
$wallpapers = $wh->filter()
    ->keywords("#cars")
    ->categories(Category::GENERAL)
    ->purity(Purity::SFW)
    ->sorting(Sorting::FAVORITES)
    ->order(Order::DESC)
    ->resolutions(["1920x1080", "2560x1440"])
    ->ratios(["16x9"])
    ->pages(3)
    ->getWallpapers();
$wallpapers = $wh->filter()
    ->keywords("landscape")
    ->ratios(["16x9"])
    ->pages(2)
    ->getWallpapers();

getWallpapers() executes the search and returns a WallpaperList object containing Wallpaper objects that match the criteria above.

Version 2.1.1

09 Jun 20:16

Choose a tag to compare

  • Fixed parsing problems
  • Added a DownloadException that is thrown if the download directory cannot be created

Version 2.0.0

02 May 16:25

Choose a tag to compare

  • Rewritten from scratch
  • More convenient OOP
  • Download individual wallpapers
  • Batch async download many wallpapers
  • Composer support

Wallhaven 1.1.1

05 Feb 00:25

Choose a tag to compare

Fixed parsing problems due to changes in Wallhaven's design.

Wallhaven 1.1.0

12 Dec 13:49

Choose a tag to compare

  • Added PHPUnit tests
  • Added a method for getting information for a specific wallpaper by its ID -- getWallpaperInformation()
  • Fixed a bug that caused inability to parse information for wallpapers with 1000+ views

Wallhaven 1.0.0

12 Dec 13:02

Choose a tag to compare

Initial version.