[php] Looking for a php response module (class) for API response
黄舟
黄舟 2017-06-10 09:47:23
0
2
915

Is there a more general response module in php, which can be installed with composer and used to make restful responses, such as setting response headers, response status codes, returning json data, etc. Please recommend.

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
给我你的怀抱

Try PhalApi, a lightweight framework for interfaces

習慣沉默

symfony/http-foundation

Basically no dependencies. Contains Request, Response and Session.

Just like its package name. This is an http basic package. The laravel framework also uses it. Produced by a major manufacturer, trustworthy.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template