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 3w ago

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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

2388d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12841724?v=4)[jimmy](/maintainers/znmin)[@znmin](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.3k133.0M757](/packages/barryvdh-laravel-debugbar)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5443.8k](/packages/hasinhayder-tyro-dashboard)[laravel/surveyor

Static analysis tool for Laravel applications.

86121.4k11](/packages/laravel-surveyor)

PHPackages © 2026

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