PHPackages                             primitive/openapi-initializer - 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. primitive/openapi-initializer

ActiveLibrary[API Development](/categories/api)

primitive/openapi-initializer
=============================

A command for Laravel to quickly scaffold an OpenAPI Spec file

1.4.0(5y ago)807681MITPHPPHP &gt;=7.0

Since Nov 4Pushed 5y ago3 watchersCompare

[ Source](https://github.com/PrimitiveSocial/openapi-initializer)[ Packagist](https://packagist.org/packages/primitive/openapi-initializer)[ RSS](/packages/primitive-openapi-initializer/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

openapi-initializer
===================

[](#openapi-initializer)

[![logo](https://github.com/PrimitiveSocial/openapi-initializer/raw/main/oai.png)](https://github.com/PrimitiveSocial/openapi-initializer/blob/main/oai.png)

Straight forward Laravel command to scaffold an OpenAPI spec file

Scaffold an OpenAPI spec file in minutes.

OpenAPI
-------

[](#openapi)

**OpenAPI** Default Version: 3.1.0

Read more about the current OpenAPI Version [here](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md)

Requirements
------------

[](#requirements)

**Laravel** versions 6.x, 7.x, and 8.x.

**PHP** 7.0 or greater.

Install
-------

[](#install)

```
composer require primitive/openapi-initializer

```

### Usage

[](#usage)

To use the command, you need to run

```
php artisan openapi:create

```

From there, prompts will step through the process with you, asking questions to fill in various bits of information needed to make the OpenAPI specification conform to the specification standard.

If you do not run

```
php artisan vendor:publish --vendor=Primitive\OpenApiServiceProvider

```

prior to running the Artisan command, the command itself will run the `vendor:publish` command as well as caching the config so we can use it in the command. We tried to be thoughtful when writing this command because we want to create an enjoyable developer experience.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

Every ~18 days

Total

7

Last Release

1957d ago

Major Versions

v0.1.0 → v1.0.02020-11-05

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

1.2.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b1b25592327e749dae7ba51a6288ddf69fa6cca6f680b86cce1941bddcde92a?d=identicon)[matthewtrask](/maintainers/matthewtrask)

![](https://avatars.githubusercontent.com/u/13042804?v=4)[Jerred Hurst](/maintainers/jerredhurst)[@jerredhurst](https://github.com/jerredhurst)

---

Top Contributors

[![matthewtrask](https://avatars.githubusercontent.com/u/4731244?v=4)](https://github.com/matthewtrask "matthewtrask (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/primitive-openapi-initializer/health.svg)

```
[![Health](https://phpackages.com/badges/primitive-openapi-initializer/health.svg)](https://phpackages.com/packages/primitive-openapi-initializer)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k37.6M134](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k14.2M63](/packages/knuckleswtf-scribe)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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