PrimitiveSocial/
openapi-initializer
g4t.io

OpenAPI Initializer

by Paul Redmond

OpenAPI Initializer is a Laravel package that provides a straightforward command to scaffold an OpenAPI spec file.

README from PrimitiveSocial/openapi-initializer Open on GitHub →

openapi-initializer

logo

Straight forward Laravel command to scaffold an OpenAPI spec file

Scaffold an OpenAPI spec file in minutes.

OpenAPI

OpenAPI Default Version: 3.1.0

Read more about the current OpenAPI Version here

Requirements

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

PHP 7.0 or greater.

Install

composer require primitive/openapi-initializer

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.

More from the ecosystem

marcreichel/
laya-php
g4t.io
3 53

LayaPHP: Self-Hosted Text Classification for PHP and Laravel

Classify text in PHP without an LLM bill: typed decisions in 100+ languages, self-hosted. Laravel-ready SDK for Laya, a Jev AI alternative.

ai classification decision-engine
marcreichel/laya-php via Laravel News
Josh-Dovey/
postcodes-laravel
g4t.io
5 9

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Postcodes for Laravel adds typed GB postcode lookups, validation, geography data, distance searches, and test fakes through the GB Postcodes API.

Josh-Dovey/postcodes-laravel via Laravel News
RedberryProducts/
mailbox-for-laravel
g4t.io
4 115

Mailbox for Laravel: Preview and Test Rendered Email

Mailbox for Laravel captures outgoing mail in a local dashboard and lets you test rendered HTML, recipients, and attachments with fluent assertions.

RedberryProducts/mailbox-for-laravel via Laravel News