A simple Object Oriented wrapper for Yify (YTS.AM) API, written with PHP.
Uses Yify API. The object API is very similar to the RESTful API.
- PSR 6 Cache Pool
- Light and fast thanks to lazy loading of API classes
- Extensively tested and documented
- PHP >= 5.6
- A HTTP client
- A PSR-7 implementation
- (optional) PHPUnit to run tests.
Via Composer:
$ composer require tnhnclskn/yify-apiWhy php-http/guzzle6-adapter? We are decoupled from any HTTP messaging client with help by HTTPlug.
<?php
// This file is generated by Composer
require_once __DIR__ . '/vendor/autoload.php';
$client = new \YifyAPI\YifyAPI();
$response = $client->listMovies();
$movies = $response->movies;From $client object, you can access to all YifyAPI.
php-yify-api is licensed under the GNU License - see the LICENSE file for details