PHP code example of yuecode / image

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

    

yuecode / image example snippets


use Yuecode\Image\YouTu;

 $res = YouTu::pornDetectUrl(
           array(
               "http://www.bz55.com/uploads/allimg/140805/1-140P5162300-50.jpg","http://img.taopic.com/uploads/allimg/130716/318769-130G60P30462.jpg"
           )
        );
dd($res);