PHPackages                             exolnet/laravel-envoy - 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. exolnet/laravel-envoy

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

exolnet/laravel-envoy
=====================

Automated deployment template for Laravel Envoy based on Capistrano.

v1.21.1(3mo ago)2216.2k—10%6MITPHPPHP ^8.2CI passing

Since Jun 30Pushed 3mo ago7 watchersCompare

[ Source](https://github.com/eXolnet/laravel-envoy)[ Packagist](https://packagist.org/packages/exolnet/laravel-envoy)[ Docs](https://github.com/eXolnet/laravel-envoy)[ RSS](/packages/exolnet-laravel-envoy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (51)Used By (0)

Laravel Envoy Template
======================

[](#laravel-envoy-template)

[![Latest Stable Version](https://camo.githubusercontent.com/de0f3d1022273953fe043c776a1e2ba3c54ea64563637b905d562e9be020eb03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65586f6c6e65742f6c61726176656c2d656e766f792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-envoy)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/0c87955f211dc613693ffd3c51856135d1e76366bc4f6137d91a2fe39488f23c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65586f6c6e65742f6c61726176656c2d656e766f792f74657374732e796d6c3f6c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com.org/eXolnet/laravel-envoy/actions?query=workflow%3Atests)[![Total Downloads](https://camo.githubusercontent.com/cd6d40ff4243eb01b5d0e1fc9f40b4180870214d9fb762f7c8006e60d3299607/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65586f6c6e65742f6c61726176656c2d656e766f792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/eXolnet/laravel-envoy)

This repository contains automated deployment template for Laravel Envoy. The deployment flow is based on [Capistrano](http://capistranorb.com/).

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

[](#installation)

1. Require this package with composer: `composer require --dev exolnet/laravel-envoy:"^1.9"`
2. Create a `Envoy.blade.php` on your project's root with the following content: `@import('exolnet/laravel-envoy')`

    For a typical Laravel project, you should have a file looking like:

    ```
    @import('exolnet/laravel-envoy')

    @task('deploy:publish')
        cd "{{ $releasePath }}"

        php artisan down

        php artisan config:cache
        php artisan event:cache
        php artisan route:cache
        php artisan view:cache

        php artisan storage:link

        php artisan migrate --force

        php artisan up
    @endtask
    ```
3. Create your deployment configuration in your Laravel project at `config/deploy.php`. An example config file is provided in this repository at `config/deploy.php`

    For a typical Laravel project, you should have a file looking like:

    ```
