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

Serve web UI without installation #694

Closed UlrichEckhardt closed 1 month ago

UlrichEckhardt commented 8 months ago

Heya!

This should be the final PR to easily support Slim (or any PSR-compatible framework) out of the box. This allows setting the installation path for the web UI files to false in order to turn off installation altogether. Instead, it then serves the files of the web UI from the '/clockwork' root dir as well.

This serves two use-cases:

Cheers!

Uli

itsgoingd commented 8 months ago

Hey, thanks for another great PR, looks promising. I will try to review and merge it this week.

itsgoingd commented 1 month ago

I ended up reworking this slightly and making it a default, which is a small breaking change for people using the web UI without specifying the paths explicitly.