PHPackages                             dotkernel/light - 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. [Templating &amp; Views](/categories/templating)
4. /
5. dotkernel/light

ActiveProject[Templating &amp; Views](/categories/templating)

dotkernel/light
===============

Dotkernel Light Application

1.4.0(6mo ago)1012[1 PRs](https://github.com/dotkernel/light/pulls)MITPHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Oct 3Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/dotkernel/light)[ Packagist](https://packagist.org/packages/dotkernel/light)[ Docs](https://github.com/dotkernel/light)[ RSS](/packages/dotkernel-light/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (7)Dependencies (15)Versions (9)Used By (0)

Dotkernel Light
===============

[](#dotkernel-light)

Dotkernel Light is a PSR-15 compliant application (skeleton) using Mezzio microframework and Laminas components. It's designed as a minimal project to generate a simple website, like a presentation site.

> Check out our [demo](https://light.dotkernel.net/).

Documentation
-------------

[](#documentation)

Documentation is available at:

Badges
------

[](#badges)

[![OSS Lifecycle](https://camo.githubusercontent.com/827436a15c6fe0af025f62ac481aaee6e23af6d603167460147a9a6fb8fe162d/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f6c69676874)](https://camo.githubusercontent.com/827436a15c6fe0af025f62ac481aaee6e23af6d603167460147a9a6fb8fe162d/68747470733a2f2f696d672e736869656c64732e696f2f6f73736c6966656379636c652f646f746b65726e656c2f6c69676874)[![Packagist Dependency Version](https://camo.githubusercontent.com/894a3a04da371d40fcc2206d5375771b4d68b0ed39652676c62c447c528407a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f646f746b65726e656c2f6c696768742f706870)](https://camo.githubusercontent.com/894a3a04da371d40fcc2206d5375771b4d68b0ed39652676c62c447c528407a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f646f746b65726e656c2f6c696768742f706870)

[![GitHub issues](https://camo.githubusercontent.com/e319b6c77a72df7fbbf19c821e38dcdf1c245ce9ab1481f3f9f7bb2410f88482/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f646f746b65726e656c2f6c69676874)](https://github.com/dotkernel/light/issues)[![GitHub forks](https://camo.githubusercontent.com/a0283c398faa27daacd2ab10e47513dfa4ebf27cf35e1a9a192fd42d1f1143e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f646f746b65726e656c2f6c69676874)](https://github.com/dotkernel/light/network)[![GitHub stars](https://camo.githubusercontent.com/4957547eb2a971cb023fc0a18cd85317e9f003501eb0e09506bf77622a96a94f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f646f746b65726e656c2f6c69676874)](https://github.com/dotkernel/light/stargazers)[![GitHub license](https://camo.githubusercontent.com/631417bcc172e7751a4606f4921673a839466c31cd571b41420d2c02e602cddb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f746b65726e656c2f6c69676874)](https://github.com/dotkernel/light/blob/1.0/LICENSE)

[![Continuous Integration](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/continuous-integration.yml)[![codecov](https://camo.githubusercontent.com/0c243a67a9ed56a1673cbcef73a49799019c83deadb8653472ccf7bfe6fb378a/68747470733a2f2f636f6465636f762e696f2f67682f646f746b65726e656c2f6c696768742f67726170682f62616467652e7376673f746f6b656e3d5570564a35454c76665a)](https://codecov.io/gh/dotkernel/light)[![Qodana](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml/badge.svg)](https://github.com/dotkernel/light/actions/workflows/qodana_code_quality.yml)

[![PHPStan](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml/badge.svg?branch=1.0)](https://github.com/dotkernel/light/actions/workflows/static-analysis.yml)[![PHPstan Level](https://camo.githubusercontent.com/ff3c7f8c8667ce643f47e74532748f673482a5f95d7d4269f925f2eebbe5117e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e)](https://camo.githubusercontent.com/ff3c7f8c8667ce643f47e74532748f673482a5f95d7d4269f925f2eebbe5117e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e)

Installing Dotkernel `light`
----------------------------

[](#installing-dotkernel-light)

- [Installing Dotkernel `light`](#installing-dotkernel-light)
    - [Composer](#composer)
    - [Choose a destination path for Dotkernel `light` installation](#choosing-an-installation-path-for-dotkernel-light)
    - [Installing Dotkernel light](#installing-dotkernel-light)
    - [Testing (Running)](#running-the-application)

Tools
-----

[](#tools)

Dotkernel light interface has been tested with npm v10.0.4 and Node.js v20.11.0.

### Composer

[](#composer)

Installation instructions:

- [Composer Installation - Linux/Unix/OSX](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)
- [Composer Installation - Windows](https://getcomposer.org/doc/00-intro.md#installation-windows)

> If you have never used composer before make sure you read the [`Composer Basic Usage`](https://getcomposer.org/doc/01-basic-usage.md) section in Composer's documentation

Choosing an installation path for Dotkernel `light`
---------------------------------------------------

[](#choosing-an-installation-path-for-dotkernel-light)

Example:

- absolute path `/var/www/dk`
- or relative path `dk` (equivalent with `./dk`)

Installing Dotkernel `light`
----------------------------

[](#installing-dotkernel-light-1)

After you choose the path for Dotkernel light (`dk` will be used for the remainder of this example), let's move onto installation.

### Installing Dotkernel `light` using git clone

[](#installing-dotkernel-light-using-git-clone)

This method ensures that the default branch is installed, even if it is not released. Run the following command:

```
git clone https://github.com/dotkernel/light.git .
```

The dependencies have to be installed separately, by running this command:

```
composer install
```

The setup script prompts for some configuration settings, for example the lines below:

```
Please select which config file you wish to inject 'Laminas\HttpHandlerRunner\ConfigProvider' into:
  [0] Do not inject
  [1] config/config.php
  Make your selection (default is 1):
```

Simply select `[0] Do not inject`, because Dotkernel includes its own configProvider which already contains the prompted configurations.

If you choose `[1] config/config.php` Laminas's `ConfigProvider` will be injected.

The next question is:

`Remember this option for other packages of the same type? (Y/n)`

You should enter `y` and press `Enter`.

Development mode
----------------

[](#development-mode)

Run this command to enable dev mode by turning debug flag to `true` and turning configuration caching to `off`. It will also make sure that any existing config cache is cleared.

```
composer development-enable
```

- If not already done, remove the `.dist` extension from `config/autoload/development.local.php.dist`.

Bundling Static Modules
-----------------------

[](#bundling-static-modules)

> Prerequisite software: Node.js v20 (minimum supported version)

To install dependencies into the `node_modules` directory run this command.

```
npm install
```

If `npm install` fails, this could be caused by user permissions of npm. We recommend installing npm through `Node Version Manager`.

> You can skip the next step until you make changes in the `src/App/assets` folder

The build command compiles the components from the `src/App/assets` folder into the `public` folder.

> This command overwrites existing files in the `public` folder.

```
npm run build
```

Running the application
-----------------------

[](#running-the-application)

We recommend running your applications in WSL:

- make sure you have [WSL](https://github.com/dotkernel/development/blob/main/wsl/README.md) installed on your system
- currently we provide a distro implementations for [AlmaLinux9](https://github.com/dotkernel/development/blob/main/wsl/os/almalinux9/README.md)
- install the application in a virtualhost as recommended by the chosen distro
- set `$baseUrl` in **config/autoload/local.php** to the address of the virtualhost
- run the application by opening the virtualhost address in your browser

You should see the `Dotkernel light` welcome page.

**NOTE:**

- If you are getting exceptions or errors regarding some missing services, try running the following command:

```
sudo php bin/clear-config-cache.php
```

> If `config-cache.php` is present that config will be loaded regardless of the `ConfigAggregator::ENABLE_CACHE` in `config/autoload/mezzio.global.php`

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance72

Regular maintenance activity

Popularity9

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~66 days

Recently: every ~85 days

Total

8

Last Release

124d ago

PHP version history (3 changes)1.0.0PHP ~8.2.0 || ~8.3.0

1.1.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0

1.4.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1156873?v=4)[Dotkernel](/maintainers/dotkernel)[@dotkernel](https://github.com/dotkernel)

---

Top Contributors

[![arhimede](https://avatars.githubusercontent.com/u/22009710?v=4)](https://github.com/arhimede "arhimede (45 commits)")[![alexmerlin](https://avatars.githubusercontent.com/u/4542449?v=4)](https://github.com/alexmerlin "alexmerlin (45 commits)")[![marioradu05](https://avatars.githubusercontent.com/u/10761919?v=4)](https://github.com/marioradu05 "marioradu05 (13 commits)")[![MarioRadu](https://avatars.githubusercontent.com/u/10761919?v=4)](https://github.com/MarioRadu "MarioRadu (13 commits)")[![Howriq](https://avatars.githubusercontent.com/u/63609103?v=4)](https://github.com/Howriq "Howriq (4 commits)")[![bidi47](https://avatars.githubusercontent.com/u/27284979?v=4)](https://github.com/bidi47 "bidi47 (3 commits)")[![georgeStan](https://avatars.githubusercontent.com/u/37103710?v=4)](https://github.com/georgeStan "georgeStan (1 commits)")

---

Tags

laminasmezziopsr-11psr-15psr-7twigmiddlewarelaminasmezziodotkernel

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/dotkernel-light/health.svg)

```
[![Health](https://phpackages.com/badges/dotkernel-light/health.svg)](https://phpackages.com/packages/dotkernel-light)
```

###  Alternatives

[mezzio/mezzio-skeleton

Laminas mezzio skeleton. Begin developing PSR-15 middleware applications in seconds!

12726.2k](/packages/mezzio-mezzio-skeleton)[mezzio/mezzio-tooling

Migration and development tooling for Mezzio

191.1M21](/packages/mezzio-mezzio-tooling)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
