I have project in Laravel 5.4 I'm created new custom class and service provider for them. And bind this class to app in service provider register
method. And write this provider in app.php config. But it's not loading when app is loaded. I write Log
in __construct
method of my custom class Helper, but log not writing in laravel.log file and other operations not executes in this __construct
method. Below code from service provider.
public function register()
{
App::bind('helper', function() {
return new Helper;
});
}