Package Data | |
---|---|
Maintainer Username: | ebess |
Maintainer Contact: | eduard.bess@gmail.com (Eduard Bess) |
Package Create Date: | 2015-07-29 |
Package Last Update: | 2021-06-21 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-22 03:09:21 |
Package Statistics | |
---|---|
Total Downloads: | 18 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 1 |
Total Forks: | 3 |
Total Open Issues: | 1 |
composer require ebess/laravel-ftp-deployment
php artisan vendor:publish
Create a filesystem disk to deploy to in config/filesystem.php
'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
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.