PHP code example of jinjie / structureddata
1. Go to this page and download the library: Download jinjie/structureddata 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/ */
jinjie / structureddata example snippets
public function getStructuredSchemaData() {
$organization = new Organization();
$organization
->name('Swift DevLabs');
return $organization;
}