2017 © Pedro Peláez
 

library remote

Execute commands remotely using SSH.

image

tanjemark/remote

Execute commands remotely using SSH.

  • Friday, June 8, 2018
  • by tanjemark
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Laravel Remote

GitHub issues GitHub forks GitHub stars GitHub license Twitter, (*1)

Execute commands remotely using SSH., (*2)


Installation

Require this package in your composer.json and update your dependencies:, (*3)

$ composer require tanjemark/laravel-remote

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

After that, publish the configuration file:, (*5)

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

You're gonna need to add a remote server to the configuration file., (*6)

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 😁, (*7)

$ 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., (*8)

$ sudo apt-get install php7.2-ssh2

License

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

The Versions

08/06 2018

dev-develop

dev-develop

Execute commands remotely using SSH.

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

database laravel commands ssh artisan remote sync db-sync

06/06 2018

dev-master

9999999-dev

Execute commands remotely using SSH.

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

06/06 2018

1.0.5

1.0.5.0

Execute commands remotely using SSH.

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

06/06 2018

1.0.4

1.0.4.0

Execute commands remotely using SSH.

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

06/06 2018

1.0.3

1.0.3.0

Execute commands remotely using SSH.

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

02/06 2018

1.0.2

1.0.2.0

Remote commands

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

02/06 2018

1.0.1

1.0.1.0

Remote commands

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote

02/06 2018

1.0.0

1.0.0.0

Remote commands

  Sources   Download

MIT

The Requires

 

by Tobbe Anjemark

laravel commands ssh artisan remote