Kirby CMS app detects NodeJS app

I’m trying to deploy an existing Kirby project on Fly, but it keeps detecting a NodeJS app instead of Laravel, even if I install Laravel in my composer.json.

I’m going by the assumption that a Laravel setup would work since it’s just installing Composer stuff. Is there any way to force it to create a Laravel or even just a PHP app?

Hi!

You can create an empty artisan file in the root of the project, and fly launch should detect a Laravel app then, e.g.:

cd /path/to/project
touch artisan
fly launch
1 Like

That did it. Thank you!

1 Like