psx/model

Model classes based on open data specifications

v4.0.1 2022-07-24 19:27 UTC

README

About

Library which contains generated models based on a TypeSchema definition. All specifications are available at the spec/ folder. You can also generate all models by using the command php gen.php. We support the following data formats:

  • ActivityStream
  • AsyncAPI
  • Atom
  • OpenAPI
  • OpenRPC
  • Rss
  • SchemaOrg

All generated code is automatically Psalm level 1 compatible. These classes can be used standalone or in combination with the psx/data and psx/schema package to consume or produce the data format.