schema is a command line tool part of the API Platform framework that instantly generates a set of PHP classes from RDF vocabularies such as (but not limited to) Schema.org or ActivityStreams. Alternatively, it can generate PHP classes from an OpenAPI documentation.