# dingo/api

A RESTful API package for the Laravel and Lumen frameworks.

Repository: https://github.com/dingo/api
Canonical: https://ross.abutalabs.com/products/dingo-api
Language: PHP
License: BSD-3-Clause
License Family: permissive
Last push: 2022-05-19T22:59:52+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4527, "days_push": 1567, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9368, forks 1275 (observed 2026-08-28T04:10:30.876927+00:00)

## What it is
Dingo API is a PHP package that provides tools for building RESTful APIs on top of the Laravel and Lumen frameworks. It offers content negotiation, API versioning, multiple authentication adapters, rate limiting, response transformers, and error handling.

## Use cases
- build a restful api with laravel
- add api versioning to a lumen app
- handle content negotiation for  api responses
- add rate limiting to laravel api endpoints
- transform and format api responses
- generate api blueprint documentation
- add multiple auth adapters to a laravel api

## When to choose
- you are building a REST API with Laravel or Lumen and want versioning, auth, and rate limiting out of the box
- you need content negotiation and response transformers in a PHP framework app

## When to avoid
- you are starting a new project - the package has moved to api-ecosystem-for-laravel/dingo-api and releases have stalled since 2022
- you only need a simple API layer that modern Laravel's built-in resources and routing already cover

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, auth, rate-limiting, routing, middleware, api-documentation
- domain: web-development, backend, apis
- platform: php
- tags: laravel, lumen, rest, api-versioning, content-negotiation, php, web-server

## Member repositories
- dingo/api (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:30.876927+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:22:25.266870+00:00, confidence not recorded.
  - readme: https://github.com/dingo/api (fetched 2026-08-28T04:10:30.876927+00:00, sha 55ec2ca65a56)
- Data as of 2026-08-30T08:39:29.467469+00:00.
