PHPackages                             ensi/laravel-serve-stoplight - 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-serve-stoplight

ActiveLibrary

ensi/laravel-serve-stoplight
============================

Laravel serve stoplight

0.2.5(2mo ago)257.8k↑45.8%2MITPHPPHP ^8.1CI passing

Since Nov 3Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ensi-platform/laravel-serve-stoplight)[ Packagist](https://packagist.org/packages/ensi/laravel-serve-stoplight)[ RSS](/packages/ensi-laravel-serve-stoplight/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (8)Versions (16)Used By (0)

Laravel Serve Stoplight
=======================

[](#laravel-serve-stoplight)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b5a5a1f9fbe4ad5dc854e5335d431bad370b605848c2a12c0a9f11a3e6676696/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e73692f6c61726176656c2d73657276652d73746f706c696768742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ensi/laravel-serve-stoplight)[![Tests](https://github.com/ensi-platform/laravel-serve-stoplight/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/ensi-platform/laravel-serve-stoplight/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/a71e72efbbf0d8e5f3018829562a182ce43126479456ae90f12de007fe66f729/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656e73692f6c61726176656c2d73657276652d73746f706c696768742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ensi/laravel-serve-stoplight)

The package allows you to output the Stoplight UI by configuring only the paths to your openapi3 configs

Based on [stoplight/elements](https://www.npmjs.com/package/@stoplight/elements)

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

[](#installation)

You can install the package via composer:

```
composer require ensi/laravel-serve-stoplight
```

Publish config file like this:

```
php artisan vendor:publish --provider="Ensi\LaravelServeStoplight\ServeStoplightServiceProvider"
```

Configure `config/serve-stoplight.php`

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

[](#version-compatibility)

Laravel Serve StoplightLaravelPHPStoplight^0.1.0^8.0 || ^9.0^8.07.7.2^0.1.5^8.0 || ^9.0 || ^10.0^8.07.7.2^0.1.7^8.0 || ^9.0 || ^10.0 || ^11.0^8.07.7.2^0.2.0^9.0 || ^10.0 || ^11.0^8.18.1.3^0.2.4^9.0 || ^10.0 || ^11.0 || ^12.0^8.18.1.3Basic usage
-----------

[](#basic-usage)

By default, the `v1` specification is available at `docs/oas` (the same full path as `docs/oas/v1`).

If you need to open a specification of another version, use the `docs/os/{version}` path, for example, `docs/os/v2`

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

[](#contributing)

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

### Update stoplight

[](#update-stoplight)

For update stoplight:

1. update `stoplight-resources/web-components.min.js` from
2. update `stoplight-resources/styles.min.css` from
3. update current Stoplight version on `Version Compatibility`

### Testing

[](#testing)

1. composer install
2. 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

50

—

FairBetter than 96% of packages

Maintenance88

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~90 days

Total

14

Last Release

60d ago

PHP version history (2 changes)0.1.0PHP ^8.0

0.2.0PHP ^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 (20 commits)")[![egmanoylin](https://avatars.githubusercontent.com/u/77325193?v=4)](https://github.com/egmanoylin "egmanoylin (3 commits)")[![DimionX](https://avatars.githubusercontent.com/u/7352966?v=4)](https://github.com/DimionX "DimionX (2 commits)")[![valerialukinykh](https://avatars.githubusercontent.com/u/123940772?v=4)](https://github.com/valerialukinykh "valerialukinykh (2 commits)")[![bereza-evgenij](https://avatars.githubusercontent.com/u/7606944?v=4)](https://github.com/bereza-evgenij "bereza-evgenij (1 commits)")[![eugene-holiday](https://avatars.githubusercontent.com/u/1556306?v=4)](https://github.com/eugene-holiday "eugene-holiday (1 commits)")[![C0rTeZ13](https://avatars.githubusercontent.com/u/120840631?v=4)](https://github.com/C0rTeZ13 "C0rTeZ13 (1 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ensi-laravel-serve-stoplight/health.svg)

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

PHPackages © 2026

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