funkjedi / composer-include-files

Include files at a higher priority than autoload files.
MIT License
122 stars 21 forks source link

Update to suport plugin usage in vendor package #9

Open TerrePorter opened 5 years ago

TerrePorter commented 5 years ago

I was using the plugin in a package, and it was not processing the packages include_files options.

I've updated the code to allow it to work from inside a vendor packages.

hopeseekr commented 5 years ago

Well, looks like I'm going to fork this project, just to get this PR merged.

hopeseekr commented 5 years ago

@TerrePorter Thank you so much for your contribution!

I registered my fork at 0.0.0/composer-include-files so composer will, by default, load it first if it's first in the composer.json.

Here it is in action: https://github.com/phpexpertsinc/Laravel57-env-polyfill

ivanvermeyen commented 5 years ago

Thanks @TerrePorter and @hopeseekr ! You just saved me a giant headache :) I'm using 0.0.0/composer-include-files and it works great! 👍

hopeseekr commented 4 years ago

We've got over 40,000 installs now!

@TerrePorter, your patch is changing the world!