PHPackages                             nativephp/laravel-cloud-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. nativephp/laravel-cloud-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

nativephp/laravel-cloud-deploy
==============================

Deploy Laravel applications to Laravel Cloud from the command line

0.1.2(7mo ago)5143↓35.3%2MITPHPPHP ^8.2CI passing

Since Dec 22Pushed 7mo agoCompare

[ Source](https://github.com/NativePHP/laravel-cloud-deploy)[ Packagist](https://packagist.org/packages/nativephp/laravel-cloud-deploy)[ RSS](/packages/nativephp-laravel-cloud-deploy/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

Laravel Cloud Deploy
====================

[](#laravel-cloud-deploy)

Deploy Laravel applications to [Laravel Cloud](https://cloud.laravel.com) from the command line.

Sponsor
-------

[](#sponsor)

This project is sponsored by [Bifrost](https://bifrost.nativephp.com) - the fastest way to compile and distribute your NativePHP apps.

Installation
------------

[](#installation)

```
composer require nativephp/laravel-cloud-deploy
```

Configuration
-------------

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag=cloud-config
```

This will create a `config/cloud.php` file where you can configure your deployment settings.

### Environment Variables

[](#environment-variables)

Add your Laravel Cloud API token to your `.env` file:

```
LARAVEL_CLOUD_TOKEN=your-api-token
LARAVEL_CLOUD_REPOSITORY=owner/repo
LARAVEL_CLOUD_REGION=us-east-2
```

Generate an API token at:

### Supported Regions

[](#supported-regions)

- `us-east-2` (Ohio)
- `us-east-1` (N. Virginia)
- `eu-west-2` (London)
- `eu-central-1` (Frankfurt)
- `ap-southeast-1` (Singapore)
- `ap-southeast-2` (Sydney)

Usage
-----

[](#usage)

### Deploy All Environments

[](#deploy-all-environments)

```
php artisan cloud:deploy
```

### Deploy Specific Environment

[](#deploy-specific-environment)

```
php artisan cloud:deploy production
```

### Options

[](#options)

OptionDescription`--skip-deploy`Configure infrastructure without initiating a deployment`--force`Skip confirmation prompts`--dry-run`Show what would be done without making changes### Examples

[](#examples)

Preview changes without deploying:

```
php artisan cloud:deploy --dry-run
```

Configure infrastructure only (useful for initial setup):

```
php artisan cloud:deploy --skip-deploy --force
```

Deploy production with no prompts:

```
php artisan cloud:deploy production --force
```

Configuration File
------------------

[](#configuration-file)

The `config/cloud.php` file allows you to define:

- **Application settings**: Name, repository, region
- **Environments**: Production, staging, or custom environments
- **PHP/Node versions**: Specify versions for each environment
- **Build &amp; deploy commands**: Custom build and deployment scripts
- **Server configuration**: Web server, Octane, hibernation settings
- **Network settings**: Caching, response headers, firewall rules
- **Instances**: Compute resources with scaling configuration
- **Background processes**: Queue workers and custom processes
- **Domains**: Custom domains with SSL and WWW redirects
- **Environment variables**: Global and per-environment variables

See the published config file for detailed examples and documentation.

State Management
----------------

[](#state-management)

The package maintains a `.laravel-cloud.json` file in your project root to track deployed infrastructure IDs. This allows subsequent deployments to update existing resources rather than creating duplicates.

Add it to git and share it with your team or CI tool.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11.x or 12.x

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance63

Regular maintenance activity

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ab43d3432a80f0f41fe7015280f6024ff13fe8c2306cf114a1fbc91a4cd6f35?d=identicon)[simonhamp](/maintainers/simonhamp)

---

Top Contributors

[![simonhamp](https://avatars.githubusercontent.com/u/31628?v=4)](https://github.com/simonhamp "simonhamp (8 commits)")

---

Tags

laravelclouddeploydeployment

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nativephp-laravel-cloud-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/nativephp-laravel-cloud-deploy/health.svg)](https://phpackages.com/packages/nativephp-laravel-cloud-deploy)
```

###  Alternatives

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

79227.1M206](/packages/laravel-mcp)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k1](/packages/mike-bronner-laravel-model-caching)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)[zidbih/laravel-deadlock

Make temporary Laravel workarounds expire and fail CI when ignored.

1007.4k](/packages/zidbih-laravel-deadlock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
