Nexmo / nexmo-laravel

Add Vonage functionality such as SMS and voice calling to your Laravel app with this Laravel Service Provider.
MIT License
318 stars 79 forks source link

nexmo not worked with lumen #14

Closed EugeneBogun closed 6 years ago

EugeneBogun commented 6 years ago

(1/1) FatalThrowableErrorCall to undefined function Nexmo\Laravel\config_path()

in NexmoServiceProvider.php (line 16) at NexmoServiceProvider->boot() at call_user_func_array(array(object(NexmoServiceProvider), 'boot'), array())in BoundMethod.php (line 29) at BoundMethod::Illuminate\Container{closure}()in BoundMethod.php (line 87) at BoundMethod::callBoundMethod(object(Application), array(object(NexmoServiceProvider), 'boot'), object(Closure))in BoundMethod.php (line 31) at BoundMethod::call(object(Application), array(object(NexmoServiceProvider), 'boot'), array(), null)in Container.php (line 549) at Container->call(array(object(NexmoServiceProvider), 'boot'))in Application.php (line 197) at Application->register(object(NexmoServiceProvider))in app.php (line 111) at require('/app/bootstrap/app.php')in index.php (line 14)

Lumen 5.5

percymamedy commented 6 years ago

Lumen has no config_path() method as all configuration are stored in .env

EugeneBogun commented 6 years ago

@percymamedy I think this package should be changed to universal solution for laravel and lumen