psx / model
Model classes based on open data specifications
Fund package maintenance!
chriskapp
Patreon
www.paypal.me/fusioapi
Installs: 105 446
Dependents: 4
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=8.0
- psx/record: ^2.0
Requires (Dev)
- phpunit/phpunit: ^8.0
- psx/schema: ^4.0
- symfony/yaml: ^4.0|^5.0
- vimeo/psalm: ^4.0
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.