AutoRoute
Automatically maps HTTP requests to PHP action classes. (by pmjones)
API Platform
Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time. (by api-platform)
AutoRoute | API Platform | |
---|---|---|
10 | 52 | |
190 | 8,316 | |
- | 0.6% | |
1.5 | 8.2 | |
about 1 year ago | 9 days ago | |
PHP | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AutoRoute
Posts with mentions or reviews of AutoRoute.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-22.
-
How do router frameworks efficiently handle 1000s of routes?
Also if you use a convention-based approach to your routes instead of hardcoding them you can support any number of routes. Something like how pmjones/AutoRoute and CodeIgniter's AutoRouting work.
-
A Faster Router System in PHP
You may wish to take a look at AutoRoute. I am the lead, and you can see benchmarks for it here.
-
PSX - Build fully typed REST APIs
This sounds remarkably similar to AutoRoute.
-
Building the Fastest PHP Router Ever
Interesting; AutoRoute is 2x faster than FastRoute in common cases; see benchmark. And it's pretty feature-filled at that.
-
Why I prefer a routing config file to Controller annotations
There is another alternative: AutoRoute automatically maps incoming HTTP requests (by verb and path) to PHP action classes in a specified namespace. No more route files or annotations/attributes.
-
Make your own Framework: (The Fastest) Router Edition
Might be nice to see AutoRoute included in the mix; it too is faster than FastRoute, and has some interesting additional features.
-
The case for route attributes
Not to yammer on about it, but that is exactly what AutoRoute does.
-
Piko router, a fast router for PHP based on radix tree
Nice! I'd be interested to see how it fares against AutoRoute -- benchmarks against FastRoute here.
-
Weekly "ask anything" thread
You might additionally appreciate this: https://github.com/pmjones/AutoRoute
API Platform
Posts with mentions or reviews of API Platform.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
Lucky like a 7 — Seven SymfonyCasts Courses to Master Symfony 7
Technically API Platform is not part of Symfony. Although, they are both French. 😉
- Nginx Unit – Universal web app server
-
Shot in the dark
Probably API-platform. The website is down at the moment, but: https://github.com/api-platform/api-platform It's Symfony based (and plays nice in that ecosystem), also allows you to describe entities via Schema org vocab, has a client generator, and comes with docker-compose and helm charts. I've used it extensively to build various headless services. It's really easy to expose annotated Doctrine entities.
-
API Platform up and running in 5 minutes 🚀
API Platform is a framework for API-first projects, built on top of Symfony components. Let's see how to create a minimal and lightweight starter project in just 5 minutes!
- API Platform (the PHP framework for creating REST and GraphQL APIs) has a brand new website!
-
Is that the way to create an API? 😣 yes, I hate PHP
Just use a nice framework like Symfony and for an API there is a nice thing called API Platform
-
Questions about getting started with PHP
On the Symfony side, a headless API can be built really quickly with https://api-platform.com/. You describe your domain entities with Schema.org vocabulary, can use a client generator to hammer out a UI in Next, Nuxt, Quasar, or whatever as a starter, it comes with an admin backend, and a Helm chart to deploy on Kubernetes. Works great for APIs when paired with, say Nuxt SSGs/PWAs if you want more of a JAMstack approach.
- Easiest way to build and maintain a api-first project in php or another Programming Langauge These days?
-
What is the best way to write a dedicated server?
It could be implemented with STOMP, or Mercure (goes well with API-Platform, written in PHP/Symfony), you could write your own with the help of nchan and scale it via Redis. If it's a web service, the best practices for operating and scaling are well established, Godot then just becomes another client.
-
PSX - Build fully typed REST APIs
Why would someone use this over API Platform?
What are some alternatives?
When comparing AutoRoute and API Platform you can also consider the following projects:
Fast Route - Fast request router for PHP
Symfony DataTables Bundle - DataTables bundle for Symfony
Laravel - The Laravel Framework.
Apigility
php-jwt - PHP package for JWT
Fusio - Open source API management platform
php-router-benchmark
PHP-CRUD-API - Single file PHP script that adds a REST API to a SQL database
AutoRoute-benchmark - Benchmarking for AutoRoute.
Hateoas - A PHP library to support implementing representations for HATEOAS REST web services.
Ratchet - Asynchronous WebSocket server
Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.
AutoRoute vs Fast Route
API Platform vs Symfony DataTables Bundle
AutoRoute vs Laravel
API Platform vs Apigility
AutoRoute vs php-jwt
API Platform vs Fusio
AutoRoute vs php-router-benchmark
API Platform vs PHP-CRUD-API
AutoRoute vs AutoRoute-benchmark
API Platform vs Hateoas
AutoRoute vs Ratchet
API Platform vs Kong