Laravel Messenger API built with Lumen
This is a simple (WIP) example of how you can use Laravel Messenger and Lumen to build an API.
Stay tuned for more info...
The irazasyed/larasupport
package was installed in order to use the config_path()
helper function, and the vendor: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)