5 months ago

Package dependencies during development

Posted 5 months ago by Veleous

When creating packages that have dependencies, how do you include them for local testing but not in the published package?

So that I can test locally, I have been adding:

include __DIR__.'/../vendor/autoload.php';

Then when about to push to my repo, I remove that line. This seems a little hacky though, is there a 'correct' method for this?

Please sign in or create an account to participate in this conversation.