PHPackages                             cooper/laravel-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. cooper/laravel-deploy

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

cooper/laravel-deploy
=====================

A Laravel package for deploying Laravel projects using a shell script.

00PHP

Since Nov 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/myxiaoao/laravel-deploy)[ Packagist](https://packagist.org/packages/cooper/laravel-deploy)[ RSS](/packages/cooper-laravel-deploy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Deploy Package
======================

[](#laravel-deploy-package)

[![Laravel](https://camo.githubusercontent.com/11ddd26f1766e119c888caa6634532dd6b9881a7af5cdd34efa445f123bd681a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782d6f72616e67652b3f6c6f676f3d6c61726176656c)](https://camo.githubusercontent.com/11ddd26f1766e119c888caa6634532dd6b9881a7af5cdd34efa445f123bd681a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31302e782d6f72616e67652b3f6c6f676f3d6c61726176656c)[![PHP](https://camo.githubusercontent.com/6c0ae2433fd3e5dc772c9cad3d7f3a49626260740514fe1032e7d8ab44fdd13d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652b3f6c6f676f3d706870)](https://camo.githubusercontent.com/6c0ae2433fd3e5dc772c9cad3d7f3a49626260740514fe1032e7d8ab44fdd13d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c75652b3f6c6f676f3d706870)[![License](https://camo.githubusercontent.com/ee512002a5e8c3dc4220666cc4556abfa8ba611f4c67dd8957e449c0351b79ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2b3f6c6f676f3d4d4954)](https://camo.githubusercontent.com/ee512002a5e8c3dc4220666cc4556abfa8ba611f4c67dd8957e449c0351b79ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2b3f6c6f676f3d4d4954)

Overview
--------

[](#overview)

The **Laravel Deploy Package** simplifies the deployment of Laravel projects using a customizable shell script.

It also supports optional integration with Laravel Horizon and Telescope.

Features
--------

[](#features)

- **Customizable Deployment Script:** Automatically generate and customize a deployment script based on your project requirements.
- **Horizon &amp; Telescope Support:** Includes commands for Horizon and Telescope if they are installed in your project.
- **PHP Version Management:** Specify the PHP version to use during deployment, with support for versioned paths.
- **Git Branch Selection:** Define the default Git branch to deploy from.

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

[](#installation)

To install the package, run:

```
composer require cooper/laravel-deploy
```

After installation, you can publish the deployment script:

```
php artisan deploy:setup
```

Usage
-----

[](#usage)

### Setup Deployment

[](#setup-deployment)

To set up the deployment script, use:

```
php artisan deploy:setup
```

During setup, you will be prompted for:

- **Default Git Branch:** The Git branch to deploy. If left blank, it defaults to the master of your Laravel installation.

The script file will be generated based on your input.

### Running the Deployment

[](#running-the-deployment)

Once the script is generated, you can deploy your application by running:

```
php artisan deploy
```

This script will:

1. Navigate to the specified project directory.
2. Fetch the latest code from the specified Git branch.
3. Install or update composer dependencies.
4. Run database migrations and other necessary commands.
5. Display a success message upon completion.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1a5cf1d598b649d03d3514155a1da4ff4c105c3173945e80298a07ccc077c5c?d=identicon)[huanghua581](/maintainers/huanghua581)

---

Top Contributors

[![myxiaoao](https://avatars.githubusercontent.com/u/1223134?v=4)](https://github.com/myxiaoao "myxiaoao (3 commits)")

### Embed Badge

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

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

###  Alternatives

[deployer/deployer

Deployment Tool

11.1k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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