Laravel - Package Development - Opting Out Of Package Discovery

If you are the consumer of a package and would like to disable package discovery for a package, you may list the package name in the extra section of your application's composer.json file:

    
    "extra": {
        "laravel": {
            "dont-discover": [
                "barryvdh/laravel-debugbar"
            ]
        }
    },
	

You may disable package discovery for all packages using the * character inside of your application's dont-discover directive:

    
    "extra": {
        "laravel": {
            "dont-discover": [
                "*"
            ]
        }
    },