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.
- MVC Pattern: Clean separation of concerns.
- Spark ORM: Built-in QueryBuilder, Active Record implementation, and PDO
connection manager. (Replaces
Sorm). - 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
.phpand.jsonconfigs. 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.
PHP: 8.0 or higher is required. The framework is fully tested and compatible up to PHP 8.5.
git clone https://github.com/devsimsek/project-sdf.git
cd project-sdfcomposer create-project devsimsek/project-sdfConfigure the framework inside app/config/app.php or app/config/app.json.
Use the bundled CLI to generate components:
# Generate a new Controller
php sdf/cli g controller UserController
# Generate a new Spark Model
php sdf/cli g model Userphp sdf/cli serve -p 8000Full documentation is available in the wiki/ directory.
- Core Components
- Spark ORM (Updating soon)
- Fuse Template Engine
If you have any feedback or encounter issues, please open an issue within the repository.
Contributions are always welcome! Please follow PSR-12 coding standards and write tests for your components before opening a pull request.