PHPackages                             jl6m/swagger-lite - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. jl6m/swagger-lite

ActiveLibrary[HTTP &amp; Networking](/categories/http)

jl6m/swagger-lite
=================

Guzzle client that can execute operations defined in Swagger

0.1.0(9y ago)94311MITPHP

Since Jul 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jeremeamia/guzzle-swagger-lite)[ Packagist](https://packagist.org/packages/jl6m/swagger-lite)[ RSS](/packages/jl6m-swagger-lite/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Swagger Lite Guzzle Client
==========================

[](#swagger-lite-guzzle-client)

A "lite", Guzzle-based Swagger client that works with JSON services.

It works by reading the operations and parameters from your provided JSON-formatted Swagger document and doing simple transformations on the provided input parameters to form the actual request.

Example Usage
-------------

[](#example-usage)

First install the `jl6m/swagger-lite` package via Composer.

```
require __DIR__ . '/vendor/autoload.php';

use JL6m\SwaggerLite\SwaggerClient;

$client = new SwaggerClient([
    'scheme' => 'https',
    'swagger' => 'http://example.com/service/swagger.json',
    'auth' => ['client_id', 'client_secret'],
]);

$response = $client->post('/users/{userId}/messages', [
    'userId' => '11830955',
    'subject' => 'Hello',
    'content' => 'Hello, it\'s me.',
]);
```

License
-------

[](#license)

The MIT License (MIT) Copyright (c) 2016 Jeremy Lindblom

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3623d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/184fbc398ff1b83855ab8289cd8ce20225d0158c66284b458d2d811546606938?d=identicon)[jeremeamia](/maintainers/jeremeamia)

---

Top Contributors

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

---

Tags

httpapiclientrestGuzzleswaggeropenapi

### Embed Badge

![Health badge](/badges/jl6m-swagger-lite/health.svg)

```
[![Health](https://phpackages.com/badges/jl6m-swagger-lite/health.svg)](https://phpackages.com/packages/jl6m-swagger-lite)
```

###  Alternatives

[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

12262.2k1](/packages/e-moe-guzzle6-bundle)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

177.2k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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