1. Go to this page and download the library: Download wanze/seo-maestro 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/ */
wanze / seo-maestro example snippets
// Render all meta tags, including the common ones.
echo $page->seo;
// or...
echo $page->seo->render();
// Render groups individually, e.g. the opengraph meta data.
echo $page->seo->opengraph->render();
// Get a single value.
echo $page->seo->meta->description;
$page->of(false);
// Set values as strings or placeholders to reference the value of another field.
$page->seo->opengraph->description = 'A description for opengraph';
$page->seo->meta->title = '{title}';
// Inherit the Twitter card value from the field configuration.
$page->seo->twitter->card = 'inherit';
// Include the page in the sitemap and bump its priority.
$page->seo->sitemap->