Seldaek / php-console

PHP Debug Console
Other
529 stars 91 forks source link

file handling #32

Closed staabm closed 10 years ago

staabm commented 10 years ago

what do you think about adding support for opening/reading/writing files with the php-console via Gaufrette[1] attached resources?

[1] https://github.com/KnpLabs/Gaufrette

so, if configured... one could e.g. edit files on the server where php-console is deployed or use it to edit files of a remote server (using remote adapters etc..)

Seldaek commented 10 years ago

I'm not sure if that's in the scope of this project really. I think it goes a bit further than a quick play-thing. Maybe having an easy way to plug-in some bootstrap code would be enough though since it would allow you to require an external lib and configure stuff that would be available within the context of the eval'd code?

staabm commented 10 years ago

I am ok with having it in a seperate repos and pluging it into the project