Tools/frameworks similar to API Platform?
I've been playing with API Platform recently, and I think the general concept is really cool, which got me thinking that it's kind of odd that I haven't seen very many other tools like it.
A quick summary of API Platform is that it takes a schema (PHP classes) and exposes a CRUD API for it, as REST and (optionally) GraphQL. In the case of REST, it supports standards like JSON-LD, Hydra, etc., and also generates a Swagger/OpenAPI spec, as well as exposing a Swagger UI instance. If your schema classes are also Doctrine (ORM) entities, it can instantly serve up a fully functional CRUD API for them, with support for pagination, sorting, filtering etc., but this is entirely optional and even if you use this automatic integration, you can simply not use it for resources that don't fit into this model, and you can build on top of it with DTOs, serializer annotations, etc. It also has an admin component and client generator component, but the core functionality is what I'm really focusing on here.
Can anyone think of projects that do something similar to this, maybe in other languages? I vaguely remember reading about something kind of similar to this for Rails, for instance.
1 comments · 50% upvoted · other discussions
Java has tons of them, JHipster is one that I do recall.
Swagger will also build your API code from models built using their editor.