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

Erez's avatar
Level 1

PHP Laravel Tinker ↵

Hi, i'm new to both PHP and Laravel , I'm getting this error: "Could not open input file: artisan".

I accidently erased my previous XAMPP installation, I reckon it was installed there, yea? Thanks!

And BTW - this forum's UI/UX is just a tad off from BRILLIANT.

0 likes
3 replies
Snapey's avatar

artisan should be in the root of your project. Just make sure you are in that folder when you run the command.

Erez's avatar
Level 1

I found the problem to be part of the Xampp package being deleted, nothing to do with Laravel itself, thanks Snapey.

Please or to participate in this conversation.