DEV Community

AGOUME  STEPHANE
AGOUME STEPHANE

Posted on

PHP REST API

Hi !
This week I thought about the best way to build REST API with PHP , assuming server constraints. The context is that, I work with startups and incubators as technical advisor and sometimes as #fullstack developer. Some of those startups use mutualised server (shared hosting , no VPS); so they don't have hand in infrastructure configuration.
I present them different ways as : codeIgniter as a framework with zero constraint that requires VPS as production server. No need of composer, there is no cli commands.
But the REST request is not natively handled. There are some issues with PHP//input.
And for symfony it recommended to use VPS as Prod server.
I need your point of view , and advise for optimisation and configuration.

Top comments (2)

Collapse
 
dhruv_valand profile image
dhruv valand

I was struggling with PHP until I found this course. The comprehensive curriculum, hands-on projects, and supportive community made learning enjoyable and effective vataliya-computer.blogspot.com/202...

Collapse
 
shimanta_microcodes profile image
Shimanta Das

I would prefer laravel if your focus is to build rest api via php.