pforret / pf_kijkwijzer
PHP Component to retrieve Kijkwijzer (NL/BE) ratings for movies
1.0.3
2023-10-18 11:53 UTC
Requires
- php: ^8.1
- ext-curl: *
- pforret/pf_pageparser: ^2.0
Requires (Dev)
- laravel/pint: ^1.13
- phpunit/phpunit: ^9.0
- vimeo/psalm: ^5.15
This package is auto-updated.
Last update: 2024-11-18 14:16:19 UTC
README
Installation
You can install the package via composer:
composer require pforret/pf_kijkwijzer
Usage
$obj = new Pforret\PfKijkwijzer(); $movies = $obj->search('Top Gun!'); $movie = $obj->first('Avatar', 2009, 5, PfKijkwijzer::FILTER_MOVIES); // Pforret\PfKijkwijzer\Format\KijkwijzerResult Object // ( // [title] => Avatar // [url] => https://www.kijkwijzer.be/film/avatar/ // [release_year] => 2009 // [type] => Speelfilm // [rating] => Leeftijd 12 // [minimum_age] => 12 // [warnings] => Array // ( // [0] => Geweld // [1] => Angst // ) // )
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email author_email instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.