igzard / ncore
PHP Ncore Parser
1.0.5
2024-06-26 19:39 UTC
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- ext-simplexml: *
- guzzlehttp/guzzle: ^7.8
- nesbot/carbon: ^3.2
Requires (Dev)
- ext-http: *
- phpunit/phpunit: ^10.5
- dev-master
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-feature/test-123-123-adj-hozz-egy-j-enumot-a-category-enum-kszlethez-bo
- dev-feature/test-claude-fix-test-claude-cli-fix---create-a-simple-hellotxt-fil
- dev-feature/ab-4432-adj-hozz-a-categoryphp-hoz-egy-j-enumot-book-hun-s
- dev-feature/ab-4352-egsztsd-ki-a-categoryphp-enum-kszlett-egy-j-rtkkel
- dev-feature/ab-1111-rj-unittestet-a-kvetkez-fjlhoz-rssparser
- dev-feature/ab-4234-adj-hozz-egy-j-enumot-a-categoryphp-fjlhoz-hun-sd
- dev-feature/ab-6435-adj-hozz-a-categoryphp-hoz-egy-j-enumot-ai-hun-sdk
- dev-feature/ef-5678-optimize-database-queries
- dev-feature/cd-1234-add-dark-mode-support
- dev-feature/ab-3423-fix-user-authentication-bug
- dev-feature/ab-3523-adj-hozz-egy-j-enum-ot-a-categoryphp-ba-sorozat-sv
- dev-feature/ab-3423-rj-unittest-et-minden-publikus-metdushoz
This package is auto-updated.
Last update: 2025-07-30 11:23:50 UTC
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.