Two Strategies
Choose FTP (incremental upload) for any plan, or Git (server-side clone) for SSD 30+ plans. Switch between them at any time.
Deploying Laravel to Netsons shared hosting requires dealing with non-standard SSH ports, EasyApache PHP paths, and cPanel constraints. This package handles all of it — so you just push and deploy.
Two Strategies
Choose FTP (incremental upload) for any plan, or Git (server-side clone) for SSD 30+ plans. Switch between them at any time.
Zero-Downtime Releases
Timestamped release directories with atomic symlink switching. Rolling back is a single command.
Automated Post-Deploy
Migrations, cache clearing, config/route/view caching, and queue restarts — all handled automatically after each deploy.
Shared Resources
.env and storage/ are shared across releases via symlinks. First-deploy seeders run once and never again.
Reusable GitHub Action
Use as a Composer package with Artisan commands, or as a standalone reusable GitHub Action in any workflow.
Netsons-Aware
Handles SSH port 65100, ea-phpXX binary paths, cPanel Composer, and public_html document root out of the box.
| Feature | FTP | Git |
|---|---|---|
| How it works | Builds locally, uploads via FTP | Clones repo on server via SSH |
| Asset building | In GitHub Actions runner | In GitHub Actions, uploaded via SCP |
| Composer install | In GitHub Actions runner | On server using Netsons PHP CLI |
| Requires on server | FTP access | Git + SSH access (SSD 30+) |
| Speed | Slower first deploy, incremental after | Fast (shallow clone) |
Installation
Install the package and run the setup wizard in under a minute.
Netsons Setup
Configure SSH keys and PHP on your Netsons cPanel hosting.