deaniliev / remote
Fork of LaravelCollective's Remote SSH access for The Laravel Framework.
v6.2.0
2020-09-07 20:21 UTC
Requires
- php: >=7.2
- illuminate/filesystem: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
- phpseclib/phpseclib: ^2.0
Requires (Dev)
- illuminate/console: ^6.0|^7.0|^8.0
- mockery/mockery: ~1.0
- phpunit/phpunit: ~5.5
- 6.x-dev
- v6.2.0
- v6.1.1
- v6.1.0
- 6.0.x-dev
- dev-master / 6.0.x-dev
- v6.0.2
- v6.0.1
- v6.0
- 5.8.x-dev
- v5.8.1
- v5.8
- 5.7.x-dev
- v5.7
- 5.6.x-dev
- v5.6.1
- v5.6
- 5.5.x-dev
- v5.5
- 5.4.x-dev
- v5.4.1
- v5.4.0
- 5.3.x-dev
- v5.3.0
- 5.2.x-dev
- v5.2.2
- v5.2.1
- v5.2
- 5.1.x-dev
- v5.1.6
- v5.1.5
- v5.1.4
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- 5.0.x-dev
- v5.0.1
- v5.0
This package is not auto-updated.
Last update: 2025-05-09 02:24:43 UTC
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"']);