Which php framework is good for shared hosting?

Alex picture Alex · Feb 10, 2016 · Viewed 7.2k times · Source

I'm trying to use a PHP framework, but I don't have confidence with Composer and terminal commands. I would like to download a framework and upload it on my shared hosting and start to develop my application. Any suggestion?

Thanks.

Answer

Felix Lebel picture Felix Lebel · Feb 10, 2016

As posted above (or below?), I'd highly suggest Laravel. It currently is the most powerful, complete and versatile framework. Requires less code than most framework to achieve something.

You don't really have to know composer, since the commands to install the packages are given to you in a copy-paste version. All packages installation methods are neatly documented for each package.

You will need to tweak the "public" directory so it points instead to the public_html folder via a symlink.

A simple symlink will do. Add this to the .htaccess:

Options +FollowSymLinks

If you don't have cPanel shell access simply use the cron function to make the symlink for you.