Category: Laravel, PHP

Many articles that I read has wrong way of deploying Laravel application on shared hosted environment inside cPanel. Most of them stated that uploading the project folders inside the cPanel and copy the public folder to public_html and modify the Laravel framework ( public/index.php). I believe the following steps is the correct way to deploy and easier way to maintain continuous integration and continuous delivery. Login to you cpanel with your login credentials and then go to Advance section and inside it you will find terminal.Note: Make sure you have SSH access from your providerConfi gure your shell environment to use composerDownload composer:Install composer: Upload you project to home directory of the cPanel file manager.

Go your your app folder.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners