cycle/schema-renderer
Render Cycle ORM schemas as terminal-friendly output or generate PHP/array representations. Convert Schema/SchemaInterface to arrays (including optional custom properties), then render with colorized Symfony Console output; extend templates via custom console renderers.
COLLECTION_TYPE support enhances relation block generation, improving accuracy for nested or polymorphic relationships (e.g., hasManyThrough, morphTo). This reduces manual overrides and keeps documentation aligned with complex data structures.hasMany across services) with less manual configuration.hasMany, belongsToMany, or polymorphic associations).For Executives: "This updated package now handles Laravel’s collection-type relations (e.g., nested resources, polymorphic models) automatically, saving even more dev time on API documentation. For every new relation or model, the OpenAPI schema updates seamlessly—so our teams (and partners) get accurate, interactive docs without manual tweaks. It’s a low-risk way to scale our API strategy while reducing tech debt, especially for projects with hierarchical data like microservices or admin panels."
For Engineering:
*"Schema-renderer 1.4.0 adds COLLECTION_TYPE support for relation blocks, meaning it now auto-generates cleaner OpenAPI specs for complex Laravel relations (e.g., hasManyThrough, morphTo). Here’s the pitch:
How can I help you explore Laravel packages today?