Skip to content

Releases: kiwilan/php-tmdb

v0.1.05

24 Sep 12:21
Compare
Choose a tag to compare
  • Add collections methods images() and translations()
  • Improve TmdbModel builtin methods to simplify all models constructors
  • Remove has into traits name to simplify the code
  • Move all images utils to Utils\Images, add static fixUrl() method to TmdbUrl
  • Add some properties to improve Repository
  • Add raw() method to execute raw request to TMDB API (for non implemented methods)

v0.1.04

24 Sep 09:12
Compare
Choose a tag to compare
  • add getRawDataKey(string $key) to save extract data from raw data
  • now all requests to API (except for images) have 'accept' => 'application/json' header
  • add getFirstResult(), getLastResult(), filter(\Closure $closure), find(\Closure $closure) to Results to help filter results

v0.1.02

20 Sep 09:10
Compare
Choose a tag to compare

Add getBelongsToCollection() to TmdbMovie

v0.1.01

20 Sep 09:00
Compare
Choose a tag to compare
  • add getRawData() method for all models to get raw data from TMDB API
  • add __set() method for all models to update model properties
  • delete TmdbBelongsToCollection model and use only TmdbCollection model, now getBelongsToCollection() is replaced by getCollection()
  • add getMedia() for TmdbMedia model to get media data which can be movie, tv show, or person

v0.1.0

18 Sep 16:27
Compare
Choose a tag to compare
  • Rename all models with Tmdb prefix to avoid conflicts with other models
  • Improve trending/all endpoint with new model TmbdMedia to add Person type

v0.0.38

17 Sep 07:10
Compare
Choose a tag to compare
  • Replace traits names with Tmdb prefix to avoid conflicts with other libraries
  • Use guzzle to download images

v0.0.37

14 Sep 11:54
Compare
Choose a tag to compare

Add getTmdbUrl() for collections

v0.0.36

14 Sep 11:47
Compare
Choose a tag to compare
  • Add getTmdbUrl() for movies, tv shows, seasons, episodes, and people.
  • Add getVotePercentage() for all models with vote_average entry to get vote percentage.

v0.0.35

13 Sep 13:14
Compare
Choose a tag to compare

Some fixes

v0.0.34

13 Sep 08:53
Compare
Choose a tag to compare

Fix on results if null.