PHPackages                             tanjemark/laravel-remote - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tanjemark/laravel-remote

ActiveLibrary[Database &amp; ORM](/categories/database)

tanjemark/laravel-remote
========================

Execute commands remotely using SSH.

1.0.7(7y ago)310mitPHPPHP &gt;=7.0.0

Since Jun 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tanjemark/laravel-remote)[ Packagist](https://packagist.org/packages/tanjemark/laravel-remote)[ RSS](/packages/tanjemark-laravel-remote/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (10)Used By (0)

Laravel Remote
==============

[](#laravel-remote)

[![GitHub issues](https://camo.githubusercontent.com/2d067400bf1d41453905bf0a9647d039e3636a0aa32a032a8f7062fd626eeefa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f74616e6a656d61726b2f6c61726176656c2d72656d6f74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/tanjemark/remote/issues)[![GitHub forks](https://camo.githubusercontent.com/79ea6329d4f7ef83f26fe08f5309b1f0a4a97b1806279c21d939dcbdd06874a5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f74616e6a656d61726b2f6c61726176656c2d72656d6f74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/tanjemark/remote/network/members)[![GitHub stars](https://camo.githubusercontent.com/6ed1f545ce88708eadabd8623c7113d9819bd9c1c6da54068143f0d748b1cecc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f74616e6a656d61726b2f6c61726176656c2d72656d6f74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/tanjemark/remote/stargazers)[![GitHub license](https://camo.githubusercontent.com/90e7526c37dec3387435e6e501e914b2a2b7612540cf0409823bb909fb24ae34/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74616e6a656d61726b2f6c61726176656c2d72656d6f74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/tanjemark/remote/blob/master/LICENSE.md)[![Twitter](https://camo.githubusercontent.com/aee03e626b886c6815c43b0a14539b9ed47dbd0095ba6ba7e03a8dbb0d3bceb8/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c2f68747470732f6769746875622e636f6d2f74616e6a656d61726b2f6c61726176656c2d72656d6f74652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Ftanjemark%2Flaravel-remote)

Execute commands remotely using SSH.

---

Installation
------------

[](#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
-----

[](#usage)

### Artisan

[](#artisan)

```
$ php artisan remote:artisan '@alias' 'command'
```

```
# Example
$ php artisan remote:artisan @live migrate
```

### Database sync

[](#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
------------

[](#requirements)

ssh2 have to be installed on all your servers.

```
$ sudo apt-get install php7.2-ssh2
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~34 days

Total

8

Last Release

2762d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4b9e780923cdfbe1fff495d0f6d8117a069ec9b2d1e0177e6923806a6c5f093?d=identicon)[tanjemark](/maintainers/tanjemark)

---

Top Contributors

[![tanjemark](https://avatars.githubusercontent.com/u/10845366?v=4)](https://github.com/tanjemark "tanjemark (34 commits)")[![danielbrodin](https://avatars.githubusercontent.com/u/696872?v=4)](https://github.com/danielbrodin "danielbrodin (2 commits)")

---

Tags

laravelsshdatabaseartisanremotesynccommandsdb-sync

### Embed Badge

![Health badge](/badges/tanjemark-laravel-remote/health.svg)

```
[![Health](https://phpackages.com/badges/tanjemark-laravel-remote/health.svg)](https://phpackages.com/packages/tanjemark-laravel-remote)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[nwidart/db-exporter

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class.

37839.1k](/packages/nwidart-db-exporter)[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)[elimuswift/db-exporter

Export your database quickly and easily as a Laravel Migration and all the data as a Seeder class.

364.7k](/packages/elimuswift-db-exporter)[andreagroferreira/laravel-sync-tracker

A Laravel package for tracking entity synchronization status between systems

113.0k](/packages/andreagroferreira-laravel-sync-tracker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
