peekandpoke / metacore
MetaModels for your Code
v0.7.0
2018-02-26 13:22 UTC
Requires
- php: >=7.1
- peekandpoke/slumber: ~1.1.1
Requires (Dev)
- phpunit/phpunit: ~6.5.5
- roave/security-advisories: dev-master
README
What is the MetaCore?
The MetaCore is a way to represent objects exiting in your code base.
The representation can be transferred to other systems e.g. as JSON.
It is also intended to be a layer of decoupling between:
-
the actual code the represent the DomainModel of a project and
-
tools like code generators that can automate tasks based on the DomainModel
Use-Cases
-
The MetaCore-model can be used for building code-generators. Examples:
- Generators that builds SDKs for your Rest APIs in multiple languages
- Generators that builds HTML forms and validation from the pure definition of the DomainModel
-
The MetaCore-model can be used for building dev-tools like SwaggerUI.
TODO
MECO-1 - 0% - implement configurable type mapping, e.g. for \DateTime or LocalDate -> reported 2016-10-07 by PeekAndPoke