Skip to content

Add OpenAPI Laravel#776

Merged
AlexanderKaran merged 1 commit into
apisyouwonthate:mainfrom
benjamineckstein:add-openapi-laravel
Jun 12, 2026
Merged

Add OpenAPI Laravel#776
AlexanderKaran merged 1 commit into
apisyouwonthate:mainfrom
benjamineckstein:add-openapi-laravel

Conversation

@benjamineckstein

Copy link
Copy Markdown
Contributor

Hi! This adds OpenAPI Laravel, a design-first generator for the Laravel ecosystem: it takes an OpenAPI description and generates spatie/laravel-data model classes with spec-derived validation rules, backed enums, readOnly/writeOnly handling, and an optional server scaffold (abstract controllers plus a routes file typed by the generated Data classes). It is MIT licensed, actively maintained, available on Packagist, has a docs site, and every release is gated on a corpus of 128 real-world OpenAPI descriptions generating valid PHP.

Thanks for maintaining this list!

@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

👷 Deploy request for openapi-dot-tools pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 2f7f391

@philsturgeon

Copy link
Copy Markdown
Collaborator

amazing work! I’ll have to review this asap :)

@philsturgeon philsturgeon enabled auto-merge (squash) June 11, 2026 08:57
@philsturgeon philsturgeon force-pushed the add-openapi-laravel branch from b044aba to 2f7f391 Compare June 11, 2026 08:58
@benjamineckstein

Copy link
Copy Markdown
Contributor Author

Thanks for the review, Phil. Happy to adjust the entry anytime if the category or description needs tweaking down the line.

@AlexanderKaran

Copy link
Copy Markdown
Collaborator

@benjamineckstein @philsturgeon Will get this build passing and merged now

@AlexanderKaran AlexanderKaran disabled auto-merge June 12, 2026 07:31
@AlexanderKaran AlexanderKaran merged commit 0f5aa98 into apisyouwonthate:main Jun 12, 2026
1 check passed
@AlexanderKaran

Copy link
Copy Markdown
Collaborator

@benjamineckstein @philsturgeon Done

@benjamineckstein Thank you for the contribution

@benjamineckstein

Copy link
Copy Markdown
Contributor Author

Thanks for getting it over the line, Alexander, much appreciated! One thing I spotted in the diff: OpenAPI 3.2 is a thing now. I'll have a deeper look into supporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants