data-model-envoyer

Zerotoprod\DataModelEnvoyer

Repo GitHub Actions Workflow Status GitHub Actions Workflow Status Packagist Downloads php Packagist Version License wakatime Hits-of-Code

Contents

Introduction

This package offers typed classes for Envoyer API request and response objects.

Installation

You can install this package via composer:

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

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

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

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

Contributions, issues, and feature requests are welcome! Feel free to check the 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.