A set of high-level PHP abstractions for declarative programming using flat files and plain functions.
Siler is a set of high-level abstractions for declarative programming in PHP, built around flat files and plain functions. It provides an API for routing, HTTP responses, and GraphQL integration without the overhead of a full framework, focusing on simplicity and performance.
PHP developers looking for a lightweight, performant alternative to traditional frameworks, especially those interested in declarative programming, Swoole-based servers, or GraphQL APIs.
Developers choose Siler for its zero-dependency design, blazing-fast performance, and clean declarative API, making it ideal for projects where simplicity and speed are priorities over complex framework features.
⚡ Flat-files and plain-old PHP functions rockin'on as a set of general purpose high-level abstractions.
Built entirely on PHP's built-in functions, eliminating external package overhead and simplifying deployment, as emphasized in the README.
Benchmarks linked in the README demonstrate minimal overhead, making it one of the fastest options for routing and HTTP handling in PHP.
Provides clean functions for routing and responses, reducing boilerplate code and improving readability, as shown in the Hello World examples.
First-class support for Swoole enables high-concurrency HTTP servers with minimal configuration, detailed in the tutorial section.
Supports both schema-first and code-first approaches for building GraphQL APIs, requiring only peer dependencies like webonyx/graphql-php.
The repository is archived with no updates or security patches, making it risky for new projects, as the README explicitly warns and recommends alternatives.
Lacks built-in components for common needs like database abstraction or authentication, requiring manual integration and additional libraries.
Advanced features like GraphQL require installing external packages (e.g., doctrine/annotations), adding setup steps and potential compatibility issues.
Heavy reliance on functional and declarative programming may be unfamiliar to developers used to object-oriented frameworks, increasing the learning curve.
PHP implementation of the GraphQL specification based on the reference implementation in JavaScript
:rocket: GraphQL API for WordPress
A framework for serving GraphQL from Laravel
Laravel wrapper for Facebook's GraphQL
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.