Awesome
Lumen Messenger API Example
This is a simple (WIP) example of how you can use Laravel Messenger and Lumen to build an API.
Stay tuned for more info...
Notes
-
The
irazasyed/larasupport
package was installed in order to use theconfig_path()
helper function, and thevendor:publish
artisan command. -
The following was added to
bootstrap/app.php
:$app->configure('messenger'); $app->register('Cmgmyr\Messenger\MessengerServiceProvider'); $app->register('Irazasyed\Larasupport\Providers\ArtisanServiceProvider');
and uncomment:
$app->withFacades();
,$app->withEloquent();
and'Illuminate\Session\Middleware\StartSession',
(within Middleware)