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
- Host: GitHub
- URL: https://github.com/kevinsimard/laravel-deploy
- Owner: kevinsimard
- License: mit
- Created: 2015-04-28T15:24:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T16:22:39.000Z (over 9 years ago)
- Last Synced: 2024-11-14T21:49:16.242Z (over 1 year ago)
- Topics: deployment, laravel, php
- Language: PHP
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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).