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(4mo ago)531↑172.7%2MITPHPPHP ^8.2CI passing

Since Dec 22Pushed 4mo 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 1mo ago

READMEChangelog (3)DependenciesVersions (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

36

—

LowBetter than 82% of packages

Maintenance75

Regular maintenance activity

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

137d 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

### 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

[thecodeholic/laravel-hostinger-deploy

Laravel package for automated Hostinger deployment with GitHub Actions support

565.3k](/packages/thecodeholic-laravel-hostinger-deploy)[innocenzi/deployer-recipe-forge

Seamless zero-downtime deployment on Forge with Deployer

1916.6k](/packages/innocenzi-deployer-recipe-forge)

PHPackages © 2026

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