janvernieuwe / mal2anilist
Converts MAL id to anilist url
0.0.1
2019-04-04 19:22 UTC
Requires
- php: ^7.1
- ext-curl: *
- ext-json: *
Requires (Dev)
- jakub-onderka/php-parallel-lint: ^1.0
- php-vcr/php-vcr: ~1.3.2
- php-vcr/phpunit-testlistener-vcr: ^3.0
- phpro/grumphp: ^0.15.0
- phpunit/phpunit: ^6.3
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-12-04 19:45:24 UTC
README
Converter
This is a simple lib to convert myanimelist id's to a anilist url.
Installation
composer require janvernieuwe/mal2anilist
Usage
$mal2Anilist = new \Mal2Anilist\Converter(); $url = $mal2Anilist->getAnilistUrl(37430); // $url is now 'https://anilist.co/anime/101280'
When it cannot be found, null is returned.