laravel container is very easy to use, But why should we depend on illuminate/contracts, Sometimes I do not want to use illuminate/contracts because it's too big
There are many options, I have a few for you:
1) Don't use Laravel's container component, use a different one (there are many designed to be used separately), see here;
2) Stop complaining about a few files; a lot of packages don't even properly define their .gitattributes so you likely have hundreds (if not thousands) of extra files in your vendor folder already (such as tests, .editorconfigs etc);
3) Continue on your bandwagon against illuminate/contracts even though it clearly is designed to encompass the entirety of Illuminate and not just a singular component (don't be this guy).
tks
Most helpful comment
There are many options, I have a few for you:
1) Don't use Laravel's container component, use a different one (there are many designed to be used separately), see here;
2) Stop complaining about a few files; a lot of packages don't even properly define their
.gitattributesso you likely have hundreds (if not thousands) of extra files in your vendor folder already (such as tests,.editorconfigs etc);3) Continue on your bandwagon against
illuminate/contractseven though it clearly is designed to encompass the entirety ofIlluminateand not just a singular component (don't be this guy).