Skip to content
PoLaKoSzPublic

About

PHP library to search movies on https://mafab.hu/

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Mafab.hu

Latest Stable Version Total Downloads License

Mafab.hu is the hungarian IMDb according to this article. This PHP library helps to search for movies on it.

Install

Via Composer

$ composer require polakosz/mafab

Usage

use PoLaKoSz\Mafab\Mafab;
...
$mafab = new Mafab();
$search = $mafab->search(); // @return PoLaKoSz\Mafab\EndPoints\SearchEndpointInterface

$results = $search->quicklyFor('Avatar');

print_r($results);

Tests

  • $ composer run-all-tests: runs both unit and regression tests
  • $ composer run-u-tests: runs only the unit tests
  • $ composer run-r-tests: runs only the regression tests (to detect HTML DOM changes in the endpoints - calls Mafab.hu and after try the response)

About

PHP library to search movies on https://mafab.hu/

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages