PHPackages                             zero-to-prod/data-model-envoyer - 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. [API Development](/categories/api)
4. /
5. zero-to-prod/data-model-envoyer

ActiveLibrary[API Development](/categories/api)

zero-to-prod/data-model-envoyer
===============================

DataModels for the Envoyer API.

v81.1.0(8mo ago)112MITPHPPHP &gt;=8.1.0CI passing

Since Oct 23Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/zero-to-prod/data-model-envoyer)[ Packagist](https://packagist.org/packages/zero-to-prod/data-model-envoyer)[ Docs](https://github.com/zero-to-prod/data-model-envoyer)[ Fund](https://github.com/sponsors/zero-to-prod)[ RSS](/packages/zero-to-prod-data-model-envoyer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

Zerotoprod\\DataModelEnvoyer
============================

[](#zerotoproddatamodelenvoyer)

[![](art/logo.png)](art/logo.png)

[![Repo](https://camo.githubusercontent.com/9a90a3efeee26aed7d7f2feee9cd84566a26f9c362cc773b184d076210906e1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d677261793f6c6f676f3d676974687562)](https://github.com/zero-to-prod/data-model-envoyer)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/791294ba23c0533d8d023389440b3109d2a540bc8f7ec8f9a934d75a2a7af6a9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965722f746573742e796d6c3f6c6162656c3d74657374)](https://github.com/zero-to-prod/data-model-envoyer/actions)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/91a6c3d43b053729cbe2005de8e94e934e3890b2f246bdd4581d0352c8236547/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965722f6261636b77617264735f636f6d7061746962696c6974792e796d6c3f6c6162656c3d6261636b77617264735f636f6d7061746962696c697479)](https://github.com/zero-to-prod/data-model-envoyer/actions)[![Packagist Downloads](https://camo.githubusercontent.com/2fa3033894e6e489e2984bf56286ff2636153151d22deb2f780808f604ef03b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965723f636f6c6f723d626c7565)](https://packagist.org/packages/zero-to-prod/data-model-envoyer/stats)[![php](https://camo.githubusercontent.com/ad0e2491900d2c713b5c8bdeaabfb60ed97480459b7c0e9e06c30e96db5a4858/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965722e7376673f636f6c6f723d707572706c65)](https://packagist.org/packages/zero-to-prod/data-model-envoyer/stats)[![Packagist Version](https://camo.githubusercontent.com/acb5b9ce4d4dc10ddc9b92651faa96e45dc650c79d3bd64e40d8bb3b845ab029/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965723f636f6c6f723d663238643161)](https://packagist.org/packages/zero-to-prod/data-model-envoyer)[![License](https://camo.githubusercontent.com/4bc673ca1086ae704dd2336aa236a7194ffff71b197545c3a7300a83815e02c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965723f636f6c6f723d70696e6b)](https://github.com/zero-to-prod/data-model/blob/main/LICENSE.md)[![wakatime](https://camo.githubusercontent.com/3a481c6167fe00eb3184fe0d7d11af95ac79798533ca5a6d776dfb30559bdf2b/68747470733a2f2f77616b6174696d652e636f6d2f62616467652f6769746875622f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965722e737667)](https://wakatime.com/badge/github/zero-to-prod/data-model-envoyer)[![Hits-of-Code](https://camo.githubusercontent.com/4af4bc70959e112c219fee80b160f5d8ce9f548d40e1272440d1b8ccb9d82d2a/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d656e766f7965723f6272616e63683d6d61696e)](https://hitsofcode.com/github/zero-to-prod/data-model-envoyer/view?branch=main)

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Installation](#installation)
- [Documentation Publishing](#documentation-publishing)
    - [Automatic Documentation Publishing](#automatic-documentation-publishing)
- [DataModels](#datamodels)
- [Publishing DataModels](#publishing-datamodels)
- [Local Development](./LOCAL_DEVELOPMENT.md)
- [Contributing](#contributing)

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

[](#introduction)

This package offers typed classes for [Envoyer API](https://envoyer.io/api-documentation) request and response objects.

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

[](#installation)

You can install this package via composer:

```
composer require zero-to-prod/data-model-envoyer
```

Documentation Publishing
------------------------

[](#documentation-publishing)

You can publish this README to your local documentation directory.

This can be useful for providing documentation for AI agents.

This can be done using the included script:

```
# Publish to default location (./docs/zero-to-prod/data-model-envoyer)
vendor/bin/zero-to-prod-data-model-envoyer

# Publish to custom directory
vendor/bin/zero-to-prod-data-model-envoyer /path/to/your/docs
```

### Automatic Documentation Publishing

[](#automatic-documentation-publishing)

You can automatically publish documentation by adding the following to your `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "zero-to-prod-data-model-envoyer"
        ],
        "post-update-cmd": [
            "zero-to-prod-data-model-envoyer"
        ]
    }
}
```

DataModels
----------

[](#datamodels)

- [ProjectResponse](https://envoyer.io/api-documentation#list-projects) `\Zerotoprod\DataModelEnvoyer\ProjectResponse::from();`
- [Project](https://envoyer.io/api-documentation#get-project) `\Zerotoprod\DataModelEnvoyer\Project::from();`
- [CreateProject](https://envoyer.io/api-documentation#get-project) `\Zerotoprod\DataModelEnvoyer\CreateProject::from();`
- [UpdateProject](https://envoyer.io/api-documentation#update-project) `\Zerotoprod\DataModelEnvoyer\UpdateProject::from();`
- [UpdateProjectSource](https://envoyer.io/api-documentation#update-project-source) `\Zerotoprod\DataModelEnvoyer\UpdateProjectSource::from();`
- [GetLinkedFolders](https://envoyer.io/api-documentation#get-linked-folders) `\Zerotoprod\DataModelEnvoyer\GetLinkedFolders::from();`
- [Folder](https://envoyer.io/api-documentation#create-linked-folder) `\Zerotoprod\DataModelEnvoyer\Folder::from();`
- [Servers](https://envoyer.io/api-documentation#list-servers) `\Zerotoprod\DataModelEnvoyer\Servers::from();`
- [Server](https://envoyer.io/api-documentation#get-server) `\Zerotoprod\DataModelEnvoyer\Server::from();`
- [CreateServer](https://envoyer.io/api-documentation#create-server) `\Zerotoprod\DataModelEnvoyer\CreateServer::from();`
- [UpdateServer](https://envoyer.io/api-documentation#update-server) `\Zerotoprod\DataModelEnvoyer\UpdateServer::from();`
- [GetEnvironment](https://envoyer.io/api-documentation#get-environment) `\Zerotoprod\DataModelEnvoyer\GetEnvironment::from();`
- [Environment](https://envoyer.io/api-documentation#get-environment) `\Zerotoprod\DataModelEnvoyer\Environment::from();`
- [EnvironmentServers](https://envoyer.io/api-documentation#get-environment-servers) `\Zerotoprod\DataModelEnvoyer\EnvironmentServers::from();`
- [UpdateEnvironment](https://envoyer.io/api-documentation#update-environment) `\Zerotoprod\DataModelEnvoyer\UpdateEnvironment::from();`
- [ResetEnvironment](https://envoyer.io/api-documentation#reset-environment-key) `\Zerotoprod\DataModelEnvoyer\ResetEnvironment::from();`
- [Actions](https://envoyer.io/api-documentation#actions) `\Zerotoprod\DataModelEnvoyer\Actions::from();`
- [Action](https://envoyer.io/api-documentation#actions) `\Zerotoprod\DataModelEnvoyer\Action::from();`
- [Hooks](https://envoyer.io/api-documentation#list-hooks) `\Zerotoprod\DataModelEnvoyer\Hooks::from();`
- [Hook](https://envoyer.io/api-documentation#get-hook) `\Zerotoprod\DataModelEnvoyer\Hook::from();`
- [CreateHook](https://envoyer.io/api-documentation#create-hook) `\Zerotoprod\DataModelEnvoyer\CreateHook::from();`
- [UpdateHook](https://envoyer.io/api-documentation#update-hook) `\Zerotoprod\DataModelEnvoyer\UpdateHook::from();`
- [Deployments](https://envoyer.io/api-documentation#list-deployments) `\Zerotoprod\DataModelEnvoyer\Deployments::from();`
- [Deployment](https://envoyer.io/api-documentation#get-deployment) `\Zerotoprod\DataModelEnvoyer\Deployment::from();`
- [DeployProject](https://envoyer.io/api-documentation#deploy-project) `\Zerotoprod\DataModelEnvoyer\DeployProject::from();`
- [HeartBeats](https://envoyer.io/api-documentation#list-heartbeats) `\Zerotoprod\DataModelEnvoyer\HeartBeats::from();`
- [HeartBeat](https://envoyer.io/api-documentation#get-heartbeat) `\Zerotoprod\DataModelEnvoyer\HeartBeat::from();`
- [CreateHeartBeat](https://envoyer.io/api-documentation#create-heartbeat) `\Zerotoprod\DataModelEnvoyer\CreateHeartBeat::from();`
- [Collaborators](https://envoyer.io/api-documentation#list-collaborators) `\Zerotoprod\DataModelEnvoyer\Collaborators::from();`
- [Collaborator](https://envoyer.io/api-documentation#get-collaborator) `\Zerotoprod\DataModelEnvoyer\Collaborator::from();`
- [CreateCollaborator](https://envoyer.io/api-documentation#create-collaborator) `\Zerotoprod\DataModelEnvoyer\CreateCollaborator::from();`
- [DeleteCollaborator](https://envoyer.io/api-documentation#delete-collaborator) `\Zerotoprod\DataModelEnvoyer\DeleteCollaborator::from();`
- [Notifications](https://envoyer.io/api-documentation#list-notifications) `\Zerotoprod\DataModelEnvoyer\Notifications::from();`
- [Notification](https://envoyer.io/api-documentation#get-notification) `\Zerotoprod\DataModelEnvoyer\Notification::from();`
- [CreateNotification](https://envoyer.io/api-documentation#create-notification) `\Zerotoprod\DataModelEnvoyer\CreateNotification::from();`
- [UpdateNotification](https://envoyer.io/api-documentation#update-notification) `\Zerotoprod\DataModelEnvoyer\UpdateNotification::from();`

Publishing DataModels
---------------------

[](#publishing-datamodels)

You can directly import these files into your project like this:

```
./vendor/bin/data-model-envoyer app/DataModelEnvoyer
```

The first argument is the destination of where the files are copied to.

Contributing
------------

[](#contributing)

Contributions, issues, and feature requests are welcome! Feel free to check the [issues](https://github.com/zero-to-prod/data-model-envoyer/issues) page if you want to contribute.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new Pull Request.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance60

Regular maintenance activity

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~26 days

Recently: every ~57 days

Total

13

Last Release

251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/502649f05d36c87d494988bd99193a4d908d345335d99c080928a726277371f5?d=identicon)[zero-to-prod](/maintainers/zero-to-prod)

---

Top Contributors

[![zero-to-prod](https://avatars.githubusercontent.com/u/61474950?v=4)](https://github.com/zero-to-prod "zero-to-prod (15 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

dtoenvoyerlaravelphpenvoyerzero-to-prodDataModelEnvoyerdata-model-envoyer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zero-to-prod-data-model-envoyer/health.svg)

```
[![Health](https://phpackages.com/badges/zero-to-prod-data-model-envoyer/health.svg)](https://phpackages.com/packages/zero-to-prod-data-model-envoyer)
```

###  Alternatives

[zero-to-prod/data-model

Transforms Data into Type-Safe DTOs.

14226.2k32](/packages/zero-to-prod-data-model)

PHPackages © 2026

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