2017 © Pedro Peláez
 

library laravel-ftp-deployment

image

ebess/laravel-ftp-deployment

  • Sunday, February 14, 2016
  • by ebess
  • Repository
  • 1 Watchers
  • 4 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel 5 - FTP Deployment with WebHook

Installation

composer require ebess/laravel-ftp-deployment
php artisan vendor:publish

Setup

Create a filesystem disk to deploy to in config/filesystem.php, (*1)

    'disks' => [
      // ...
      'deployment' => [
        'driver'    => 'ftp',
        'host'      => 'ftp.server.org',
        'port'      => 21,
        'username'  => 'ftp-user',
        'password'  => 'ftp-password',
        'passive'   => true,
        'root'      => '/'
      ],
      // ...
    ]

Adjust which files should be deployed and hooks in config/ftp-deployment.php, (*2)

Deploy to server

php artisan deploy:server <servername> <--refresh=0> <--debug=1>

Use refresh to refresh the database migrations and run the seeders. If flag not set, only migration will be run., (*3)

The Versions

14/02 2016

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Eduard Bess

03/11 2015