Home

Awesome

Get help on Codementor

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

  1. The irazasyed/larasupport package was installed in order to use the config_path() helper function, and the vendor:publish artisan command.

  2. 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)