PHPackages                             ventrec/laravel-entity-sync - 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. ventrec/laravel-entity-sync

ActivePackage

ventrec/laravel-entity-sync
===========================

Syncs entities from one project to another

1.0.0(8y ago)2421MITPHP

Since Oct 15Pushed 8y ago1 watchersCompare

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

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

Laravel entity sync
===================

[](#laravel-entity-sync)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ac6ad35956f2467e967396cffdda1b7bb97022e0d2431660f1c6a441f83244d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76656e747265632f6c61726176656c2d656e746974792d73796e632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ventrec/laravel-entity-sync)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/140ae39eeaeb55e57227532b52c26ffc629d715693c232aa734877c2dbca2171/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76656e747265632f6c61726176656c2d656e746974792d73796e632f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ventrec/laravel-entity-sync)[![Total Downloads](https://camo.githubusercontent.com/edff0e58b5abc68fd88e545780c13fe3c9d70dd1a78a996e32716e75d6ca75cd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76656e747265632f6c61726176656c2d656e746974792d73796e632e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ventrec/laravel-entity-sync)

Easily sync entities, when changes occur, to another project.

Introduction
------------

[](#introduction)

This package is designed to sync entities from one laravel project to another, something that can be useful if you have a master and client setup.

For this to work, you will need to install the [client package](https://github.com/ventrec/laravel-entity-sync-endpoint) in the laravel project that you wish to sync your entities to.

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

[](#installation)

1. `composer require ventrec/laravel-entity-sync`
2. Add `Ventrec\LaravelEntitySync\LaravelEntitySyncProvider::class` to providers in app.php
3. Publish the config file `php artisan vendor:publish --provider="Ventrec\LaravelEntitySync\LaravelEntitySyncProvider"`
4. Update the config file
    - Add the entities that you would like to monitor for changes to the config file.
    - Enter the full url to the endpoint where the requests should go.
    - Enter an api token that should be used to verify the requests

Usage
-----

[](#usage)

In some cases you might have attributes on a model that you do not want to sync. For this you can define a method named `ignoreSyncAttributes` that returns an array containing the name of attributes you do not want to sync.

**Example**

In a User model you might want to exclude the password:

```
public function ignoreSyncAttributes()
{
    return ['password'];
}
```

### Prevent observer from running while seeding

[](#prevent-observer-from-running-while-seeding)

In order to prevent the observer from running while seeding, you have to disable the package in runtime.

In your `DatabaseSeeder` class, add the following line at the top of the `run()` method:

```
config(['laravelEntitySync.enabled' => false]);
```

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~1 days

Total

9

Last Release

3116d ago

Major Versions

0.1.7 → 1.0.02017-10-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/9464be828720dc6bc2c274eb73700afdfba0003701e0a3f8b222c1e9daa99733?d=identicon)[ventrec](/maintainers/ventrec)

---

Top Contributors

[![ventrec](https://avatars.githubusercontent.com/u/701788?v=4)](https://github.com/ventrec "ventrec (22 commits)")[![smajohusic](https://avatars.githubusercontent.com/u/13624422?v=4)](https://github.com/smajohusic "smajohusic (2 commits)")

---

Tags

laravelpackagephpsync

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ventrec-laravel-entity-sync/health.svg)

```
[![Health](https://phpackages.com/badges/ventrec-laravel-entity-sync/health.svg)](https://phpackages.com/packages/ventrec-laravel-entity-sync)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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