Skip to content

Releases: ivkos/wallhaven4php

Version 2.3.0

Choose a tag to compare

@ivkos ivkos released this 20 Aug 09:52
  • Updated guzzle to v6 - thanks @ryanrk

Version 2.2.2

Choose a tag to compare

@ivkos ivkos released this 20 May 20:30
  • 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

Choose a tag to compare

@ivkos ivkos released this 10 Oct 19:58
  • Fixed a parsing bug caused by a change in CSS classes names

Version 2.2.0

Choose a tag to compare

@ivkos ivkos released this 22 Jun 17:54
  • 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

Choose a tag to compare

@ivkos ivkos released this 09 Jun 20:16
  • Fixed parsing problems
  • Added a DownloadException that is thrown if the download directory cannot be created

Version 2.0.0

Choose a tag to compare

@ivkos ivkos released this 02 May 16:25
  • Rewritten from scratch
  • More convenient OOP
  • Download individual wallpapers
  • Batch async download many wallpapers
  • Composer support

Wallhaven 1.1.1

Choose a tag to compare

@ivkos ivkos released this 05 Feb 00:25

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

Wallhaven 1.1.0

Choose a tag to compare

@ivkos ivkos released this 12 Dec 13:49
  • 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

Choose a tag to compare

@ivkos ivkos released this 12 Dec 13:02

Initial version.