1. Go to this page and download the library: Download bomi/mvcat 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/ */
bomi / mvcat example snippets
use bomi\mvcat\service\Mvcat;
implementation to find a language
Mvcat::build("manifest.json")
->language($language)
->execute(function(int $code, Exception $exception = null){
if ($code !== 200) {
echo $exception->getMessage();
}
});
$this->getRequestContext()->getMethod(); // POST, GET, PUT, DELETE, OPTIONS
$this->getRequestContext()->getPostData; // post data
$this->getRequestContext()->getGetData; // get data
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.