Replit PHP Artisan Migrate command doesn't work

How am I supposed to use replit if I cannot even use php laravel on it? Every command I have tried fails to do the migration and says that nix wont let me install php8.2 or something

consider using the php templates; they come with php preinstalled.

2 Likes

I believe there is a PHP Laravel template which you could use.

1 Like

Even when I imported a git?

How do I change it after having imported without selecting a template?

When you use the import from Github option, there should be a way to select the template?

It said it couldn’t detect and I didn’t realize a template was required