Skip to content

Load dynamically a composer dependency #146

@Taluu

Description

@Taluu

Hi,

I was wondering if psysh could load on demand (and only for the current session) a composer dependency. For example (my last and freshest use case), I need to play around with Symfony's PropertyAccess component to make some tests.

Rather than setting up a blank project with this requirement (and go back to good old php -r or a test script), it would be a killer feature to have a command like import package/name, and be able to play around with whatever was imported, limited to the current session : once the session is killed, the dependency would also be killed (maybe work on a /tmp directory ?)

I know this is huge though...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions