The Movie Database Support

Hello,

I am looking for a complete example of how I can use the API interface in PHP. I am not quite clear how I call the various functions in php.

Thank you!

5 replies (on page 1 of 1)

Jump to last post

Hi webbub,

Best I can suggest is taking a look at Michael Roterman's PHP lib here. He has a few examples in the readme.

Thank you!

Hi webbub,

I'm the author of this project.

You can find a ton of examples in the examples directory as well :-) https://github.com/wtfzdotnet/php-tmdb-api/tree/master/examples, the examples are split up into API and Model as the library has 2 ways to utilize it.

If you have any questions or issues please do let me know!

Thanks,

Michael R.

Hello Michael,

thank you! I'll watch that.

Best Regards Stefan

Hi

i see this example https://github.com/wtfzdotnet/php-tmdb-api/blob/master/examples/configuration/model/get.php

but where is equire_once '../../../vendor/autoload.php'; require_once '../../../apikey.php';

in project i did not find this two file

Regards

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login