020-end-to-end
Demonstrating end to end testing of a simple REST API (by testingallthethings)
framework-x
Framework X – the simple and fast micro framework for building reactive web applications that run anywhere. (by clue)
020-end-to-end | framework-x | |
---|---|---|
1 | 14 | |
3 | 792 | |
- | - | |
0.0 | 6.6 | |
about 1 year ago | 6 days ago | |
PHP | PHP | |
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.
020-end-to-end
Posts with mentions or reviews of 020-end-to-end.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-06.
-
What would you use for simple PHP app with few routes and http client?
The slim Framework is really nice. Easy to use. I have a little example application here https://github.com/testingallthethings/020-end-to-end
framework-x
Posts with mentions or reviews of framework-x.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-27.
-
Modern PHP features explained – PHP 8.0 and 8.1
Have a look at Framework X (https://framework-x.org). It's barebones, but provides routing and basic request/response handling to build your own stuff upon. It's based on ReactPHP so you can use it as standalone service or use it in shared hosting with FPM, whichever suits you.
-
I like the PHP constant RAM characteristics under a load but struggle to find a semi-decent req/s PHP framework/library for API backends
Using FrameworkX default hello world example I get 12.4K req/s on my M1. FrameworkX is using ReactPHP. Unless I'm reading activity monitor wrong it's ~10MB idle and 12,5 MB max.
-
Do I need Laravel for an HTTP API project? If so, why?
There are many micro-frameworks available like Slim, Mezzio(with Swoole may be), or if you are into async then you can also try Framework X(from core maintainer of ReactPHP). This frameworks have small footprints compare to Laravel, Symfony, etc. Yes, you can't get things like authentication, routing and other out of the box but they can easily be installed and configured to be used.
-
What have fibers been used for so far?
I saw it was mentioned in the Framework X
-
What is after OPcache ?
As others have mentioned, in certain scenarios using a long-running application server (rather than mod_php/php-fpm) to serve requests can make sense. There are a number of extensions and libraries available that facilitate this with asynchronous code execution - Swoole has already been mentioned but you may also want to check out ReactPHP (not related to JS React, other than they stole the name) and Framework X
-
Media Streaming with ReactPHP
The Framework X is an attempt to make ReactPHP into a micro framework, but I see little mention of it.
- Framework X - Reactive Web Application Framework
-
What would you use for simple PHP app with few routes and http client?
Framework-x https://github.com/clue/framework-x
-
Anyone have production examples or prototypes you built in Swoole?
With ReactPHP, I've written a couple websocket apps. Worked pretty great for that. https://framework-x.org/ is also a pretty good place to get started for a simple HTTP microservice-type app.
-
Persistent PHP code in an API?
Yeah ReactPHP will do this. I have an event source server running and it was pretty easy (once you get the hang of using react). I had an nginx proxy in front of it for tls. Have a look at https://framework-x.org too
What are some alternatives?
When comparing 020-end-to-end and framework-x you can also consider the following projects:
Proxy yxorP - About Web 🦄 Proxy (GUI) : The SAAS(y), Multi-tenancy, Headless, Plug & Play, Web Proxy, Guzzler - Back-end included, PHP CURL+Composer are Optional. Leveraging SAAS architecture to provide multi-tenancy, multiple threads, caching, and an article spinner service.
React - Event-driven, non-blocking I/O with PHP.