PHP Package: spatie/schema-org

Spatie's PHP library for Schema.org structured data implementation with rich SEO features and comprehensive support for various content types.

Current Version: 3.23.1
Last Updated: 2025-01-31
PHP Requirement: ^8.0
Dependencies: None

Package Description

Leverage the power of Schema.org with Spatie's PHP library, allowing you to effortlessly enhance your website's search engine visibility and user experience. With detailed markup options for diverse content formats, this library streamlines the process of implementing structured data while ensuring maximum search engine optimization benefits.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.23.1

Download Download v3.23.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/spatie/schema-org/3.23.1/loader.php';
use Spatie\SchemaOrg\Organization;
use OtherVendor\Dependency\ExampleClass;

$obj = new Organization();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.