framework-x icon indicating copy to clipboard operation
framework-x copied to clipboard

Framework X – the simple and fast micro framework for building reactive web applications that run anywhere.

Results 13 framework-x issues
Sort by recently updated
recently updated
newest added

This changeset adds support for loading environment variables from the DI container configuration: ```php title="public/index.php"

new feature

Imagine you wanted to have a service with a constructor parameter of a string like this: ```php class UserController { public function __construct(string $hostname) { // ... } } ```...

new feature
BC break

Builds on top of https://github.com/reactphp/http/pull/460 and https://github.com/reactphp/promise/pull/138 (and countless upstream tickets referenced in https://github.com/reactphp/http/pull/460)

new feature

``` $app->addGroup('/users', [ // middleware1, // middleware2 ], function ($app) { $app->get('/{name}', function ($request) { return \React\Http\Message\Response::plaintext( "Hello " . $request->getAttribute('name') . "!\n" ); }); $app->addGroup('/{name}/posts', [ // middleware1, //...

In order to response with individual error messages and / or formats (e.g. JSON), we are able to put an ErrorHandler to the container (see #175). But the individual ErrorHandler...

Hey there 👋, first and foremost: thanks for Framework X! I'm currently developing a website from scratch and it's like a fresh breeze compared to the "heavy" frameworks I'm used...

documentation

in respect to the underlying http-server component which will not allow to define the own middleware streaming handler. this code will give the opportunity to handle the 64KB request body...

new feature

Adding example of using async components within middleware

documentation

I have tried to build a setup with two services: one framework-x service and a nginx as reverse proxy. If I am using the nginx configuration that you are suggesting...

documentation

Currently, if using nginx as a reverse proxy with the described configuration, PHP files in the public folder are served as-it (unparsed) to the client, because the `try_files` instruction in...

documentation