itsgoingd / clockwork

Clockwork - php dev tools in your browser - server-side component
https://underground.works/clockwork
MIT License
5.69k stars 321 forks source link

Slim: Implement extended endpoint #674

Closed UlrichEckhardt closed 8 months ago

UlrichEckhardt commented 10 months ago

The Slim middleware lacks support for requests like __clockwork/<ID>/extended, which is required to retrieve the XDebug profiler data. This PR implements the according routing. The first commit only does a bit of cleanup, in particular type annotations. The second commit implements the actual request handling.

itsgoingd commented 8 months ago

I think we'll recommend using the new vanilla middleware w/ Slim once released and fully remove the Slim-specific integration in next major.