LaraShip Setup Wizard
A static React + TypeScript configurator for LaraShip. It generates commands in the browser for an Ubuntu server; it never connects to that server or performs a deployment itself.
The CLI contract is pinned to LaraShip 1.4.1, commit 23444655233b55f6249aa2cbcb32d16f5e4bd165. See the audit, complete option registry, and verification report.
Develop
Use Node.js 24 (tested with 24.17.0) and npm. Install with the committed lockfile:
npm ci
npm run dev
The printed localhost URL opens the configurator. English is the default, with a Russian language toggle. Basic/Advanced changes field visibility; previously entered advanced settings stay active and appear in the result. There is no backend, analytics, remote font, database, API key or user account. All application assets are bundled locally.
npm run lint
npm test
npm run build
npm run preview
Production files are in dist/. No Docker image is required or supplied by this website.
The development toolchain uses a scoped npm override for TypeScript ESLint's minimatch dependency. Keep the lockfile and override together; see the compatibility checks and removal condition.
Supported choices
- New Laravel ^13.0/^12.0 or an existing HTTPS/SSH Git repository.
- PostgreSQL 17 or MySQL 8.4, in Docker or native on the same Ubuntu host.
- HTTPS by default; optional HTTP, Filament, Redis integration, queue worker, Horizon and database backups.
- Multiple compatible admin-panel/api/staging presets; automatic dependencies and explained conflict blocks.
- Full wizard fields by default: database names/users/ports, Basic Auth identity, PHP upload limits, project ZIP/DH parameters, endpoints and an explicitly acknowledged Expert hook. Basic mode is optional.
- Final completion reports via trusted script and/or HTTPS POST, private token-file paths, bounded timeout and explicit application-password sharing.
- Deterministic quoted deploy/dry-run commands and a local
deploy.config download.
- Visible English/Russian installation guide and a shared Bash, Docker image, Python native or Python Docker runner choice. Runner choice is held in memory only.
The final step shows all compatible deployment commands together: Bash, Docker, Python native and Python Docker, each with its own copy button. Run one command for a deployment. The runner selector marks the preferred command and selects dry-run, configuration-file instructions and management commands. Native databases keep Bash/Python native available and explain why both Docker commands are unavailable. Other runner-specific path, mount and image-trust restrictions are checked separately, so an incompatible alternative never replaces its command with a different backend. Password placeholders remain server-side templates in every format.
The Redis container belongs to LaraShip's base stack; its module configures Laravel cache/session/queue integration. The scheduled database backup module is distinct from a one-time project ZIP.
Combine presets
Select presets independently in Start with a preset. admin-panel + staging combines the admin panel/queue stack with Basic Auth; api + staging combines Horizon/16M uploads with Basic Auth. admin-panel + api is blocked because Queue worker and Horizon conflict. Existing repositories allow staging; presets that install Filament/Horizon require a new application. Already selected manual queue services also block conflicting presets, with visible recovery instructions.
Unchecking a preset removes its contributions while preserving manual service choices. No presets clears the selected presets. Included modules and staging's Basic Auth stay locked while a selected preset requires them. Switching to an existing repository removes new-app-only presets and retains staging.
Commands repeat --preset NAME, and config exports repeat PRESET="NAME" on separate lines. Both use stable registry order (admin-panel, api, staging), independent of click order. Modules/auth combine additively; an explicit PHP upload override wins. Optional saved preferences migrate the old single preset value to a presets array under the existing storage key. Unknown, duplicate, source-incompatible and conflicting saved preset choices are filtered; manually selected services take priority during restoration. Identity and other private fields remain excluded.
Install LaraShip on the target server
The website's Installation section comes before the configurator. It explains the toolkit, SSH workflow, Ubuntu prerequisites, DNS/ports and all installation methods. Application services use Docker with every CLI runner.
- Bash script: install the listed host packages, clone the complete official repository into a previously absent
/opt/laraship, and check out the audited source revision. Do not download the deployment script alone. Review the toolkit before using sudo. Docker Compose V2 must be available when Docker is already installed; LaraShip can install Docker CE when absent.
- Docker image: install Docker Engine on a supported Linux amd64 server first (official Ubuntu guide), then pull and inspect the published CLI image. It already includes the toolkit, Docker client and Compose plugin. A separate source checkout is optional.
The image is shellharbor/laraship:1.4.1, pinned in generated commands to shellharbor/laraship@sha256:77ca05fcaf7ba06d6f3073781180f5422b6e0f0168d42cb96c6f4b77ead76c7a. Registry metadata and OCI labels were verified on 2026-11-14. Its OCI source revision matches the audited release commit; deployment/management/module/preset/helper/preflight/entrypoint file hashes are also checked. See the compatibility audit.
Docker deploy/management commands use the target server's Docker socket, host networking and identical host/container paths for /var/www, /run/lock/laraship and /var/backups/laraship. Create those directories first using the guide. Docker socket access grants administrative control; review and trust the image. This adapter is for a Linux server, not Docker Desktop path mapping or a remote daemon. Informational --version, help and ordinary dry-run need no socket or deployment mounts. Supplied SSH keys, completion scripts, token files and configuration files are mounted read-only at their absolute server paths. Replace every occurrence of the config path after uploading the file to the server.
Native PostgreSQL/MySQL provisioning requires Bash or Python CLI with the native backend on the host. A direct Docker preference resolves to Bash; Python Docker resolves to Python native. Docker choice becomes available again with a container database. A project ZIP defaults to /tmp under Bash and /var/backups/laraship under Docker; database dumps are separate.
Python CLI (introduced in 1.3.0)
Install Python 3.10+ and pipx on the target server, then run pipx install laraship==1.4.1. The guide also provides a pip/venv alternative without changing OS Python. Python is an installation/execution adapter for Laravel deployment, not a new application framework.
Select Python CLI · native to download and checksum-verify the complete toolkit with laraship install --backend native --version 1.4.1. Existing target directories/symlinks are refused. Select Python CLI · Docker to use the verified immutable image. Adapter options precede --; deployment/configuration flags follow it. Privileged commands use sudo "$(command -v laraship)" so pipx's executable remains available when sudo resets PATH. Management commands use the same backend. Installation/upgrades of the adapter do not update deployed applications or an existing toolkit.
Managed application upgrades (new in 1.4)
The operation tools include a separate Managed upgrade form for plan, prepare, verify, apply and recover. It supports the reviewed Compose Laravel 12/13, PHP 8.2/8.3 and installed Filament 4/5 matrix. Each phase exposes its applicable arguments, requires deliberate review before candidate execution or live changes, and never executes in the browser. Planning is the default; direct Docker plans use read-only project/socket mounts without writable lock/archive mounts. Python Docker delegates that contract to the matching adapter.
Use the actual private plan path printed by preparation. Git apply needs an exact tested upstream commit. Database recovery is separate; --database-verified is an explicit operator assertion and is reset when the project, phase or saved plan changes. The browser never reads a plan, patch or dump. Existing update remains a separate Git code/dependency refresh. See the pinned upgrade guide.
Runtime policy and existing shared proxies
Update the complete toolkit/image and matching Python adapter. Existing application PHP images and databases are not automatically upgraded. LaraShip enforces reviewed PHP security floors (8.2.35/8.3.36/8.4.27/8.5.12); Compose defaults to PHP 8.3.36 and keeps the reviewed 8.2.35 alternative. Existing runtimes need a reviewed rebuild or supported managed upgrade. Custom Kubernetes application images require PHP CLI and /app/composer.lock. The site links the actual runtime/rebuild policy.
LaraShip 1.4.1 can adopt supported existing standalone nginxproxy Compose layouts, including inline routes and custom builds. Original private backups live under /var/www/.laraship-proxy-backups/. Unsupported topology is refused; mount/network changes can briefly recreate the proxy. If creation succeeded but proxy registration failed, use the documented recovery rather than deleting or reinstalling the application. The release guide links the exact supported layouts/recovery procedure. PostgreSQL still defaults to 17: upstream PostgreSQL 18 verification does not imply automatic migration.
Final completion notification (introduced in 1.3.0)
In Advanced → Fine-tuning → Integrations, enable completion and choose a trusted executable, an HTTPS API, or both. The generator supports --on-complete, --completion-endpoint, --completion-token-file, --completion-timeout (1–300 seconds, default 30) and explicit --completion-include-secrets. Tokens stay in private server files; the site accepts only their paths. No completion settings are saved in browser storage. Generated Docker commands expose required files read-only; Python Docker rejects path characters its adapter cannot encode.
Final version-1 JSON covers success, operational failure and handled cancellation after validation arms the hook, including archive results when that stage is reached. Delivery follows project-lock release; each target is tried once with a bounded timeout. Callback errors preserve the original deployment exit code. Invalid configuration, help/dry-run, early toolkit/root failures, SIGKILL and power loss do not deliver. Completion applies to deploy, not update/backup/Kubernetes.
Passwords are omitted by default. Explicit opt-in includes known application passwords for both targets; DB root passwords, API tokens, SSH keys and .env are never included. Scripts execute as the deploy user (normally root), inside the administrative CLI container for Docker. Hook/token files and parents require trusted ownership/permissions, no symlinks; token files need mode 600 or stricter. Root-only inputs can require sudo even for dry-run validation. Reports contain project identity and may contain unverified fields on failure; protect receiver storage.
The old --post-deploy remains an application setup command inside PHP and repeats on repository updates. The old credential --endpoint remains PUT before ZIP creation and is available under its own legacy disclosure. Completion uses final JSON on stdin / HTTPS POST and an API Idempotency-Key equal to run_id. The browser contacts neither endpoint.
Secrets and validation boundary
There are no actual password fields. LaraShip generates secrets on the server by default. Optional Fine-tuning password choices produce templates for PostgreSQL, MySQL app/container-root, Redis, Filament and Basic Auth. Native MySQL separately needs its existing host root password. Output/config retain clearly marked placeholders, and a Bash hidden-input helper fills them privately on the server. The CLI still exposes passwords in process arguments; hidden input does not solve ps visibility. Never paste secrets into this website. Protect LaraShip terminal output because it prints credentials.
Optional persistent storage contains only an allowlist of stack preferences, not emails, domain/slug, repository URL, key path, endpoint, commands or passwords. It is off by default; Clear data resets everything. Config export includes entered non-password settings and can include a sensitive URL/hook: review it, keep it out of Git and use chmod 600. Do not source the config as shell code.
The browser validates syntax and compatibility, not DNS, ACME, SSH keys, hook/token ownership or permissions, open ports, Ubuntu packages or database connectivity. Native databases must already be installed and configured for Docker access. Existing repositories need artisan and composer.json at their root and prebuilt frontend assets. A deployment refuses an existing project directory.
Complete arguments and operations
The wizard opens in Advanced mode with every applicable deployment setting. The Database step directly edits PostgreSQL/MySQL names, application users and ports with literal flag labels such as --db-postgres-user; empty values retain server generation. Password-template choices sit with their database, service or Basic Auth settings. Fine-tuning