PHPackages                             dcodegroup/laravel-myob-employee - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. dcodegroup/laravel-myob-employee

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

dcodegroup/laravel-myob-employee
================================

This package provides base functionality for linking a user with MYOB

0.1.2(3y ago)195MITPHPPHP ^8.0|8.1

Since Jan 25Pushed 1y ago2 watchersCompare

[ Source](https://github.com/DCODE-GROUP/laravel-myob-employee)[ Packagist](https://packagist.org/packages/dcodegroup/laravel-myob-employee)[ RSS](/packages/dcodegroup-laravel-myob-employee/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel MYOB Timesheet Sync
===========================

[](#laravel-myob-timesheet-sync)

This package provides the standard MYOB functionality for syncing MYOB Employee ID with users and assigning pay rates to users.

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

[](#installation)

You can install the package via composer:

```
composer require dcodegroup/laravel-myob-employee
```

Then run the install command.

```
php artsian laravel-myob-employee:install
```

This will publish the configuration and migrations file

Run the migrations

```
php artsian migrate
```

Configuration
-------------

[](#configuration)

After running install the following fields will be added to the users table.

- myob\_employee\_id
- myob\_employee\_payroll\_details\_id
- myob\_employee\_payment\_details\_id
- myob\_employee\_standard\_pay\_id

You will need to add these fields to your fillable array within the `User::class` model

```
    /**
     * The attributes that are mass assignable.
     *
     * @var string[]
     */
    protected $fillable = [
                   'myob_employee_id',
                   'myob_employee_payroll_details_id',
                   'myob_employee_payment_details_id',
                   'myob_employee_standard_pay_id',
                   ...
    ];
```

You also need to add the following interface to the `User::class` model.

```
use Dcodegroup\LaravelMyobEmployee\Contracts\MyobEmployeeUserMappings;

class User extends Authenticatable implements MyobEmployeeUserMappings
{
    ...
```

You should then implement the methods defined in the contract. eg Like below but what ever your using

```
  public function getMyobEmployeeNameAttribute(): string
  {
    return $this->name;
    //return $this->first_name . ' ' . $this->last_name;
    //return $this->prefered_name;
  }
```

You should add the following trait to the Users model.

```
class User extends Authenticatable
{
    use UsesMyobEmployee;
```

This package provides a route that can be used to provide an endpoint to dispatch the SyncMyobEmployee job.

\[example.com/myob-employee/{user}\] xero\_employee.sync Please see the config file if you wish to customise the route. This will dispatch the job for the user and sync them to your application.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~147 days

Total

3

Last Release

1327d ago

### Community

Maintainers

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

---

Top Contributors

[![lionslair](https://avatars.githubusercontent.com/u/832259?v=4)](https://github.com/lionslair "lionslair (10 commits)")

---

Tags

laravelemployeedcodemyob

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dcodegroup-laravel-myob-employee/health.svg)

```
[![Health](https://phpackages.com/badges/dcodegroup-laravel-myob-employee/health.svg)](https://phpackages.com/packages/dcodegroup-laravel-myob-employee)
```

###  Alternatives

[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59437.0k9](/packages/jeremy379-laravel-openid-connect)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[aurorawebsoftware/aauth

Laravel Aauth

412.1k1](/packages/aurorawebsoftware-aauth)

PHPackages © 2026

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