Download the PHP package vdlp/oc-schemaorg-plugin without Composer
On this page you can find all versions of the php package vdlp/oc-schemaorg-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vdlp/oc-schemaorg-plugin
More information about vdlp/oc-schemaorg-plugin
Files in vdlp/oc-schemaorg-plugin
Package oc-schemaorg-plugin
Short Description Provides the rendering of structured data.
License GPL-2.0
Informations about the package oc-schemaorg-plugin
Vdlp.SchemaOrg
Provides the rendering of structured data on your October CMS powered website.
What is structured data?
Structured data is code in a specific format, written in such a way that search engines understand it. Search engines read the code and use it to display search results in a specific and much richer way. You can easily put this piece of code on your website.
There are all kinds of structured data. Structured data is always a code format. There’s structured data for books, for reviews, for movies, and for products in your online store, for instance. In all cases, structured data adds more details to your snippet in the search results.
Browse Google’s Search Gallery to see which rich results are powered by structured data.
Source: yoast.com
Requirements
- PHP 8.0 or higher
- October CMS 3.0 or higher
Installation
composer require vdlp/oc-schemaorg-plugin
Usage
To render structured data from a component you can listen to the Vdlp\SchemaOrg\Classes\Events\FetchStructuredData
event.
Example:
Add the vdlpStructuredData
component to your page or layout to render the structured data.
Issues
If you have issues using this plugin. Please create an issue on GitHub or contact us at [[email protected]]().
All versions of oc-schemaorg-plugin with dependencies
composer/installers Version ^1.0 || ^2.0
october/system Version ^3.0
spatie/schema-org Version ^3.11