danyal14 danyal14
1

Queue job table auto-increment reset to 1 byself

Hi Guys, Recently I deployed Lumen job Queue to production RDS AWS, so far I had no issue and things are working smoothly as expected. But I noticed that jobs...
Lumen
1
83
pirmax pirmax
2

Lumen 5.5 Socialite Providers doesn't works with setConfig()

I use Laravel Socialite Providers (https://socialiteproviders.gi...
Lumen
2
632

SQLSTATE[HY000] [2002] No such file or directory

Hello, I get this error: SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from `results` where `finalHouse` = ravenclaw) in Connection...
Lumen
4
87
dmahesh1705 dmahesh1705
0

Unknown error is sending to slack channel from lumen application

To get notify for uncatched and internal errors, I made the following changes to render function in Handler.php if (App::environment(...
Lumen
0
35
cololaradev cololaradev
4

Extending Request Class

Hello, I´m trying to extend the Request Class. Use Case: There is a middleware which determines a microservice url from the request path. This microservice u...
Lumen
4
367
faithfulman faithfulman
1

Lumen - Error on ResponseServiceProvider (ResponseFactory)

I am trying to add a ResponseFactory to my new ResponseServiceProvider. Though I cannot seem to get it to work. Here is my code: //in the app.php $a...
Lumen
1
60
danyal14 danyal14
0

horizon for Lumen

Hi, I am running multiple Lumen micro services, those are running jobs/queues on it's own. It's it possbile to configure horizon/laravel to capture queues from all t...
Lumen
0
29
asi_lh asi_lh
2

Validate or not API calls

What is more proper way to build own API, create simple ass possible CRUD actions like: public function show($id) { return Users::fi...
Lumen
2
86
Estecado Estecado
2

MethodNotAllowedHttpException on post route in Lumen 5.7

Hi, I struggle with this error since yesterday : MethodNotAllowedHttpException in RoutesRequests.php line 233 It appear when I use a new post route to...
Lumen
2
130
Faisal Faisal
2

Static route "/api/v1/admin/vendors/categories" is shadowed by previously defined variable route "/api/v1/admin/vendors/([^/]+)" for method "GET"

I am using Lumen 5.8 and when i using put method in multiple uri's in a single prefix, i got this error. This is my Route $router->group(['prefix' => 'vendors'...
Lumen
2
162
parthp1808 parthp1808
0

Lumen integration with API Management tools

Does lumen support integration with API management tools like Azure API managament, or informatica or any other good option? I am exploring to create an api for ente...
Lumen
0
57
Farshad Farshad
3

Manage Patch routes

I have some route like below for example Route::patch('/users/{id}/update-name', '[email protected]_name') Route::patch('/users/{id}/update-password', 'U...
Lumen
3
116
luisgarciaalanis luisgarciaalanis
3

When to use lumen and when to use laravel?

I am currently using lumen on a project and noticed a lot of features are either disabled or missing. So I started enabling or porting the code to make the features work....
Lumen
3
878
vertolet vertolet
2

Lumen supervisor

Hi, I'm facing a problem with supervisor. Sometimes it starts to clone processes in queue till it starts crashing. Is it possible to find out why?...
Lumen
2
156
foram foram
1

Use Lumen and Laravel in single project structure

Any idea where we can use Lumen and laravel in single project structure where we can share uploaded files and models file commonly. by this way we can improve APIs p...
Lumen
1
134
execom99 execom99
0

Lumen Passport OAuth - Inject token to the Request header

hi, I'm trying to simulate other user signed in (impersonation) and having other user's ID in one of the request parameters. Is there a way to inject this other user...
Lumen
0
77
chimit chimit
2

assertSoftDeleted in Lumen

How to test whether an object was soft deleted in Lumen? Laravel has an assertSoftDeleted() method, but it's not available in Lumen like many other assertions....
Lumen
2
127
latz latz
5

Problem with german date format

Hello, i have problems with german date format and postgresql. this is part of json request to the API: trainingsdate: "21.02.2019" Validatio...
Lumen
5
191
mriyadh mriyadh
0

Lumen Post Routes not working on production

Hi every 1, I have completed my lumen api project on my local machine and its all working fine after testing all routes, push it to GitHub and clone it on my VPS in...
Lumen
0
110
friendifie friendifie
4

Shared web-host displays my user's root directory?

Hi there, Apparently my shared web-host wasn't running my Lumen API but I got it working... But, I'm experiencing one more problem and I don't know how to fix it. I think i...
Lumen
4
198
friendifie friendifie
14

Lumen works on shared web-host but isn't working?

Hi there, I'm new to Laravel and Lumen but I do understand that Lumen is a lot faster and more lightweight. That's exactly what I need for my budget/space and needs. So, I...
Lumen
14
320
jbunel jbunel
1

[Lumen 5.4] Post data always empty with PHPunit

Hello, When i try to send post data with $this->post method in my test controller, post data are always empty but when i test through postman, it works. Do you ha...
Lumen
1
215
hsl hsl
13

UnexpectedValueException in Request.php

Hi Guys, Every couple of days I get this entry in the error logs for my lumen app (latest version): [2015-08-11 06:57:12] lumen.ERROR: exception 'UnexpectedVa...
Lumen
13
524
frdmn frdmn
8

Lumen - current route in view

Hello, I try to display the current route name in a view and was using something along the lines {{ Route::getCurrentRoute()->getActionName() }} and...
Lumen
8
1028
profchydon profchydon
2

Class App\Api\v1\Controllers\SecondaryStudentController does not exist

I created an API with Lumen and on my localhost, everything works fine but on my production server, i keep getting this error message whenever i try to access a route:...
Lumen
2
175
DarrellDD DarrellDD
0

Session in 5.8

So I've been using Lumen 5.1 for a long time as micro-framework to build small websites with admin flavoured features. The login system running trough my big laravel setup....
Lumen
0
188
marc0 marc0
1

Command in Lumen is not connecting with the AWS RDS

I have a Lumen 5.7 application in Elastic Beanstalk with PHP 7.2, there are several endpoints that are working correctly, get and insert data in the RDS. But a Lumen comman...
Lumen
1
185
lucasctd lucasctd
8

Optional parameters inside group

For some reason if you write a route inside a group only with a optional parameter, Lumen will return 404. For example: $router->gro...
Lumen
8
219
snitch snitch
0

Lumen 5.8 and UpdateOrCreate() with relation requirements

Hi, I have the following 2 Models: users and emailaccounts and emailaccounts has the user.id as a FK attribute. I use users hasOne emailaccount && emailaccou...
Lumen
0
102
iamoskvin iamoskvin
0

Type-hint dependency in controller does not work

Hello, could you help me, pls? I have created service: OdataService. Then in the controller I can get a service instance like that: $odata = app(Odata...
Lumen
0
99
tkmorgan tkmorgan
0

404 Errors when posting to webroot

I am working with Laravel Lumen on iis 8.5 and I had a problem with routes intermittently giving 404 errors. It would work just fine for a while, and then start giving 404...
Lumen
0
106
Thinkverse Thinkverse
8

Lumen Hash Config

Hello everybody, I've been playing around with Lumen for a bit, does anyone know how to change the hashing drivers on Lumen? I've tried adding a config option to the .env f...
Lumen
8
242
xxRockOnxx xxRockOnxx
9

Lumen Session not persisting on every request / Lumen SessionManager

I can't seem to find any way to do sorting of middleware in Lumen. Session auth is being used by the application and the problem is, Authenticate middleware is being called...
Lumen
9
342
Ahosan Ahosan
0

How can multiple user use the same client Id and secret from the front end application using lumen passport

I'm using lumen passport. There Is single user is related to single client. But I need any registered user can access the same API from my client application. What can I do...
Lumen
0
93
chaevnicher chaevnicher
0

ExceptionHandler not working on lumen 5.8

why server return 500? on 5.7 this code worked $app->singleton( Illuminate\Contracts\Debug\ExceptionHandler::class, App\Exceptions\Handler::class...
Lumen
0
124
Create a New Discussion Button