Skip to main content

Welcome to Serapha

Serapha is a lightweight, modular PHP framework designed for modern web development. It focuses on simplicity and performance, integrating powerful libraries to streamline the development process.

Key Features​

  • Modular Architecture: Organize your code into manageable modules.
  • Powerful Templating: Utilize the built-in template engine for flexible and efficient templating.
  • Database Abstraction: Leverage carry0987/sanite for robust and easy database CRUD operations.
  • Database Migration: Utilize robmorgan/phinx for hassle-free database schema migrations.
  • Advanced Routing System: Map URLs to specific controllers and actions with ease.
  • Environment Configuration: Manage different environments seamlessly with .env configuration support.
  • Service Layer: Organize your business logic into reusable services.
  • Middleware Support: Extend and secure your application using custom middleware.
  • Dependency Injection: Effortlessly manage your dependencies with our built-in DI container.
  • Redis Integration: Use built-in support for Redis to manage caching and other Redis-based features.

Why Serapha?​

Whether you are building a small website or a large-scale web application, Serapha is designed to provide you with the tools and flexibility needed to succeed. Here are some reasons to choose Serapha:

  • Ease of Use: Intuitive and straightforward design.
  • Performance: Optimized for high performance out of the box.
  • Scalability: Easily extendable for more complex projects.
  • Community and Support: Backed by a growing community and comprehensive documentation.

Documentation Structure​

Our documentation is structured to help you get up and running quickly and to provide in-depth guides on specific topics:

Getting Started​

Guides​

  • Controller: How to handle HTTP requests.
  • Service: Organize your business logic into reusable services.
  • Model: Interact with the database.
  • Middleware: Implement custom middleware.
  • Provider: Manage service providers.
  • Routing: Learn about the routing system.
  • View: Render HTML pages.
  • Rewrite Rule: Customize URL rewriting rules.

Get Involved​

We welcome contributions! Whether it's bug fixes, new features, or improvements to the documentation, your help is appreciated. Feel free to open an issue or submit a pull request on GitHub.


Stay tuned for more updates and enhancements. Happy coding with Serapha! 🚀