ngx-php
hyperf


ngx-php | hyperf | |
---|---|---|
6 | 10 | |
662 | 6,337 | |
1.1% | 0.7% | |
8.2 | 9.4 | |
7 days ago | 9 days ago | |
C | PHP | |
BSD 2-clause "Simplified" License | MIT License |
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.
ngx-php
- FrankenPHP: The Modern PHP App Server
- Ngx-PHP: Embedded PHP 8 for Nginx
-
Nginx Unit – Universal web app server
Two questions:
1. Does Unit + PHP doing the typical “initialize & teardown” that PHP is know for?
Or is Unit persisting the initialization/setup, hence why it’s achieving the way faster results?
2. How is Unit/PHP architecturally different than NGX-PHP (an event loop)?
https://github.com/rryqszq4/ngx-php
-
I was looking at TechEmpower benchmarks, and noted that PHP performs better than Node, how's that possible?
I guess you referring to php-nginx which seems pretty niche.
- ngx_php7 - Embedded PHP scripting language for nginx module.
hyperf
- Yii news 2023 issue 2
-
Laravel: Are there any successful SaaS websites built with it?
these days I would not start a new project in PHP without swoole or roadrunner: see the hyperf framework which is imo the best enterprise framework at the moment in PHP world: https://github.com/hyperf/hyperf
-
Top 10 Laravel Youtube Channels
https://github.com/hyperf/hyperf is a lot more powerful then laravel.
- How many folks actually use a framework?
-
Any good course on asynchronous programming/devops with PHP?
I think laravel now supports swoole out of the box - they call it laravel octane. https://laravel.com/docs/9.x/octane admittedly - the number of async components they support out of the box is not comparable to hyperf - https://github.com/hyperf/hyperf
-
I was looking at TechEmpower benchmarks, and noted that PHP performs better than Node, how's that possible?
It is just my 2 cents as someone working with php daily for the last 10 years - but I would use https://github.com/hyperf/hyperf for large projects. i mean you wont get away with just php - frontend is a whole another maze. webpack alone is a cryptic frigging mess.
- Hyperf - 🚀 a coroutine framework that focuses on hyperspeed and flexibility
-
Which PHP framework is more similar to Spring?
I would say https://github.com/hyperf/hyperf. as its made with high availability and high concurrency in mind, structured as mostly independent components and have many entreprise features most php frameworks dont, - such as: - connection pooling - ability to spin off side processes - built in crontab - co-routines - task workers - message queues
What are some alternatives?
swow - Coroutine-based cross-platform concurrent I/O engine.
ext-openswoole - Programmatic server for PHP with async IO, coroutines and fibers
nginx-module-vts - Nginx virtual host traffic status module
framework - :gem: Go! AOP PHP - modern aspect-oriented framework for the new level of software development
NGINX Unit - NGINX Unit is a lightweight and versatile open-source web app server that has three core capabilities. It is a HTTP reverse proxy, a web server for static media assets, and an application server that can natively execute application code in seven different languages.
cobol-on-wheelchair - Micro web-framework for COBOL
suhosin7 - Suhosin Extension for PHP 7.x
easyswoole - swoole,easyswoole,swoole framework
PHPMicroFramework - A simple PHP micro-framework.
ngx_http_proxy_connect_module - A forward proxy module for CONNECT request handling
crow - Fast, unopinionated, minimalist web framework for PHP.

