https://github.com/devsimsek/project-sdf
MVC architecture driven php 8 framework
https://github.com/devsimsek/project-sdf
collaborate communityexchange framework php
Last synced: 20 days ago
JSON representation
MVC architecture driven php 8 framework
- Host: GitHub
- URL: https://github.com/devsimsek/project-sdf
- Owner: devsimsek
- Created: 2021-11-28T14:07:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2026-05-20T19:02:59.000Z (about 1 month ago)
- Last Synced: 2026-05-20T19:52:54.953Z (about 1 month ago)
- Topics: collaborate, communityexchange, framework, php
- Language: PHP
- Homepage:
- Size: 295 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project SDF v2.0.0
Project SDF is a fast, robust, and modern project development framework designed
for PHP enthusiasts. It is compact, easy to maintain, and extremely extendable.
Version 2.0.0 introduces massive architectural improvements, performance boosts,
and better security out of the box.

[](https://devsimsek.mit-license.org)
## Features & Highlights
- **MVC Pattern:** Clean separation of concerns.
- **Spark ORM:** Built-in QueryBuilder, Active Record implementation, and PDO
connection manager.
- **Middleware Pipeline:** PSR-15 inspired request filtering.
- **Guards:** Explicit authentication and authorization classes.
- **Application Scopes:** Organize context gracefully (Controller, Helper,
Global, System, View).
- **Fast Routing:** Route compilation and caching for massive performance gains.
- **Config Loader:** Supports `.php` and `.json` configs. Compiled to cache
automatically.
- **Modern Fuse View Engine:** Compiles to raw PHP. High performance and
`eval()`-free for enhanced security.
- **CLI Commands:** Generators for Models, Controllers, Migrations, and more
(`sdf/cli`).
- **Composer Ready:** Optional but recommended PSR-4 autoloading via Composer,
while retaining standalone compatibility.
## Tech Stack
**PHP:** 8.0 or higher is required. The framework is fully tested and compatible
up to PHP 8.5.
## Installation
### Via Git
```bash
git clone https://github.com/devsimsek/project-sdf.git
cd project-sdf
```
### Via Composer
```bash
composer create-project devsimsek/project-sdf
```
## Quick Start
### 1. Configuration
Configure the framework inside `app/config/app.php` or `app/config/app.json`.
### 2. Generate Code
Use the bundled CLI to generate components:
```bash
# Generate a new Controller
php sdf/cli g controller UserController
# Generate a new Spark Model
php sdf/cli g model User
```
### 3. Run Development Server
```bash
php sdf/cli serve -p 8000
```
## Documentation
Full documentation is available in the `wiki/` directory.
- [Core Components](wiki/sdf/home.md)
- [Spark ORM](wiki/libraries/spark.md)
- [Fuse Template Engine](wiki/libraries/fuse.md)
## Feedback
If you have any feedback or encounter issues, please open an issue within the
repository.
## Contributing
Contributions are always welcome! Please follow PSR-12 coding standards and
write tests for your components before opening a pull request.
## Authors
- [@devsimsek](https://www.github.com/devsimsek)