Seldaek / php-console

PHP Debug Console
Other
529 stars 93 forks source link

composer library support #37

Closed staabm closed 9 years ago

staabm commented 10 years ago

Sometimes you need to include/bootstrap a lib to run code within the debug console. e.g. you like to try if an API of a certain library achieves what you want..

therefore it would be cool If I could somehow make a library which is distributed via composer/packagist available to the current source within phpconsole.

I think about something like http://composer.borreli.com/, so having a separate tab in which I can drop a composer.json and have everything available defined in this file at your fingertips.

Seldaek commented 10 years ago

Could be nice in some cases for sure, if you want to work on it I think it could be done by hashing the composer.json to be able to check if it was changed then you run a composer update and otherwise you just include vendor/autoload.php.

staabm commented 9 years ago

Will add http://melody.sensiolabs.org support in a few days