juicyfx / vercel-examples

📦 Example projects using Vercel platform. Using Node.js, PHP and others.
https://f3l1x.io
MIT License
318 stars 150 forks source link

Execute artisan command(s) #128

Open SnoopyCodeX opened 1 year ago

SnoopyCodeX commented 1 year ago

How to execute artisan command in vercel using this?

I need to execute php artisan migrate command after the dependencies have been installed. I've tried using composer scripts but it doesn't seem to work properly.

I'm using vercel's postgresql database and I've already set the credentials in the environment variables.

Is there any way to execute artisan command?

causefx commented 9 months ago

Github actions maybe? Use ubuntu etc...