2017 © Pedro Pelรกez
 

library laravel-deploy

Deploy Laravel application through SSH

image

kevinsimard/laravel-deploy

Deploy Laravel application through SSH

  • Thursday, March 23, 2017
  • by kevinsimard
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Deploy Laravel Application

Installation

Add Kevinsimard\Deploy\Command\Task\DeployTask to the list of commands in app/Console/Kernel.php., (*1)

<?php namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel {

    /**
     * @var array
     */
    protected $commands = [
        ...
        "Kevinsimard\Deploy\Command\Task\DeployTask",
    ];
...

Add/edit the config/remote.php file., (*2)

<?php

return [
    // default connection name
    "default" => "local",

    // connections
    "connections" => [
        "local" => [
            "host"      => "127.0.0.1",
            "username"  => "username",
            "password"  => "password",
            "key"       => "",
            "keytext"   => "",
            "keyphrase" => "",
            "agent"     => "",
        ],
    ],

    // connection groups
    "groups" => [
        "web" => ["local"]
    ],
];

Artisan Command

php artisan deploy:app <ROOT>

The following options are available: * --remote=<CONNECTION>: Remote connection/group name * --no-composer: Do not install dependencies * --no-migration: Do not run migration files * --no-maintenance: Do not use maintenance mode, (*3)

Code Structure

โ”œโ”€โ”€ src
โ”‚ย ย  โ””โ”€โ”€ Kevinsimard
โ”‚ย ย      โ””โ”€โ”€ Deploy
โ”‚ย ย          โ””โ”€โ”€ Command
โ”‚ย ย              โ””โ”€โ”€ Task
โ”‚ย ย                  โ””โ”€โ”€ DeployTask.php
โ”œโ”€โ”€ .editorconfig
โ”œโ”€โ”€ .gitattributes
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ LICENSE.md
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ composer.json

License

This package is open-sourced software licensed under the MIT license., (*4)

The Versions

23/03 2017

dev-master

9999999-dev

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy

22/09 2016

v1.0.4

1.0.4.0

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy

07/04 2016

v1.0.3

1.0.3.0

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy

17/03 2016

v1.0.2

1.0.2.0

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy

04/03 2016

v1.0.1

1.0.1.0

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy

28/04 2015

v1.0.0

1.0.0.0

Deploy Laravel application through SSH

  Sources   Download

MIT

The Requires

 

by Kevin Simard

laravel ssh remote deploy