An open API service indexing awesome lists of open source software.

https://github.com/kevinsimard/laravel-deploy

Deploy Laravel application through SSH
https://github.com/kevinsimard/laravel-deploy

deployment laravel php

Last synced: 5 months ago
JSON representation

Deploy Laravel application through SSH

Awesome Lists containing this project

README

          

# Deploy Laravel Application

## Installation

Add `Kevinsimard\Deploy\Command\Task\DeployTask` to the list of commands in `app/Console/Kernel.php`.

```php
"local",

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

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

## Artisan Command

```bash
php artisan deploy:app
```

> The following options are available:
* **_--remote=\_**: Remote connection/group name
* **_--no-composer_**: Do not install dependencies
* **_--no-migration_**: Do not run migration files
* **_--no-maintenance_**: Do not use maintenance mode

## 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](http://opensource.org/licenses/MIT).