polakosz / mafab
Library to search movie on Mafab.hu
Installs: 116
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/polakosz/mafab
Requires
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-10-10 03:23:41 UTC
README
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)