PHP code example of janvernieuwe / mal2anilist

1. Go to this page and download the library: Download janvernieuwe/mal2anilist library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

janvernieuwe / mal2anilist example snippets


$mal2Anilist = new \Mal2Anilist\Converter();
$url = $mal2Anilist->getAnilistUrl(37430);
// $url is now 'https://anilist.co/anime/101280'