Skip to content

Commit

Permalink
- Remove service providers from app config that are autoloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
rappasoft committed May 28, 2018
1 parent 9129ae6 commit cc90580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions config/app.php
Expand Up @@ -161,9 +161,6 @@
/*
* Package Service Providers that aren't auto-discover...
*/
Appstract\BladeDirectives\BladeDirectivesServiceProvider::class,
Creativeorange\Gravatar\GravatarServiceProvider::class,
HieuLe\Active\ActiveServiceProvider::class,

/*
* Application Service Providers...
Expand Down

2 comments on commit cc90580

@BrekiTomasson
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick question ... As more and more providers add support for auto-discover to their old packages; is there any way of auto-detecting which packages are doing this so you know which/when to remove them from app.php ? Something in the logs, something about packages loaded twice or something like that? Curious to see if I've missed any in my own "spring cleaning". :)

@rappasoft
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It gives a list of auto-discovered packages at the end of composer update or install. I just compare manually.

Please sign in to comment.