Skip to content

Support for Laravel Lumen? #41

Discussion options

You must be logged in to vote

Hey, first things first, I'd like to say that I never tested this package with Lumen and I'm not sure I want to support it, because it's not as widely used, and it seems like most people are using plain Laravel or Octane to get more performance out of Laravel.

That said, I got it working, but it's very hacky and has a few problems:

Problem 1 - Unsolvable dependency resolving

Not sure why this happens, but others have reported it too.

This is fixed by adding these lines to bootstrap/app.php

$app->bind(Illuminate\Queue\QueueManager::class, function ($app) {
    return $app['queue'];
});

Problem 2 - Router dependency

The package needs Illuminate\Routing\Router and Lumen doesn't have it. You …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by marickvantuil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants