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.
Requires
- php: >=8.1
- mirzahilmi/saphpi-core: ^1.0
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
-
Clone the Saphpi repository with desired project name:
git clone https://github.com/MirzaHilmi/Saphpi.git Project
-
Configure your web server to point to the
public
directory of your Project. -
Start building your Saphpi application by creating controllers, models, and views.
-
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.