Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

marcint's avatar

Laravel Vapor doesn't run jobs

I have a Vapor project that uses an API route to start a job.

class ApiController extends BaseController
{
    public function store(Request $request)
    {
        MyJob::dispatch();
    }
}

This runs fine on localhost after running php artisan queue:work and hitting the endpoint, but when I deploy to Vapor, it won't start the job. I need to run the previous command manually on the Vapor dashboard to see it running.

Is there something I missing?

Thanks

0 likes
3 replies
marcint's avatar
marcint
OP
Best Answer
Level 2

If anyone has a similar issue, I found the problem.

One of the packages in my vendor folder was calling a job that didn't exist. That caused to fail all the jobs, but Vapor doesn't logged.

1 like
relativedevs's avatar

Can you shed any light we are having the same issue -> How did you figure out which job it was. We are queuing mails but there are not processing

Please or to participate in this conversation.