Closed scramatte closed 5 years ago
Currently, Lumen isn't supported. Also, by default Lumen has Facades disabled.
I don't recommend using it with Lumen, but if you want to use it with Lumen, you can follow the following steps:
bootstrap/app.php
by adding:
$app->register(Gr8Shivam\SmsApi\SmsApiServiceProvider::class);
vendor/gr8shivam/laravel-sms-api/src/config
to config
directory in project root. If config directory doesn't exist, create it.bootstrap/app.php
:
$app->withFacades();
bootstrap/app.php
:
$app->configure('sms-api');
config_path
in Lumen.That's it!
Hi,
I need to use your class with Lumen. I'm unable to declare SmsApi facade properly ...
Thank you