v1.4.0

Dorguzen

Build it clean. Ship it fast. Own every line.

Dorguzen is a modern PHP MVC framework that gives you everything you need to build a full-featured web application — without hiding how any of it works. Clear code, honest architecture, and documentation that explains the why, not just the what.


Why Dorguzen?

Most frameworks wrap PHP in so many layers of abstraction that you end up learning the framework's own private language instead of actual PHP. When something breaks, you're lost. When you move on to another project, you have to start over.

Dorguzen is different. It keeps all the convenience, but strips away the black box. Every feature is built on straightforward PHP patterns. The source code is readable. The documentation explains what is happening and why. When you understand Dorguzen, you understand PHP — and that knowledge travels with you.

Dorguzen is not just a tool for shipping faster. It is a tool for becoming a better PHP developer.

Routing

Clean URLs, named routes, route parameters, middleware groups, and auto-discovery — all in one place.

Models & ORM

A lightweight ORM that reads like plain PHP. Relationships, cascading deletes, and multiple DB drivers (MySQL, SQLite, PostgreSQL).

Authentication

Login, registration, password reset, and role-based access control built in. Four user roles out of the box.

REST API

A dedicated versioned API layer with JWT authentication and auto-generated Swagger UI documentation.

Events & Queues

Decouple your application with events and listeners. Push slow work (emails, exports) to background job queues.

CLI Tool

Generate controllers, models, migrations, jobs, and more with php dgz make:*. Run your scheduled tasks and queue workers too.

Email & Newsletter

PHPMailer integration with queue-based bulk newsletter support, subscriber management, and customisable templates.

SEO Module

Database-driven meta tags, Open Graph, Twitter Card, and canonical URLs — automatically applied per page from the admin panel.

Admin Dashboard

A fully working admin interface ships with the framework — ready the moment you install it.


A Full Application, Ready on Day One

Most frameworks give you a blank slate. Dorguzen gives you a fully functional website the moment you install it. Your application ships with a complete admin dashboard and a set of ready-made content modules that are already wired up, styled, and working.

Built-in Content Modules

Every module is fully functional on install — public-facing pages, admin management, image uploads, and all. Don't need one? Turn it off in .env with a single setting.

Blog
News
Gallery
Portfolio
Videos
Newsletter

Here is what that means in practice. A startup building a company website can install Dorguzen and immediately have:

  • A blog for publishing articles (with categories, tags, drafts, and a full publishing workflow)
  • A news section for announcements
  • A portfolio to showcase work
  • A gallery for photo albums
  • A videos page for embedded YouTube or Vimeo clips
  • A newsletter system where visitors can subscribe, and admins can send broadcast emails

If your application does not need one of those modules, just set MODULES_BLOG_STATUS=off (or whichever module) in your .env file and remove the link from your navigation menu. No code changes needed.


"A Dorguzen developer genuinely understands the architecture behind what they are building."

Dorguzen is designed to be transparent. Every feature is readable, followable PHP — no compiled internals, no vendor magic. When something does not behave as you expect, you can open the relevant class and read exactly what is happening. This makes Dorguzen an excellent choice both for production applications and for developers who want to deepen their understanding of how PHP frameworks actually work under the hood.


What is in These Docs?

This documentation covers everything in the framework. Use the sidebar to navigate. Here is a quick map:

Section What you will find
Getting Started Installation, configuration, and a tour of the project structure
Core Concepts Routing, controllers, forms, validation, views, models, and dependency injection
Going Deeper Authentication, middleware, error handling, migrations, queues, events, and the scheduler
Features File uploads, email, REST API, CLI tool, SEO, security, and testing
Built-in Modules Deep dives on Blog, News, Gallery, Portfolio, and Videos
Deployment Deploying to shared hosting or a VPS, performance caching, and production checklist

Ready? Let's go.