PHPackages                             lezhnev74/blank - 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. lezhnev74/blank

ActiveProject

lezhnev74/blank
===============

A blank project

1.0.3(6y ago)291MITPHP

Since Mar 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lezhnev74/blank)[ Packagist](https://packagist.org/packages/lezhnev74/blank)[ RSS](/packages/lezhnev74-blank/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

Get started
===========

[](#get-started)

This project is a [frameworkless foundation](https://lessthan12ms.com/frameworkless-foundation-of-your-php-application.html) for a new backend application in PHP. It is designed in 3-layers: Application, Domain and Infrastructure. It includes, probably, a good initial set of features that one might need.

The idea of this project is to be free in choices of packages. No big framework included, only some popular open-source packages, each of them can be replaced or deinstalled. This is my comfortable default setup that I feel good about.

Docker And `./develop` Tool
---------------------------

[](#docker-and-develop-tool)

This project requires Docker installed, it ships with a `docker-compose.yml` configured. You can tweak it as you need, by default it comes with PHP 7.4 image. `./develop` is a proxy tool to pass command inside of the container (via `docker-compose`). Look inside, it supports a number of useful commands:

- `php`
- `composer`
- `test`
- `debug`
- `serve`
- `migrate`

Safety Net
----------

[](#safety-net)

This package cmoes with a set of quality assurance tools which enforce high coding practices:

- `phpcs`
- `phpcbf`
- `phpstan`
- `deptrac`

There is git hook shipped with this project `.githooks/pre-commit`. It automatically configured during installation (see `scripts` part in `composer.json`). It will check your code upon new commits and outputs errors in the file `.qa-report.txt`.

Folders
-------

[](#folders)

- `docker` - configure the PHP image
- `docs` - OpenAPI references, see Stoplight Studio
- `web` - web root for the web server
- `src` - all code goes here according to layers.
    - `Domain` - core logic
    - `Application` - user facing logic, usecases
    - `Infrastructure` - low level details and implementation
- `tests` - all tests go here
- `storage` - all data and resources kept here (including logs)

Installation
------------

[](#installation)

- create a new project from this repository: ```
    composer create-project --prefer-source lezhnev74/blank ./

    ```
- install fresh versions of dependencies: ```
    ./develop composer require \
    php-di/php-di \
    phlak/config vlucas/phpdotenv \
    monolog/monolog \
    nesbot/carbon \
    doctrine/dbal doctrine/migrations \
    slim/psr7 slim/slim \
    danielstjules/stringy voku/arrayy ramsey/uuid \
    webmozart/assert

    ```

    ```
    ./develop composer require --dev \
    mockery/mockery \
    phpstan/phpstan \
    phpunit/phpunit \
    squizlabs/php_codesniffer

    ```

### After Installation

[](#after-installation)

Probably there are manual configuration required after all big parts are complete:

- initialize git via `git init`
    - configure quality check on git commit (via a git hook): `./develop composer run init-git-hook`
    - run and make sure git hook is executable `./.git/gooks/pre-commit`
- check that `.env` file exists
- do global replacement of the root namespace from `Blank\` to `MyProject\` (not only in php files, but everywhere).
- run `./develop php -v` and `./develop test` to confirm PHP container is runnable

Database And Migrations
-----------------------

[](#database-and-migrations)

The project ships with `doctrine/dbal` and `doctrine/migrations`. So you can tweak db config in `src/Infrastructure/config.php`. Also migrations are configured in two files: `cli-config.php` and `migrations.php`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~0 days

Total

4

Last Release

2249d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb00f0fc4db7dc06ce8ef99d6fd623780a3d52608c61c45fbaed0f8cf1ab5810?d=identicon)[lezhnev74](/maintainers/lezhnev74)

---

Top Contributors

[![lezhnev74](https://avatars.githubusercontent.com/u/10206110?v=4)](https://github.com/lezhnev74 "lezhnev74 (9 commits)")

### Embed Badge

![Health badge](/badges/lezhnev74-blank/health.svg)

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

PHPackages © 2026

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