# tailflow/laravel-orion

The simplest way to create REST API with Laravel

Repository: https://github.com/tailflow/laravel-orion
Canonical: https://ross.abutalabs.com/products/laravel-orion
Homepage: https://orion.tailflow.org
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, api, rest-api, api-generator, laravel-orion, rest-api-framework
Last push: 2026-07-12T15:56:39+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 8, longevity 100
- inputs: {"age_days": 2696, "days_push": 52, "days_rel": 667, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1598, forks 97 (observed 2026-08-28T04:05:09.410738+00:00)

## What it is
Orion for Laravel is a PHP library that generates fully featured REST APIs from Eloquent models and relationships with minimal controller code. It includes automatic OpenAPI specification generation and a TypeScript SDK out of the box.

## Use cases
- build a REST API from Laravel Eloquent models
- generate CRUD endpoints without writing controllers
- auto-generate OpenAPI specs for a Laravel API
- expose model relationships as API resources
- get a TypeScript SDK for my Laravel API
- add filtering, searching, and pagination to a Laravel API

## When to choose
- you use Laravel and want a standard REST API quickly
- you want OpenAPI specs and a TS client generated automatically
- you want to leverage Laravel Policies, Request classes, and API Resources

## When to avoid
- you don't use Laravel or Eloquent
- you need a highly custom, non-CRUD API design
- you prefer GraphQL or RPC over REST

## Facets
- artifact type: library
- maturity: active
- function: api-framework, web-framework, api-documentation, routing
- domain: web-development, backend, apis, developer-tools
- platform: php
- tags: laravel, eloquent, rest-api, crud, openapi, typescript-sdk, web-server

## Member repositories
- tailflow/laravel-orion (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.410738+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-30T03:53:17.634124+00:00, confidence not recorded.
  - readme: https://github.com/tailflow/laravel-orion (fetched 2026-08-28T04:05:09.410738+00:00, sha c6508fd3e9ee)
  - homepage: https://orion.tailflow.org (fetched 2026-08-29T11:24:39.404692+00:00, sha 8aa49a556091)
  - site_page: https://orion.tailflow.org/guide/models (fetched 2026-08-29T11:24:39.415061+00:00, sha e04201a4673a)
  - site_page: https://orion.tailflow.org/guide/specifications (fetched 2026-08-29T11:24:39.417477+00:00, sha 07013955405f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
