There is no session when running artisan command since its started by the "StartSession" HTTP middleware which doesn't run for console requests. If your just looking for a quick fix you can just request()->setLaravelSession(session()) and probably get it working :)