Swagger/Open api integration in laravel

This page summarizes the projects mentioned and recommended in the original post on /r/laravel

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • L5-Swagger

    OpenApi or Swagger integration to Laravel

  • I have been using laravel since one and a half years, mainly for apis building. I also use dotnet where the integration of swagger/open api is very easy. With some attributes, we can customize our documentation (http codes, possible return types,..). I am looking for a way to use it in laravel but I don't find one that satisfies me. I have tried [L5-Swagger](https://github.com/DarkaOnLine/L5-Swagger/) but I don't find it practical for several reasons : - Too much comments to write

  • laravel-request-docs

    Effortless API documentation tool for Laravel applications. Swagger alternative.

  • I have also found [Request docs](https://github.com/rakutentech/laravel-request-docs) which is satisfying but it does not gives information about the returned data and http codes.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • swagger-php

    A php swagger annotation and parsing library

  • I do this except use https://github.com/zircote/swagger-php for writing the open api spec. I can enter the Spatie Data Object classes into the parameters, responses, and properties. Like op said though, it's a lot of comments and stuff to keep updated. Entirely using reflection (or reflection plus ability to manually specify certain extra things) like you're talking about sounds great.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts