# leocavalcante/siler

⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.

Repository: https://github.com/leocavalcante/siler
Canonical: https://ross.abutalabs.com/products/siler
Homepage: https://siler.leocavalcante.dev
Language: PHP
License: MIT
License Family: permissive
Topics: php, micro-framework, routing, http, library, psr-2, psr-4, psr-7, psr-11, graphql, websockets, functional, psr-15, swoole, siler, flat-files, psalm, http2, hacktoberfest
Archived: true
Last push: 2022-02-13T14:04:09+00:00

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

## Adoption (not part of the score)
Stars 1109, forks 90 (observed 2026-08-28T04:03:37.362740+00:00)

## What it is
Siler is a set of general-purpose high-level abstractions for PHP that provides declarative, function-based routing, HTTP handling, GraphQL, and WebSocket support with zero dependencies. It can be used standalone as a micro-framework or within any framework, with first-class Swoole support for high-performance non-blocking servers.

## Use cases
- build a lightweight php rest api without a framework
- serve http with swoole in php
- add graphql endpoint to a php app
- simple function-based routing in php
- run a websocket server in php
- micro-framework for small php projects

## When to choose
- you want a zero-dependency, function-oriented PHP HTTP layer
- you need Swoole-based non-blocking HTTP servers in PHP
- you prefer flat files and plain functions over framework conventions

## When to avoid
- you need an actively maintained project - the repository is archived
- you want a full-featured framework with ecosystem and long-term support
- you need modern PHP version compatibility guarantees

## Facets
- artifact type: library
- maturity: abandoned
- function: web-framework, routing, http-server, graphql, websocket, middleware, templating
- domain: web-development, backend, apis
- platform: php, cli
- tags: micro-framework, swoole, flat-files, functional-programming, psr-compliant, archived, web-server

## Member repositories
- leocavalcante/siler (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.362740+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-30T06:43:35.770937+00:00, confidence not recorded.
  - readme: https://github.com/leocavalcante/siler (fetched 2026-08-28T04:03:37.362740+00:00, sha d789a966ef73)
  - homepage: https://siler.leocavalcante.dev (fetched 2026-08-29T12:47:07.692847+00:00, sha 44fc3828ec77)
- Data as of 2026-08-30T08:39:29.467469+00:00.
