Lightweight PHP API for the Gamescom Site
Overview
A small, framework-free PHP API that accompanied the Gamescom event platform, providing a handful of endpoints for fetching and posting event data outside the main Symfony2 application.
Why It Exists
Alongside the full Symfony2 build, a few endpoints were needed as a thin, standalone API, quick to deploy and call directly, without the framework’s overhead.
What We Built
A set of plain-PHP scripts: api.php and InAPI.php defining the inbound/outbound API surface, end.php for an endpoint/handler, and config.inc.php for connection settings, accompanied by a Romanian notes file (Informatii utile.txt). The code reads/writes data directly, in the procedural PHP style typical of the era.
Technologies & Approach
Vanilla PHP with a simple include-based config, deliberately minimal, prioritising a fast, dependency-light API surface to complement the heavier Symfony2 backend.
Outcome / Impact
Provided a no-framework integration point for the Gamescom site. It demonstrates pragmatic, direct PHP API work where a full framework would have been overkill.
Capabilities Demonstrated
- Building lightweight, framework-free PHP API endpoints
- Pragmatic integration glue around a larger application