When comparing API Platform vs Adonisjs, the Slant community recommends Adonisjs for most people. In the question“What are the best web frameworks to create a web REST API?” Adonisjs is ranked 15th while API Platform is ranked 37th. The most important reason people chose Adonisjs is:
If you are already programming in PHP with Laravel, you will have no trouble starting development with Node using Adonis.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Self-documented API
Pro Very little code to set up an api and still highly customizable
Pro Based on Symfony Framework
Pro Based on Laravel PHP Framework
If you are already programming in PHP with Laravel, you will have no trouble starting development with Node using Adonis.
Pro Similar to Rails
Pro Built-in modules for everything
There are built-in modules for everything: Auth, Social Auth, mailing ect
Pro Has websocket support out of the box
Pro Very good documentation
Pro Easy to learn, especially if you're already familiar with Laravel
Pro Option for full-stack or api standalone implementation
You can choose to use the full-stack version or if you wish to build a RESTful API you can choose to use the api standalone version.
Cons
Con Based on Symfony Framework
Con No NOSQL integration
Only used ORM, not ODM.
