DBM Ecosystem

Build with Dybem

A lightweight PHP framework. A ready-to-use application platform. An extensible ecosystem.

Dybem combines DBM Framework - a lightweight, open-source PHP framework - with the ready-to-use DBM Platform and a modular system that extends your application's capabilities.

Build web applications, APIs, CMS platforms and advanced web systems without unnecessary layers - while keeping performance, simplicity and full control over your architecture.

Open-source framework Modular architecture Full control
DBM Ecosystem

Dybem

Core
DBM Framework
Runtime environment and infrastructure
Application platform
DBM Platform
Ready-to-use application layer
Extensions
Modules and services
CMS • E-commerce • Payments • API
Ecosystem

One ecosystem. Many possibilities.

Dybem combines a lightweight technological foundation with a ready-to-use platform and modules that you can adapt to your own project.

DBM Framework

A lightweight foundation for PHP applications. It provides infrastructure, routing, dependency injection, HTTP handling and the tools needed to build your own applications.

DBM Platform

A ready-to-use application layer built on DBM Framework. It provides the features you need to create complete web applications.

Modules and services

Extend the platform according to your needs. Modules can provide CMS, commerce, payments, security and custom application logic.

Foundation

DBM Framework

A lightweight PHP framework designed for performance, simplicity and full control over your application.

DBM Framework provides the foundation on which you can build your own applications, APIs, CMS platforms and more advanced web systems.

It is designed for projects where a full-stack framework may be unnecessary, while keeping the architecture clear enough to evolve as the project grows.

Start with a lightweight architecture and introduce additional tools and infrastructure as your application requirements grow.

Application foundation

Routing and HTTP

A lightweight layer for handling requests, routing and HTTP responses.

Dependency injection

Simple management of application dependencies and components.

Data layer

Flexible database and application query handling.

PSR and modern PHP

An architecture designed for building modern PHP applications.

Built to evolve

DBM Framework keeps your application architecture clear and portable. Use lightweight built-in components, Composer packages, Doctrine or Twig where needed, and evolve the project as its requirements grow.

In practice

From the first request to the response - without unnecessary magic.

DBM Framework keeps the core application flow visible. The entry point, dependency container, routing and controller remain clear and easy to follow.

Entry Point
public/index.php
01
use Dbm\Core\Paths;

$baseDirectory = realpath(
    dirname(__DIR__)
);

require_once $baseDirectory . '/vendor/autoload.php';

Paths::setBasePath($baseDirectory);

$appFactory = require __DIR__ . '/bootstrap/app.php';

$app = $appFactory();

$response = $app->run();

$response->send();
Application
bootstrap/app.php
02
use Dbm\Application;
use Dbm\Core\DependencyContainer;
use Dbm\Routing\RouteBuilder;

return function (): Application {
    $container = new DependencyContainer();

    (require __DIR__ . '/services.php')($container);

    $routeBuilder = $container->get(RouteBuilder::class);

    require __DIR__ . '/controller.php';

    $routeBuilder->get('/', [HelloController::class, 'index'], 'home');

    return new Application($container);
};
Services
bootstrap/services.php
03
$container->singleton(
    KernelInterface::class,
    fn($c) => new HttpKernel(
        $c->get(Router::class),
        $c->get(MiddlewareStack::class),
        $c->get(TemplateEngine::class),
        $c->get(UrlGeneratorInterface::class)
    )
);

$container->singleton(
    ExtendedRequestInterface::class,
    fn() => Request::fromGlobals()
);

$container->alias(
    ServerRequestInterface::class,
    ExtendedRequestInterface::class
);

RoutingServiceProvider::register($container);
Controller
src/Controller/BaseController | BaseApiController
04
use Dbm\Http\Controller\BaseApiController;
use Dbm\Http\Controller\BaseController;
use Psr\Http\Message\ResponseInterface;

class HelloController extends BaseController
{
    public function index(): ResponseInterface
    {
        return $this->render('base.phtml', [
            'title' => 'DBM Framework - Hello World',
            'message' => 'Welcome to your first modular PHP application!',
        ]);
    }
}

class HelloApiController extends BaseApiController
{
    public function index(): ResponseInterface
    {
        return $this->jsonResponse([
            'success' => true,
            'message' => 'Hello World',
        ]);
    }
}
Application flow

A clear application flow

From an HTTP request to a ready response.

Request
HTTP
Route
Routing
Controller
Application
Response
HTTP

Less code. Clear flow. Full control.

DBM Framework keeps the application architecture transparent from the very first request.

DBM Platform

A ready-to-use foundation for building applications.

Not every project needs to be built from scratch.

DBM Platform extends DBM Framework with a ready-to-use application layer centered around DBM Admin - an administration panel for managing your application, users and modules.

The platform can serve as a ready-to-use project foundation or provide only the components you actually need.

Simplicity

Content management

DBM Admin

Administration panel

Users

User and permission system

Module system

Extend the platform as needed

DBM Admin - User list
Featured Product

DBM Admin - CMS Lite + Admin.

A ready-to-use administration panel for lightweight PHP websites and applications.

Manage your website content directly from the browser without editing files, using FTP or rebuilding your existing site.

CMS Lite + Admin extends the lightweight CMS Lite foundation with user authentication, administration tools and a convenient interface for managing your content.

Browser-based content management
User authentication
No FTP or file editing
Modular architecture
DBM Admin - Authentication
Authentication Admin Panel Content Management
Extensions

Extend the platform your way.

A modular architecture lets you add new capabilities without changing the application's foundation.

CMS & Admin

DBM CMSLite and the administration panel as ready-to-use parts of DBM Platform.

Shopping & Payments

The foundation for online sales: products, orders, checkout and payment integrations.

Security

Authentication, application protection and security mechanisms as independent extensions.

Custom modules

Build your own extensions tailored to the project's requirements and architecture.

Why Dybem?

Less overhead. More control.

Dybem combines a lightweight framework foundation with ready-to-use platform components while keeping your application's architecture in your hands.

Performance

A lightweight runtime and minimal overhead let you build fast applications without unnecessary abstraction layers.

  • Lightweight application bootstrap
  • Low framework overhead
  • Fast runtime

Modularity

Develop your application layer by layer and add only the components you actually need.

  • Application modules
  • Separation of responsibilities
  • Extensible architecture

Full control

A clear project structure without hidden magic or unnecessary layers that you do not need.

  • Custom routing
  • Clear structure
  • Runtime control

Migration-friendly architecture

Build with a clear and modular architecture that gives your application room to evolve as its requirements and scale increase.

  • Standard PHP and PSR
  • Doctrine-compatible data layer
  • Composer and Twig integration
How it works

Start with the foundation. Grow as needed.

Dybem does not force you into a single way of building applications. Choose the level you need and grow your project as its requirements evolve.

01

Framework

Start with DBM Framework and get a lightweight foundation for your own application.

02

Platform

Add DBM Platform when you need a ready-to-use application layer and administration panel.

03

Modules

Extend your application with ready-to-use modules or build custom components tailored to your project.

04

Build

Build applications, APIs, CMS platforms, e-commerce solutions and larger web systems - then evolve them as your project grows.

Dybem Philosophy

Technology should serve the application.

Dybem is built on the idea that a framework should simplify development without forcing the entire application into a single way of working.

That is why DBM Framework keeps its architecture clear and modular. You can use its built-in components, integrate tools such as Composer, Doctrine or Twig, and replace or extend individual layers as your project evolves.

Start with a lightweight foundation, add only the components you need, and keep the freedom to take the application in a different direction when its requirements change.

Simplicity

A clear structure and lightweight infrastructure.

Clarity

Know what is happening in your application and where to find it.

Flexibility

Choose which platform components your project actually needs.

For developers

A tool designed primarily around the developer's workflow.

Possibilities

One ecosystem. Many applications.

From small applications and APIs to complete web platforms.

Web applications

Build classic web applications, business systems and SaaS solutions.

APIs

Build lightweight APIs for web applications, mobile apps and external services.

CMS

Manage content with DBM CMSLite and the administration panel.

E-commerce

Build commerce solutions using the Shopping and Payments modules.

Web platforms

Combine the framework, platform and custom modules into larger application solutions.

Custom solutions

Build your own modules and adapt the ecosystem to your project's specific requirements.

Open Source

Explore the code. See how Dybem works.

DBM Framework is an Open Source project. Explore the source code, understand the architecture and use the framework as the foundation for your own applications.

DBM Platform and individual modules are developed independently. Selected parts of the ecosystem are made publicly available as the project evolves.

DBM Framework
Open Source
  • Public framework source code
  • Clear architecture
  • Freedom to extend and develop
Start building

Build your own applications with Dybem.

Start with a lightweight framework, add a ready-to-use platform and grow your application exactly the way you need.

One foundation. Many possibilities.

Dybem gives you a lightweight framework, a ready-to-use platform and the freedom to build your own solutions.