PHPackages                             juststeveking/laravel-stoplight-elements - 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. juststeveking/laravel-stoplight-elements

ActiveLibrary[API Development](/categories/api)

juststeveking/laravel-stoplight-elements
========================================

A simple API documentation package for Laravel using OpenAPI and Stoplight Elements

3.0.1(8mo ago)4486.7k↓35.8%8[1 issues](https://github.com/JustSteveKing/laravel-stoplight-elements/issues)[1 PRs](https://github.com/JustSteveKing/laravel-stoplight-elements/pulls)MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3

Since May 6Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/JustSteveKing/laravel-stoplight-elements)[ Packagist](https://packagist.org/packages/juststeveking/laravel-stoplight-elements)[ GitHub Sponsors](https://github.com/JustSteveKing)[ RSS](/packages/juststeveking-laravel-stoplight-elements/feed)WikiDiscussions main Synced 2w ago

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

Laravel Stoplight Elements
==========================

[](#laravel-stoplight-elements)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e185287977774766450429a9b724443a566728c1620fc712ee957ce49431ca0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a75737473746576656b696e672f6c61726176656c2d73746f706c696768742d656c656d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juststeveking/laravel-stoplight-elements)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://github.com/JustSteveKing/laravel-stoplight-elements/workflows/run-tests/badge.svg?branch=main)](https://github.com/JustSteveKing/laravel-stoplight-elements/actions)[![Total Downloads](https://camo.githubusercontent.com/79aa1314d0bbaee57dc5925d7042ba61054e8b5841faf04759c091d5e664470f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a75737473746576656b696e672f6c61726176656c2d73746f706c696768742d656c656d656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/juststeveking/laravel-stoplight-elements)

Easily publish your API documentation using your OpenAPI document in your Laravel Application.

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

[](#installation)

You can install this package via composer:

```
composer require juststeveking/laravel-stoplight-elements
```

Configuration
-------------

[](#configuration)

You can publish the configuration file with:

```
php artisan vendor:publish --provider="JustSteveKing\Laravel\LaravelStoplight\StoplightServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    'title' => 'API Documentation',
    'path' => [
        'name' => env('STOPLIGHT_PATH_NAME', 'docs'),
        'url' => env('STOPLIGHT_PATH_URL', 'api/docs'),
    ],

    'openapi' => [
        'path' => env('STOPLIGHT_OPENAPI_PATH', 'https://api.apis.guru/v2/specs/github.com/1.1.4/openapi.yaml')
    ],

    'config' => [
        'router' => "hash",

        'layout' => "sidebar",
    ]
];
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steve McDougall](https://github.com/JustSteveKing)
- [All Contributors](../../contributors)
- [Stoplight Team for the Elements Web Components](https://stoplight.io/open-source/elements/)

License
-------

[](#license)

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

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance59

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 70.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 ~208 days

Recently: every ~401 days

Total

9

Last Release

263d ago

Major Versions

0.0.5 → 1.0.02022-02-14

1.0.0 → 2.0.02023-02-15

2.0.0 → 3.0.02024-03-13

PHP version history (3 changes)0.0.1PHP ^8.0

0.0.4PHP ^7.4|^8.0

3.0.0PHP ^7.4|^8.0|^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a87fe82b349821ebd49cf57d65c4cd3e33ae0833222a8438d90fe8921ca899ea?d=identicon)[JustSteveKing](/maintainers/JustSteveKing)

---

Top Contributors

[![JustSteveKing](https://avatars.githubusercontent.com/u/6368379?v=4)](https://github.com/JustSteveKing "JustSteveKing (17 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![milewski](https://avatars.githubusercontent.com/u/2874967?v=4)](https://github.com/milewski "milewski (2 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (2 commits)")[![SteveEdson](https://avatars.githubusercontent.com/u/1201960?v=4)](https://github.com/SteveEdson "SteveEdson (1 commits)")

---

Tags

apilaraveldocumentationopenapistoplightstoplight elements

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/juststeveking-laravel-stoplight-elements/health.svg)

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

###  Alternatives

[ovac/idoc

Generate beautiful API documentation from your Laravel application

185487.0k2](/packages/ovac-idoc)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[juststeveking/laravel-redoc

A simple API documentation package for Laravel using OpenAPI and Redoc

92321.6k1](/packages/juststeveking-laravel-redoc)

PHPackages © 2026

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