Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sumedha's avatar

Laravel project is getting virus

Hi. I have been using laravel for few of my project but somehow my domain is getting effected by virus and I came to know those are causing because of shell.php file (vendor). Please help me out.

0 likes
2 replies
bashy's avatar

What vendor file exactly? shell.php doesn't sound appear to be a laravel/framework file.

Files can get infected by a number of things (WordPress site on same server with no proper setup for permissions).

1 like
AhimbisibweRoland's avatar

Here is the reality. Laravel can protect you upto the routes and the controller level.

Beyond this points everything that happens, in my opinion is not as a result of the framework but rather a result either of the developer or server administrator but not the framework

Please or to participate in this conversation.