Releases: kiwilan/php-tmdb
Releases · kiwilan/php-tmdb
v0.1.05
- Add collections methods
images()
andtranslations()
- 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 staticfixUrl()
method toTmdbUrl
- Add some properties to improve
Repository
- Add
raw()
method to execute raw request to TMDB API (for non implemented methods)
v0.1.04
- 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)
toResults
to help filter results
v0.1.02
Add getBelongsToCollection()
to TmdbMovie
v0.1.01
- 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 onlyTmdbCollection
model, nowgetBelongsToCollection()
is replaced bygetCollection()
- add
getMedia()
forTmdbMedia
model to get media data which can be movie, tv show, or person
v0.1.0
- Rename all models with
Tmdb
prefix to avoid conflicts with other models - Improve
trending/all
endpoint with new modelTmbdMedia
to addPerson
type
v0.0.38
- Replace traits names with
Tmdb
prefix to avoid conflicts with other libraries - Use
guzzle
to download images
v0.0.37
Add getTmdbUrl()
for collections
v0.0.36
- Add
getTmdbUrl()
for movies, tv shows, seasons, episodes, and people. - Add
getVotePercentage()
for all models withvote_average
entry to get vote percentage.
v0.0.35
Some fixes
v0.0.34
Fix on results if null.