wibiesana / padi-rest-api
Padi REST API Framework: Grow Silent, Feed Many. Lightweight & Scalable.
Requires
- php: >=8.4
- wibiesana/padi-core: ^2.0.5
Requires (Dev)
- phpunit/phpunit: ^12.5
README
ðū PADI REST API FRAMEWORK
The Industrial-Grade, Zero-Bloat PHP Engine for the Modern Web
"Stop wrestling with massive frameworks. Start shipping APIs in seconds."
"Stateless enough for high-concurrency workers. Connected enough for enterprise performance."
Welcome to the Padi REST API Framework â built for developers who crave raw speed, absolute clarity, and an uncompromising Developer Experience (DX). Padi isn't just another PHP framework; it's a meticulously crafted Code Generation Engine designed to transform your database schemas into production-ready, fully secured endpoints instantly.
âĻ The P.A.D.I. Philosophy
- ð Performant: Hyper-optimized execution core that extracts every ounce of speed from modern PHP architectures.
- ð Adaptable: Flawlessly bridges the gap between diverse backend databases and blazing-fast frontend ecosystems (Vue, React, Next.js).
- ð Distributed: Engineered from the ground up to thrive in clustered microservices and containerized environments.
- ð Interface: The ultimate standard, providing iron-clad, reliable data plumbing for your mission-critical applications.
ðū Why Padi?
Padi REST API was born out of a desire for a lean, zero-bloat experience. We believe that building professional APIs shouldn't require fighting through layers of unnecessary framework complexity. Padi is explicitly designed to bridge the gap between developer productivity and enterprise-scale performance.
- ðŠķ Ultra-Lightweight & Zero-Bloat: Built with a "lean-and-mean" philosophy, Padi eliminates the heavy overhead and hidden "magic" of traditional frameworks. Every line of code exists to serve your API's performance, ensuring minimal latency and maximum clarity.
- ð Uncompromising Performance: Native support for FrankenPHP Worker Mode delivers speeds up to 10x faster than conventional PHP by keeping the application state optimized in memory.
- ð Modern & Future-Ready: Fully compatible with PHP 8.4+ standards, utilizing the latest language enhancements for robust, type-safe, and clean codebases.
- âïļ Stateless & Worker-Optimized: A purpose-built core structure that is safe from memory leaks, specifically engineered to excel in long-lived execution environments like high-traffic workers.
- ð ïļ Developer Experience First: With our powerful Auto CRUD Generator, you can transform a simple database schema into a production-ready API with full documentation in seconds.
- ðïļ Database Agnostic: Seamlessly switch or scale between MySQL, PostgreSQL, or SQLite without ever needing to rewrite your core business logic.
ð Documentation
The complete documentation for Padi REST API has been centralized in our main index. Please follow the link below to access guides on installation, core concepts, deployment, and performance optimization.
ð Documentation Website
ð Quick Features
- ⥠FrankenPHP Ready: 3-10x performance boost with native worker mode.
- ðŠķ Zero-Bloat: Built with a lean-and-mean philosophy for maximum clarity.
- ð PHP 8.4+ Support: Modern, type-safe, and future-ready codebase.
- ð ïļ Auto CRUD Generator: Go from database schema to API in seconds.
- ð Security First: Built-in JWT Auth, Rate Limiting, and SQLi protection.
- ðïļ Database Agnostic: Supports MySQL, PostgreSQL, and SQLite.
Version: 2.0.7
Status: Production Ready â
Documentation: Go to Website â