mirzahilmi/saphpi

Saphpi, pronounced `sapi` is a web application framework that implements the MVC pattern. It's inspired by many popular frameworks and is designed to be explicit with batteries included.

1.0.0 2023-10-15 15:57 UTC

This package is auto-updated.

Last update: 2024-09-16 06:24:57 UTC


README

Saphpi, pronounced as ‘sapi’, is a robust web application framework that adheres to the MVC (Model-View-Controller) design pattern. Drawing inspiration from a multitude of popular frameworks, Saphpi is engineered to be explicit and free from dependencies, with an open core at its heart.

Features

  • Open Core Philosophy: Saphpi embraces the open core philosophy, providing essential functionality out-of-the-box while allowing developers to extend and customize the framework to suit their specific needs.

  • Dependency-Free: Saphpi is engineered to be free from external dependencies, reducing potential conflicts and simplifying the development process.

Getting Started

Follow these steps to get started with Saphpi:

Prerequisites

  • PHP 8.1 or higher
  • Web server (e.g., Apache, Nginx)

Installation

  1. Clone the Saphpi repository with desired project name:

    git clone https://github.com/MirzaHilmi/Saphpi.git Project
  2. Configure your web server to point to the public directory of your Project.

  3. Start building your Saphpi application by creating controllers, models, and views.

  4. Start the web server by running this command

    php moo serve

Examples

I’ll pop in more info here bit by bit. For now, just check out the codebase - it should make sense on its own. If you’re up for helping out with the framework’s documentation, that’d be awesome! Just send over a pull request and i’ll take a look at it when i can.

Contributing

Contributions are welcome! If you'd like to contribute to Saphpi, encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request.

License

Saphpi is released under the MIT License.

Acknowledgments

Saphpi is built upon the knowledge and expertise gained from various web frameworks and the contributions of the open-source community.