src/Providers/SmsServiceProvider.php
public function register()
    {
        $className = studly_case(strtolower(config('message.vendor', 'smsgatewayme')));
        $classPath = '\Yugo\SMSGateway\Vendors\\'.$className;

        if (!class_exists($classPath)) {
            abort(500, sprintf(
                'SMS vendor %s is not available.',
                $className
            ));
        }

        app()->bind(SMS::class, $classPath);
    }
public function register()
    {
        $className = studly_case(strtolower(config('message.vendor', 'smsgatewayme')));
        $classPath = '\Yugo\SMSGateway\Vendors\\'.$className;

        if (!class_exists($classPath)) {
            abort(500, sprintf(
                'SMS vendor %s is not available.',
                $className
            ));
        }

        app()->bind(SMS::class, $classPath);
    }
Register services.

@return void