PHP code example of silvershop-suite / seo
1. Go to this page and download the library: Download silvershop-suite/seo 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/ */
silvershop-suite / seo example snippets
interface StructuredDataProvider
{
public function getName(): string;
public function appliesTo(SeoContext $context): bool; // right page/record type, module present, data non-empty
public function getNodes(SeoContext $context): array; // schema.org nodes, or @id-keyed fragments to merge
}