deaniliev/remote 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

deaniliev/remote

最新稳定版本:v6.2.0

Composer 安装命令:

composer require deaniliev/remote

包简介

Fork of LaravelCollective's Remote SSH access for The Laravel Framework.

README 文档

README

Official documentation for Remote (SSH) for The Laravel Framework can be found at the LaravelCollective website.

This repo is a fork of LaravelCollective's Remote.

Added Laravel 9 support and install howto.

Installation

composer.json:

 "require": {
    ...
    "deaniliev/remote": "^6"
 },

config/app.php:

'providers' => [

  Collective\Remote\RemoteServiceProvider::class,
]

'aliases' => Facade::defaultAliases()->merge([
        // 'ExampleClass' => App\Example\ExampleClass::class,
        'SSH' => \Collective\Remote\RemoteFacade::class,
])->toArray(),

composer update
php artisan vendor:publish

Usage

After connections are defined in confg/remote.php you can use SSH class directly:

SSH::run(['echo "This is a test"']);

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 103
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-22