Skip to content

Tag: lumen

Apache ignore headers and status codes from Lumen

I have app based on Docker and microservices. Angular, MySQL, Lumen + Apache. Unfortunately on Docker my API doesn’t send any header or status code. Any response is 200. I tried change HTTP server to NGINX but for nothing. I have no idea how can i fix this issue. Apache config Dockerfile docker-compose.…

Clear cache in Lumen Framework

I want to clear cache in lumen framework. I thought the command line is the same with Laravel command. I tried to run this: but it giving error php artisan Could not open input file: artisan. Need help! Answer Lumen doesn’t have the artisan command. From the Lumen Cache documentation head over to the La…

Sufficient API Response for Mobile App

I’m creating an API for my mobile app with Laravel – Lumen and i have the following scenario which i don’t know what is the most sufficient way to return the response to my Android / IOS App, lets assume that the user is trying to sign in (same end point): Case 1 : the user provide the corre…