InterNACHI / modular

Modularize your Laravel application
MIT License
788 stars 65 forks source link

Disable module autoload #86

Open rzkhrv opened 7 months ago

rzkhrv commented 7 months ago

This change resolves the problem of autoloading files for modules that are not in the composer.json.

inxilpro commented 7 months ago

@rzkhrv can you explain why you would want this?

rzkhrv commented 7 months ago

Hi @inxilpro, my case is when I remove a module from composer.json I get some errors...

inxilpro commented 7 months ago

Oh cool. Can you think of any reason this shouldn't just be the default? I don't know that we even need a config flag…

rzkhrv commented 7 months ago

I don't have any reason, basically we can remove the config flag

princejohnsantillan commented 6 months ago

I agree. Feels like should be the default. I like this change.

rzkhrv commented 6 months ago

Hi @inxilpro, I did it but my IDE doesn't want to format the code, can you help me?