DEV Community

AGOUME  STEPHANE
AGOUME STEPHANE

Posted on

5 1

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.

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (1)

Collapse
 
shimanta_microcodes profile image
Shimanta Das

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

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay