PHPackages                             nypl/schemabuilder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nypl/schemabuilder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nypl/schemabuilder
==================

SchemaBuilder

0.1.1(10y ago)3261[1 PRs](https://github.com/NYPL/schemabuilder/pulls)proprietaryPHPCI passing

Since Jun 9Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/NYPL/schemabuilder)[ Packagist](https://packagist.org/packages/nypl/schemabuilder)[ RSS](/packages/nypl-schemabuilder/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

SchemaBuilder
=============

[](#schemabuilder)

A simple library to generate [Schema.org](http://schema.org).

Quality
-------

[](#quality)

[![Build Status](https://camo.githubusercontent.com/adb48cddd0a09f473c2d8c67e2978ac2518de5b033bb49a391088f99d04cd5c7/68747470733a2f2f7472617669732d63692e6f72672f4e59504c2f736368656d616275696c6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/NYPL/schemabuilder.svg)

Installation
------------

[](#installation)

This library requires PHP 5.4 or later.

It is recommended that you install this library using Composer.

Dependencies
------------

[](#dependencies)

SchemaBuilder relies upon and requires the following dependencies:

- `danielstjules/stringy` - A PHP string manipulation library.

Getting Started
---------------

[](#getting-started)

### Build Schema.org Object

[](#build-schemaorg-object)

Start by instantiating your primary Schema.org object with the **type** of the object.

For example, to create a [Book](http://schema.org/Book):

```
