Laravel Projects - Upload straight to a hosted web server?
Hi, I would like to make switch to Laravel for an upcoming project.
A government client will be hosting the php site and I want to ensure that I can handoff my files and the site will work on their server without the client having to install composer/laravel or any other dependencies (since they probably won't be able to).
So my question is... if I send my files from my Laravel directory to the client, will it work on their web server (considering that I edit the connection strings & user/passwords for databases/etc)?
From what I understand so far, Laravel produces/compiles php files, but when pushed up onto a dev/live server, the site should work as is? Please correct me if I'm wrong, as I need to give up on Laravel if it requires any installations on the client server.
The storage folder requires write permissions and obviously you'll want to ensure the environment is set for production, for example, debug mode is turned off.
Maybe want to run php artisan optimize --force beforehand too.
One caveat, anything you have in "require-dev": { in your composer.json file, will be included. You might want to strip those out first.