PHPackages                             tongyifan/doubanphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tongyifan/doubanphp

ActiveLibrary

tongyifan/doubanphp
===================

Library for parsing metadata information about movies and TV shows from Douban Movie

0.1.1(6y ago)32971MITPHPPHP &gt;=5.6CI failing

Since Feb 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/tongyifan/doubanphp)[ Packagist](https://packagist.org/packages/tongyifan/doubanphp)[ RSS](/packages/tongyifan-doubanphp/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

DoubanPHP
=========

[](#doubanphp)

Library for parsing metadata information about movies and TV shows from Douban Movie. This library use data api from [Rhilip/pt-gen-cfworker](https://github.com/Rhilip/pt-gen-cfworker), cache included.

1. Setup your own pt-gen on Cloudflare worker See [Rhilip/pt-gen-cfworker](https://github.com/Rhilip/pt-gen-cfworker). Then change `api_endpoint` in `conf/config.ini` to your own cfworker.
2. Requirements

- PHP &gt;= 5.6
- PHP cURL extension
- PHP JSON extension

2. Install

```
composer install tongyifan/doubanphp
```

3. Usage

```
