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

devninja's avatar

I need a simple free hosting service to test my laravel app

i had issues with composer and cache and database setup before when tried to deploy when i began with my project and now i'm in final stage and i need to test cache and configure my app, i can't use homestead because i had issues with making the folders sync, any thoughts from people with experience in deploying and running composer successfully in any host? thank you in advance.

0 likes
11 replies
jlrdw's avatar

I ftp'ed all and worked. But search forum keyword deploy.

1 like
chaibialaa's avatar

free + composer is something you should really forget about.

1 like
devninja's avatar

@jlrdw What service do you use ? and how you run commands like db:seed ?

@bluepenlabs to test only, fortrabbit has it but i had issues with ssh'ing to it.

jlrdw's avatar
jlrdw
Best Answer
Level 75

A good read https://laracasts.com/discuss/channels/laravel/env-file I have one site on godaddy. I get all working on development server first then I upload via FTP. Of course changing the database config. On GoDaddy I do not use the. Env file I just set the configs in the various config files.
But really do a search on deploy, uploading to server, and search terms like that there were many post on this subject.
I still have a free byethost account but it has PHP 5.4 so I can not use laravel 5.1 on my free hosting account. Edit Laravel 4.2 works on PHP 5.4.

1 like
Snapey's avatar

Use Mamp or wamp to create a local server environment if you have issues with Homestead

Build the folder structure and the DB content locally and then export the database and import it into mysql at the shared host.

Then push all your files, and configure either the .env file or the database.php to connect to the hosting provider's database.

But, $5 account at Digital Ocean is almost free and you will learn a lot setting it up yourself plus have a lot more flexibility in the process.

1 like
devninja's avatar

@jlrdw thanks for the link & clarifications.

@Snapey i'm developing with wamp since a year now, fortrabbit push command stops and says : "Mcrypt is required" when trying to install a dependency with composer, than i tried to ssh in order to activate that extension because apparently fortrabbit has but you need to activate it. i'm going to ask someone for the payment and i will do it ones i'm sure that the test works, i can't ask him twice if it doesn't work, my problem is e-payment with foreign currency, and yes 5$ is almost free

devninja's avatar

@jlrdw it's working :'( thanks for byethost, i'll definitely go for a normal vpn when you can do anything with an interface, i have no time for setting servers, ssh's and terminals, i heard that i can run artisan commands within controllers/routes, that's great :) i just need to hide the site from getting indexed

devninja's avatar

@mercuryseries congrats nice app mate, i had a login issue with heroku ssh : $ heroku ssh Email : myemail@host.com ====> i press enter Password (typing will be hidden): ! Descripteur non valide

  • do you know why i'm getting this message ?

Edit : # i resolved it , i was using the gem directly instead of heroku toolbelt

1 like
webfuelcode's avatar

There are many free Webhosting service providers...and I have tested a few years ago especially when I was first decided to get a blog for free. https://gopickhost.com/5-best-free-web-hosting/

But I do not know if laravel works on free web hosting. My first experience was on uploading limit and another is disc space.

I could not upload laravel files directly to free hosting like infinityweb, but I used FTP software to upload for those large files. Still the limit of storage the problem for me.

I think creating a short app using those free hosting could be possible but I have not checked after that...

Please or to participate in this conversation.