igzard/ncore
最新稳定版本:1.0.5
Composer 安装命令:
composer require igzard/ncore
包简介
PHP Ncore Parser
README 文档
README
This module provides PHP API-s to manage torrents from ncore.pro eg.: search from RSS
Install
composer require igzard/ncore
Get Passkey from ncore
- Log in to ncore.pro
- Navigate to the 'Settings / Other' data page
- Copy the 'passkey'
Examples
Searching for Toy Story in category: Film (HUN SD). By default, without category, it searches in film hun sd.
$ncore = new Ncore('{passkey}'); $torrents = $ncore->search([ 'search' => 'Toy Story', 'category' => Category::FILM_HUN_SD ]);
Download first match for Toy Story in category: Film (HUN SD). By default, without category, it searches in film hun sd.
$ncore = new Ncore('{passkey}'); $torrents = $ncore->download( [ 'search' => 'Toy Story', 'category' => Category::FILM_HUN_SD ], '{pathToDownload}', '{filename}' );
Contributing
Thank you for considering contributing to the PHP Ncore! To contribution follow the steps.
git clone git@github.com:igzard/ncore.git
composer install
cd tools/php-cs-fixer
composer install
For running tests:
make phpunit
or
php ./vendor/bin/phpunit
Coding style fix:
make cs-fix
or
php ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
If you have any ideas, create an issue: https://github.com/igzard/ncore/issues
Licence
PHP Ncore is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-04-11