markwalet/dotenv-manager

Refactor the Laravel service provider

Closed this issue · 0 comments

We can improve 3 things on our service provider:

  • The boot method is not being used. So we can remove it. (Already refactored)
  • When we only use the register method on the service provider, we can make it a deferred provider.
  • We should test if all injectables get registered correctly to the Laravel application container.