Skip to content
Advertisement

Migrations not running on server in laravel 5?

So I have a custom package which I am using in my project which has a lot of migrations. The package contains a lot of migrations and seeds. In the service provider of the package, I load the …

How do i filter the output of a scraper? (PHP) [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 6 years ago. Improve this question I am scraping a page and i am getting this result: But i

Symfony get connected user id from entity

In a Symfony2.8/Doctrine2 application, I need to store in each row of my SQL tables the id of the user who created or updated the row (users can connect with Ldap). So all my entities inherited of a GenericEntity which contains this variable (type would be string if I want to store Ldap username): And I use the prePersistCallback() to

How to set laravel 5.3 logout redirect path?

Is there no elegant solution to redirect to a specific page after logging out in Laravel 5.3? The function being called is from the trait AuthenticatesUsers: This is a default function from the core of laravel. So I have to override the whole function I cannot edit the core. But isn’t there a more simpler solution, cause it feel like

500 status code for symfony functional test

I’m performing a test just to see if a certain route is working. The page/route is found at http://localhost/login and when I go there in the browser it works fine and I’ve tested this with no cookies and my cache cleared. However, as soon as I test it in the phpunit LoginControllerTest class I recieve a 500 status code internal

Advertisement