Could be many different things and more than likely none of them related to laravel.
But yes you should be concerned. It is possible that malicious code on the server did that.
The fact there is an eval
in there is very bad news.
There is no way to tell from what you've said so far how this piece of code got in there. Could be anything. They could have come in through unrelated services and modified that file. Is User.php writable by the webserver user?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community