PHPackages                             digicademy/dlight - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. digicademy/dlight

ActiveLibrary[Framework](/categories/framework)

digicademy/dlight
=================

DLight - Domain Driven Design Microframework

v0.2.1(7y ago)759MITPHP

Since Aug 12Pushed 7y ago7 watchersCompare

[ Source](https://github.com/digicademy/dlight)[ Packagist](https://packagist.org/packages/digicademy/dlight)[ Docs](https://github.com/digicademy/dlight)[ RSS](/packages/digicademy-dlight/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

**DLight**
==========

[](#dlight)

[![](files/img/dlight.png)](files/img/dlight.png)

### About

[](#about)

**DLight** (»*Delight*«) is a PHP microframework on top of [Slim](https://www.slimframework.com/) with a focus on a clean, object oriented software architecure and related design patterns.

**DLights** architecture adheres to the principles of [Domain Driven Design](https://en.wikipedia.org/wiki/Domain-driven_design). The main purpose of the the framework is to study software design patterns and web technologies in the master programme '[Digital Methods in the Humanities and Cultural Sciences](https://www.digitale-methodik.uni-mainz.de/)'.

At the same time, **DLight** and its [Slim](https://www.slimframework.com/) framework base make it possible to write clean and efficient APIs and HTTP-based web apps.

**DLight** is in an early beta stadium at the moment - fully usable and already used in production but not feature complete. Most notably at this stage are **DLights** domain, factory and mapper classes that make coupling and transforming XML content (e.g. from an [eXist XML database](http://exist-db.org/exist/apps/homepage/index.html)) a breeze.

**DLight** still expects you to write your own PHP code ;-) It simply provides you with a clean architectural base for the task.

### Requirements

[](#requirements)

- Webserver with URL rewriting
- PHP 5.5 or newer
- [Composer](https://getcomposer.org/)

### Installation

[](#installation)

DLight can be installed with Composer. Create a project directory and execute the following command:

```
composer require digicademy/dlight

```

This installs DLight in the *vendor* directory of your project directory. Next, create a subdirectory (*public* for example) cd into the directory, create an index.php file and add the following:

```
