定制 tanjemark/laravel-remote 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tanjemark/laravel-remote

Composer 安装命令:

composer require tanjemark/laravel-remote

包简介

Execute commands remotely using SSH.

README 文档

README

GitHub issues GitHub forks GitHub stars GitHub license Twitter

Execute commands remotely using SSH.

Installation

Require this package in your composer.json and update your dependencies:

$ composer require tanjemark/laravel-remote

Since this package supports Laravel's Package Auto-Discovery you don't need to manually register the ServiceProvider.

After that, publish the configuration file:

$ php artisan vendor:publish --provider="Tanjemark\LaravelRemote\RemoteServiceProvider"

You're gonna need to add a remote server to the configuration file.

Usage

Artisan

$ php artisan remote:artisan '@alias' 'command'
# Example
$ php artisan remote:artisan @live migrate 

Database sync

If you have provided a fake setting in config/remote.php the provided columns will be faked. Making it possible to make your sync GDPR approved 😁

$ php artisan remote:db-sync '@from_alias' '@to_alias'
# Example
$ php artisan remote:db-sync @live @local --fake

Requirements

ssh2 have to be installed on all your servers.

$ sudo apt-get install php7.2-ssh2

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: mit
  • 更新时间: 2018-10-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固