PHPackages                             tuxudo/mosyle - 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. tuxudo/mosyle

ActiveLibrary

tuxudo/mosyle
=============

Mosyle module for munkireport.

v1.0(1y ago)218↓100%MITPHP

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tuxudo/mosyle)[ Packagist](https://packagist.org/packages/tuxudo/mosyle)[ RSS](/packages/tuxudo-mosyle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Mosyle module
=============

[](#mosyle-module)

Mosule integration for MunkiReport.

The Mosyle Admin tab within the Admin dropdown menu allows an administrator to check if MunkiReport is able to access their Mosyle instance, as well as some details as to how it is configured. There is the option to manually pull data for all Macs within MunkiReport.

The php-curl module is required for use with this module. You can install it on Ubuntu/Debian with `sudo apt-get install php-curl`

This module does not need access to the Mosyle API, but it benefits from it. There is a client portion of this module that can work and return data if the Mosyle API is not enabled.

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

[](#configuration)

To enable the module add the following information to the `.env` file.

```
MOSYLE_ENABLE="TRUE"
MOSYLE_USERNAME="user@domain.com"
MOSYLE_PASSWORD=""
MOSYLE_API_KEY=""
MOSYLE_ADDRESS="https://businessapi.mosyle.com/"
```

The Mosyle API key requires only one permission: `View` on `Device`, in addition to the standard `API Integration` needing `View` and `Create`.

This module was developed and tested with Mosyle Business. It will likely work with Mosyle School, but you will need to change the `MOSYLE_ADDRESS` config option for the Mosyle School URL. It is unknown if this module will work with multi-tenant Mosyle instances.

Table Schema
------------

[](#table-schema)

- id - increments - Incremental value used by MunkiReport
- serial\_number - string - Serial number of Mac
- device\_name - integer - Name of Mac in Mosyle
- device\_udid - string - UUID of Mac in Mosyle
- enrollment\_type - string - Mosyle enrollment type
- active\_managed\_users - text - string of UUIDs of managed users on the Mac
- tags - text - Asset tags from Mosyle
- current\_console\_managed\_user - string - Current user as per Mosyle
- enrolled\_via\_dep - boolean - If Mac was enrolled into Mosyle via DEP
- is\_activation\_lock\_manageable - boolean - If Mosyle can manage Activation Lock on the Mac
- is\_user\_enrollment - boolean - If user enrollment into Mosyle
- user\_approved\_enrollment - boolean - If MDM is user approved
- is\_deleted - boolean - If Mac is deleted from Mosyle
- is\_muted - boolean - If Mac's alerts are muted in Mosyle
- is\_supervised - boolean - If Mac is supervised in Mosyle
- asset\_tag - text - Unused, no data returned from Mosyle for this
- last\_app\_info - bigInteger - Timestamp of last app info from Mosyle agent
- last\_check\_in - bigInteger - Timestamp of last last agent check in to Mosyle
- last\_check\_out - bigInteger - Timestamp of last last agent check out
- last\_enroll - bigInteger - Timestamp of last enrolled into Mosyle
- last\_info - bigInteger - Timestamp of last information update
- last\_kinfo - bigInteger - Timestamp of last something, unknown
- last\_beat - bigInteger - Timestamp of last agent heartbeat to Mosyle
- last\_push - bigInteger - Timestamp of last push, unused
- last\_login - bigInteger - Timestamp of last login
- last\_media\_info - bigInteger - Timestamp of last media info update
- last\_muted - bigInteger - Timestamp of last device mute
- last\_printers - bigInteger - Timestamp of last printers update
- last\_profiles\_info - bigInteger - Timestamp of last profiles update
- open\_direct\_device\_link - text - URL to directly open the device in Mosyle
- lostmode\_status - string - Status of device's lost mode
- status - string - Status of Mosyle agent install on device
- status\_login - string - Status of user logged in
- assigned\_user\_email - string - Assigned user email address
- assigned\_user\_id - string - Assigned user ID
- assigned\_username - string - Assigned username
- assigned\_usertype - string - Assigned user type
- device\_attestation\_status - string - Status of device attestation
- device\_info\_attempt\_date - bigInteger - Last Mosyle Agent device info update attempt
- device\_info\_success\_date - bigInteger - Last Mosyle Agent device info update success
- last\_device\_token\_date - bigInteger - Last Mosyle Agent device token update
- last\_remote\_notification\_date - bigInteger - Last Mosyle Agent remote notification
- mac\_commands\_attempt\_date - bigInteger - Last Mosyle Agent command attempt
- mac\_commands\_reply\_ack\_attempt\_date - bigInteger - Last Mosyle Agent command reply attempt
- mac\_commands\_reply\_ack\_success\_date - bigInteger - Last Mosyle Agent command reply success
- mac\_commands\_reply\_results\_attempt\_date - bigInteger - Last Mosyle Agent command result attempt
- mac\_commands\_reply\_results\_success\_date - bigInteger - Last Mosyle Agent command result success
- mac\_commands\_success\_date - bigInteger - Last Mosyle Agent command success
- device\_is\_invalid - boolean - If Mosyle Agent is paired to Mosyle
- trigger\_session\_uuid - string - UUID of the Mac's login
- trigger\_username - string - Username that triggers local events
- org\_name - string - Organization name
- org\_url - string - Organization's Mosyle Console URL
- mosyle\_mdm\_agent\_app - string - Version of the Mosyle MDM Agent app
- mosyle\_alert\_app - string - Version of the Mosyle Alert app
- mosyle\_app - string - Version of the Mosyle app
- mosyle\_mdm\_app - string - Version of the Mosyle MDM app
- mosyle\_monitor\_app - string - Version of the Mosyle Monitor app
- mosyle\_notification\_center\_app - string - Version of the Notification Center app
- mosyle\_security\_app - string - Version of the Mosyle Security app
- mosyle\_av\_app - string - Version of the Mosyle AV app
- mosyle\_selfservice\_app - string - Version of the Self-Service app
- mosyle\_timestamp - bigInteger - Timestamp of either last MunkiReport run on client or last API data pulled

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

595d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tuxudo-mosyle/health.svg)

```
[![Health](https://phpackages.com/badges/tuxudo-mosyle/health.svg)](https://phpackages.com/packages/tuxudo-mosyle)
```

PHPackages © 2026

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