spatie/schema-org provides a fluent builder for all Schema.org types and their properties. The code in src is generated from Schema.org's JSON-LD standards file, so it provides objects and methods for the entire core vocabulary. The classes and methods are also fully documented as a quick reference. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall. If you don't want to break the chain of a large schema object, you can use the if method to conditionally modify the schema. The Graph has a lot of methods and utilities - the type-safe and simplest way is to use the overloaded methods of the Spatie\SchemaOrg\Schema class itself.

Features

  • All types can be instantiated through the Spatie\SchemaOrg\Schema factory class
  • All types also implement the SPL's ArrayAccess for accessing the properties via array notation
  • Types can be converted to an array or rendered to a script
  • Multiple properties can be set at once using the addProperties method
  • The Graph has a lot of methods and utilities
  • Graph Node identifiers

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow A Fluent Builder For Schema.org Types

A Fluent Builder For Schema.org Types Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of A Fluent Builder For Schema.org Types!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Software Development Software

Registered

2023-02-17