PHPackages                             znmin/laravel-deployer - 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. znmin/laravel-deployer

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

znmin/laravel-deployer
======================

0.0.5(6y ago)241MITPHPPHP &gt;=7.1

Since Dec 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/znmin/laravel-deployer)[ Packagist](https://packagist.org/packages/znmin/laravel-deployer)[ RSS](/packages/znmin-laravel-deployer/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (6)Used By (0)

Laravel Deployer
================

[](#laravel-deployer)

[![Build Status](https://camo.githubusercontent.com/a19fc4c94240eeac9b76a1e1a04f6354563c354b675626d20e564a8e591011e8/68747470733a2f2f7472617669732d63692e6f72672f7a6e6d696e2f6c61726176656c2d6465706c6f7965722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/znmin/laravel-deployer)[![StyleCI build status](https://camo.githubusercontent.com/13186a4b84c82a4f22d50147cbb7d4f1e7ec6afd72bd8a3fc70c0d0808e58373/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3232363237373431372f736869656c64)](https://camo.githubusercontent.com/13186a4b84c82a4f22d50147cbb7d4f1e7ec6afd72bd8a3fc70c0d0808e58373/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3232363237373431372f736869656c64)

依赖
--

[](#依赖)

- PHP &gt;= 7.1

安装
--

[](#安装)

```
$ composer require znmin/laravel-deployer
```

composer 安装之后，如果 Laravel 版本 &lt; 5.5，则需要注册服务提供者

```
// config/app.php

'providers' => [
    //...
    Znmin\LaravelDeployer\ServiceProvider::class,
],
```

发布配置文件

```
$ php artisan vendor:publish --provider=Znmin\LaravelDeployer\ServiceProvider
```

配置

```
/*
|--------------------------------------------------------------------------
| 默认部署驱动
|--------------------------------------------------------------------------
|
| 指定默认的部署驱动
| 可选择的驱动：expect
|
*/
'default' => 'expect',

'drives' => [

    /*
     * expect 驱动配置
     */
    'expect' => [
        'username' => env('DEPLOY_EXPECT_USERNAME', ''),
        'password' => env('DEPLOY_EXPECT_PASSWORD', ''),
        'branch' => env('DEPLOY_EXPECT_BRANCH', 'master'),
        'remote' => 'origin',
    ],
],
```

使用
--

[](#使用)

使用 expect 驱动需在部署服务器安装此命令：

Ubuntu

```
$ apt install expect
```

CentOS

```
$ yum install expect
```

配置码云 webhook

```
码云钩子
https://example.com/git-hook/gitee
```

`https://example.com` 替换为真实域名即可

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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 ~1 days

Total

5

Last Release

2334d ago

### Community

Maintainers

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

---

Top Contributors

[![znmin](https://avatars.githubusercontent.com/u/12841724?v=4)](https://github.com/znmin "znmin (9 commits)")

---

Tags

deployerlaravel

### Embed Badge

![Health badge](/badges/znmin-laravel-deployer/health.svg)

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

###  Alternatives

[timokoerber/laravel-one-time-operations

Run operations once after deployment - just like you do it with migrations!

6481.7M11](/packages/timokoerber-laravel-one-time-operations)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[sammyjo20/lasso

Lasso - Asset wrangling for Laravel made simple.

355347.9k](/packages/sammyjo20-lasso)[stechstudio/laravel-env-security

Securely manage .env files for different deployment environments

77116.4k1](/packages/stechstudio-laravel-env-security)[renoki-co/laravel-healthchecks

Laravel Healthchecks is a simple controller class that helps you build your own healthchecks endpoint without issues.

5654.9k](/packages/renoki-co-laravel-healthchecks)

PHPackages © 2026

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