You can use type hinting and laravel will resolve GameQ for you. Another option is to use it directly $GameQ = new \GameQ\GameQ();
.
If you still want to use service provider you can register binding for \GameQ\GameQ in your AppServiceProvider.php or in a separate one. Snippet
After that you can make a facade, or use automatic Facade
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community