Skip to content

Tag: laravel

Laravel with() and search using LIKE not working

So I have 2 tables, 1 table for storing debt(id, amount, category_id) and 1 table for storing debt categories(id, name). I am trying to pull the data for each month from the debt table, but I also have a search which seems to not work, I guess I am missing something. I have the following: Debt Model: This wor…

Laravel logoutOtherDevices with Fortify

I built a Laravel app with Fortify authentication. There was a requirement that when the users log in, they should be logged out from all other devices. In the Laravel documentation, it is mentioned that I can use the Auth::logoutOtherDevices($password); method. But it is not clear how to use this with Fortif…

laravel dd return empty value

all… My problem here is when i want to return values with dd($datasave), return all other but, one is lost my code (first Controller) my Solicitudes.php(Model) and my view(not all only the part that is not returning… ) but when i want to see the returning values result: AppModelsSolicitudes {#1259…

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.…