It is very lightweight and you can make your first endpoint in just less than 10 seconds.
Implementation is very easy. Everything is documented. A lot of inbuilt classes and functions are useful for handling the requests and responses.
You can code faster with this framework. As lot of task is already handled by the Framework.
We are inviting developers to use this framework and contribute in developing this framework. We strongly believe that this will be the first choice of all PHP developers when they want to build restFul APIs.
Handles incoming HTTP requests. Provides easy access to query parameters, headers, body, cookies, session, and path variables. Used in controllers and middleware to interact with client requests.
Manages HTTP responses. Supports setting status codes, headers, cookies, and response bodies. Easily return JSON responses and control output to the client.
The main entry point of the framework. Bootstraps the application, initializes routing, exception handling, CORS, logging, and Swagger documentation. Configure and start your API here.
Utility class for accessing environment variables from .env
files or system environment. Simplifies configuration management for different environments.
Enum listing standard HTTP status codes (e.g., 200, 404, 500). Use for consistent and readable API responses.
Centralized exception handler (see ExceptionHandler
) for catching, logging, and formatting errors in API responses. Ensures robust error management.
Provides logging capabilities for your application. Supports info, warning, and error logs, with customizable log directory and daily log rotation.
Interface for creating custom middleware. Allows you to intercept and modify requests and responses (e.g., for authentication, logging, or CORS).