summaryrefslogtreecommitdiff
path: root/docs/integration/phalcon.md
blob: 4b46e7d0f2a4731e9af2c8d4cb2a93aa1c03203b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Phalcon 3 and Phalcon 4

## Phalcon 3

You can use [Phalcon+](https://github.com/bullsoft/phalconplus) to integrate with RR. Phalcon+ provides PSR-7 converter-classes: 
 - ```PhalconPlus\Http\NonPsrRequest``` to help converting PSR7 Request to Phalcon Native Request, 
 - ```PhalconPlus\Http\PsrResponseFactory``` to help create PSR7 Response from Phalcon Native Response.
 
and other finalizer to process stateful service in `di container`.

## Phalcon 4

Phalcon 4 has builtin supports for PSR-7:
 - [Request](https://docs.phalcon.io/4.0/zh-cn/http-request),
 - [Response](https://docs.phalcon.io/4.0/zh-cn/http-response), 
 
 you can easily integrate with RR.