PHPackages                             ensi/laravel-openapi-client-generator - 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. ensi/laravel-openapi-client-generator

ActiveLibrary

ensi/laravel-openapi-client-generator
=====================================

laravel openapi client generator

0.14.6(6mo ago)667.1k↑17.4%4[2 PRs](https://github.com/ensi-platform/laravel-openapi-client-generator/pulls)MITPHPPHP ^8.1CI passing

Since Jun 23Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/ensi-platform/laravel-openapi-client-generator)[ Packagist](https://packagist.org/packages/ensi/laravel-openapi-client-generator)[ RSS](/packages/ensi-laravel-openapi-client-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (48)Used By (0)

Laravel OpenApi Client Generator
================================

[](#laravel-openapi-client-generator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d229f1f3142026cb9fe5607ae33ec810197c5e9672fff14592de2bc13917753c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e73692f6c61726176656c2d6f70656e6170692d636c69656e742d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ensi/laravel-openapi-client-generator)[![Tests](https://github.com/ensi-platform/laravel-php-rdkafka/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/ensi-platform/laravel-php-rdkafka/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/a1c4919373d615029effbcb6653d89fef35947c9154943f671737abd1771de61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e73692f6c61726176656c2d6f70656e6170692d636c69656e742d67656e657261746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ensi/laravel-openapi-client-generator)

A package for Laravel that generates http clients to the service using [OpenApi Generator](https://openapi-generator.tech/). At the moment, there is support for one platform: PHP.

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

[](#installation)

You can install the package via composer:

```
composer require ensi/laravel-openapi-client-generator --dev
```

Publish the config file with:

```
php artisan vendor:publish --provider="Ensi\LaravelOpenapiClientGenerator\OpenapiClientGeneratorServiceProvider"
```

Version Compatibility
---------------------

[](#version-compatibility)

Laravel OpenApi Client GeneratorLaravelPHP^0.0.1^7.x^7.1.3^0.2.0 - ^0.8.3^7.x^7.1.3^0.8.4^7.x^7.2.0^0.9.0^7.x || ^8.x^7.2.0^0.10.0 - ^0.12.0^7.x || ^8.x^7.2 || ^8.0^0.12.1^8.x || ^9.x^7.2 || ^8.0^0.13.0^8.x || ^9.x^8.1^0.13.1^8.x || ^9.x || ^10.x^8.1^0.13.5^8.x || ^9.x || ^10.x|| ^11.x^8.1^0.14.0^9.x || ^10.x|| ^11.x^8.1Basic Usage:
------------

[](#basic-usage)

1. Before launching, make sure that the api description structure meets [these requirements](docs/api_schema_requirements.md).
2. Configure the generation parameters (if the default ones are not suitable).
3. Client Generation:

    - [php](docs/php_client_requirements.md)
4. After successful generation, the client code will appear along the path `-php`, which can be put into git, the git\_push script will be at the root, which is convenient to use for this. The corresponding repositories should already be created in the appropriate version control system. The full name of the repository is formed as follows: `/-php`.

Limitations
-----------

[](#limitations)

The package currently does not support generation in a Windows environment.

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

### Testing

[](#testing)

1. composer install
2. npm install
3. composer test

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

License
-------

[](#license)

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

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~45 days

Recently: every ~61 days

Total

44

Last Release

205d ago

PHP version history (4 changes)0.0.1PHP ^7.1.3

0.8.4PHP ^7.2.0

0.9.1PHP ^7.2 || ^8.0

0.12.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8089373?v=4)[Наталия](/maintainers/MsNatali)[@MsNatali](https://github.com/MsNatali)

![](https://avatars.githubusercontent.com/u/7352966?v=4)[Andrey](/maintainers/dimionx)[@DimionX](https://github.com/DimionX)

---

Top Contributors

[![MsNatali](https://avatars.githubusercontent.com/u/8089373?v=4)](https://github.com/MsNatali "MsNatali (30 commits)")[![Baristanko](https://avatars.githubusercontent.com/u/9207769?v=4)](https://github.com/Baristanko "Baristanko (23 commits)")[![arrilot](https://avatars.githubusercontent.com/u/2826480?v=4)](https://github.com/arrilot "arrilot (18 commits)")[![Se7en-RU](https://avatars.githubusercontent.com/u/24911713?v=4)](https://github.com/Se7en-RU "Se7en-RU (15 commits)")[![GueroSF](https://avatars.githubusercontent.com/u/26245024?v=4)](https://github.com/GueroSF "GueroSF (8 commits)")[![valerialukinykh](https://avatars.githubusercontent.com/u/123940772?v=4)](https://github.com/valerialukinykh "valerialukinykh (4 commits)")[![C0rTeZ13](https://avatars.githubusercontent.com/u/120840631?v=4)](https://github.com/C0rTeZ13 "C0rTeZ13 (3 commits)")[![egordreshel](https://avatars.githubusercontent.com/u/45204108?v=4)](https://github.com/egordreshel "egordreshel (2 commits)")[![egmanoylin](https://avatars.githubusercontent.com/u/77325193?v=4)](https://github.com/egmanoylin "egmanoylin (2 commits)")[![setopt](https://avatars.githubusercontent.com/u/38655841?v=4)](https://github.com/setopt "setopt (2 commits)")[![zix2](https://avatars.githubusercontent.com/u/51262118?v=4)](https://github.com/zix2 "zix2 (1 commits)")[![Timzan](https://avatars.githubusercontent.com/u/54365038?v=4)](https://github.com/Timzan "Timzan (1 commits)")[![vadileo](https://avatars.githubusercontent.com/u/51167100?v=4)](https://github.com/vadileo "vadileo (1 commits)")[![filippovano](https://avatars.githubusercontent.com/u/58265848?v=4)](https://github.com/filippovano "filippovano (1 commits)")[![DimionX](https://avatars.githubusercontent.com/u/7352966?v=4)](https://github.com/DimionX "DimionX (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ensi-laravel-openapi-client-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ensi-laravel-openapi-client-generator/health.svg)](https://phpackages.com/packages/ensi-laravel-openapi-client-generator)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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