PHP code example of sasaya / ydict.php

1. Go to this page and download the library: Download sasaya/ydict.php 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/ */

    

sasaya / ydict.php example snippets

bash
composer global 
bash
wget https://github.com/storyn26383/ydict.php/raw/master/build/ydict.php.phar
chmod +x ydict.php.phar
sudo mv ydict.php.phar /usr/local/bin/ydict.php
bash
ydict.php <word>
bash
ydict.php -v <word>