Stack detection
Deployxa reads your repository and picks the runtime, build and start commands. Override any of them in project settings.
Deploy Laravel with Composer builds, config and route caching, database migrations, managed MySQL or PostgreSQL, and HTTPS.
01 / Quickstart
Install the CLI and deploy the Laravel project in your current directory, or connect the repository in the console for push-to-deploy.
$ npm install -g @deployxa/cli$ deployxa login$ deployxa deploy
02 / Guide
Deployxa finds composer.json and artisan, selects PHP and serves the public/ directory.
Add managed MySQL or PostgreSQL; the connection details are injected as environment variables.
Run config:cache, route:cache and migrate --force so the release starts with an up-to-date schema.
Traffic switches once the new release passes its health check.
03 / Configuration
Set these in project settings. Values are never written to build logs.
| Variable | Purpose | Example |
|---|---|---|
APP_ENV | Application environment | production |
APP_KEY | Encryption key from php artisan key:generate | base64:... |
APP_DEBUG | Keep detailed errors off in production | false |
DB_CONNECTION | Database driver | mysql |
CACHE_STORE | Cache backend | redis |
04 / Included
Deployxa reads your repository and picks the runtime, build and start commands. Override any of them in project settings.
Every push builds in its own sandbox with cached dependencies and layers.
Attach PostgreSQL, MySQL or Redis and the connection details are injected as environment variables.
Every deploy gets a deployxa.online URL with a Let's Encrypt certificate; custom domains too.
Traffic only switches to a release that passes its health check, and earlier releases stay available for rollback.
Connect GitHub, GitLab or Bitbucket and each push to your branch ships a new release.
05 / FAQ
php artisan migrate --force runs during the release. If it fails, the deploy stops and the previous release keeps serving traffic.
Use a persistent volume or S3-compatible storage for storage/app. Container filesystems are replaced on every deploy.