PHP code example of graychen / moive-url
1. Go to this page and download the library: Download graychen/moive-url 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/ */
graychen / moive-url example snippets
use graychen\moiveUrl\moive;
php
$name="喜剧之王"
$moive=moive::getInstance();
$moive->setName($name);
$url = $moive->getShareUrl();
php
$name="喜剧之王"
$moive=moive::getInstance();
$moive->setName($name);
$url = $moive->getPlayUrl();