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
This package is not auto-updated.
Last update: 2026-06-19 07:52:23 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"']);