2 years ago
Tried Railway for Laravel about a year ago and had no success, had to remain on Heroku for time being. It's that time of the year again where I wanna try if there's been any progress with PHP on Railway, albeit says my trial ran out. Could you please reset it? Don't want to commit to a plan unless I know it works…
36 Replies
Even tried to upgrade by paying and my card gets declined (fully functional been using)
2 years ago
sorry but that's not something railway could do
Assuming the reset but who knows, good to know before I commit to paying for a plan if the platform is supported
2 years ago
the trial reset, it just wouldn't be fair to anyone else who's ever had their trial run out
2 years ago
as for Laravel support, the hard truth is if you don't understand the Laravel ecosystem you will always have a hard time deploying it
Super easy to deploy to Heroku, was impossible to get it to function a year ago, even with lots of help from your staff
2 years ago
I don't have staff 🙂 I don't work for railway
2 years ago
I have been helping in this discord for a very long time, I'm fully confident that the answer I gave you would be the same the team would give you
Seems that there is still issues with PHP extensions on Railway based on the answers in that pull request
2 years ago
you can use a Dockerfile to deploy your app
2 years ago
but as previously mentioned, if you aren't quite familiar with the entire php and Laravel ecosystem it will be challenging to deploy
2 years ago
Dockerfiles are quite elegant, it's a single file
2 years ago
it's a one time deal, set and forget
2 years ago
gives you total control over your build with none of the ambiguity you would get with nixpacks
Thanks for the info, might look into it. I do so much already as a solo dev that even if it sound ridicilous, I try to avoid adding more overhead
2 years ago
it's definitely worth using a dockerfile, and I'm sure you could find a good generic dockerfile for Laravel that would get you 90% of the way there
2 years ago
and as long as you are using a dockerfile the Laravel support becomes as great as your knowledge allows it to be
See it's quite easy from my perspective, if there is this much hassle to move from Heroku to begin with, why bother? It all works great on Heroku with a quite complex setup, I'm probably not doing myself any favor. It's not a simple app in any sense. I do appreciate your time and help though, best of luck.
2 years ago
fair enough!