psx / model
Model classes based on open data specifications
Installs: 61 510
Dependents: 4
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: >=7.2
- psx/record: ^1.0
Requires (Dev)
- phpunit/phpunit: ^8.0
- psx/schema: ^3.0
- symfony/yaml: ^4.0|^5.0
- vimeo/psalm: ^3.11
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
- Atom
- OpenAPI
- 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.