r/PHPhelp • • Oct 31 '25

develope a Rest API

Hello, I want to develop a restapi, what framework would you recommend?

I'm searching myself, there are many options, but I'm worried about the security of the inputs.

If anyone has experience, I'd appreciate some advice.

Laravel is heavy, let's think about a simple api!

I want a simple and secure framework :(

8 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/equilni Nov 01 '25

Originally responded to the wrong person..

Also upgrading the same framework can sometimes be a huge PITA.

CI 3 to 4 is a complete rewrite.

https://codeigniter.com/user_guide/installation/upgrade_4xx.html

Slim 2 to 3 was as well. 3 to 4 wasn’t too bad

https://www.slimframework.com/docs/v3/start/upgrade.html

https://www.slimframework.com/docs/v4/start/upgrade.html