Skip to content

Commit 66c844a

Browse files
Updated read for Slim v3.1
1 parent d99482a commit 66c844a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ Using this package, Slim v3 applications can stay alive between HTTP requests wh
1818

1919
This project is currently in early stages of development and not considered stable. Importantly, this library currently lacks support for uploaded files.
2020

21+
There are currently [two known issues for this adapter](#known-issues).
22+
2123
Contributions and suggestions are welcome.
2224

2325
## Installing
2426

2527
```sh
26-
composer require "phpfastcgi/slim-adapter:^0.5"
28+
composer require "phpfastcgi/slim-adapter:^0.6"
2729
```
2830

2931
## Usage
@@ -69,3 +71,11 @@ FastCgiServer /path/to/web/root/script.fcgi
6971
```
7072

7173
If you are using a web server such as nginx, you will need to use a process manager to monitor and run your application.
74+
75+
## Known Issues
76+
77+
There are two known issues with this adapter that will be fixed in later versions.
78+
79+
1. Some Slim applications make use of additional helper methods on the Slim PSR-7 request object. Currently, PHPFastCGI uses request objects created by [Diactoros](https://github.com/zendframework/zend-diactoros) that do not have these helper methods. It is likely that some middleware that switches the Diactoros request to a Slim request will be created in the not too distant future.
80+
81+
2. Slim still keeps the request and response objects in the container. These container entries will not be valid for Slim applications running under PHPFastCGI. The request and response should always be received as method parameters.

0 commit comments

Comments
 (0)