PHP code example of dimidrol88 / yii2-video-hosting-validator

1. Go to this page and download the library: Download dimidrol88/yii2-video-hosting-validator 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/ */

    

dimidrol88 / yii2-video-hosting-validator example snippets


...
[['link'], \dimidrol88\yii2-video-hosting-validator\VideoHostingValidator::class],
...