PHPackages                             chernegasergiy/clinical-management-platform - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. chernegasergiy/clinical-management-platform

Abandoned → [medcore-ua/clinical-management-platform](/?search=medcore-ua%2Fclinical-management-platform)Project[Testing &amp; Quality](/categories/testing)

chernegasergiy/clinical-management-platform
===========================================

A Clinic Management Platform

202[8 issues](https://github.com/medcore-ua/clinic-management-platform/issues)[1 PRs](https://github.com/medcore-ua/clinic-management-platform/pulls)PHPCI failing

Since Jan 31Pushed 2mo agoCompare

[ Source](https://github.com/medcore-ua/clinic-management-platform)[ Packagist](https://packagist.org/packages/chernegasergiy/clinical-management-platform)[ RSS](/packages/chernegasergiy-clinical-management-platform/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

Clinic Management Platform
==========================

[](#clinic-management-platform)

[![PHPStan](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpstan.yml/badge.svg)](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpstan.yml)[![PHPCS](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpcs.yml/badge.svg)](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpcs.yml)[![PHPUnit](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpunit.yml/badge.svg)](https://github.com/ChernegaSergiy/clinic-management-platform/actions/workflows/phpunit.yml)[![Test Coverage](https://camo.githubusercontent.com/ef279a775db16576dc93efe017a6d8d2dc8b63942695e5227db484ef95c97f98/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f436865726e6567615365726769792f636c696e69632d6d616e6167656d656e742d706c6174666f726d3f6c6162656c3d54657374253230436f766572616765266c6f676f3d636f6465636f76)](https://app.codecov.io/gh/ChernegaSergiy/clinic-management-platform)

A robust, three-tier healthcare information system designed to automate key workflows in modern medical centers. This platform is built with a modular architecture, prioritizing scalability, security, and compliance with national regulatory requirements.

Overview
--------

[](#overview)

The platform provides a comprehensive suite of tools for healthcare providers, covering the full patient service cycle from initial appointment booking to the maintenance of detailed electronic medical records (EMR). Built with a modular three-tier architecture, the system integrates resource management, staff scheduling, and automated reporting into a single workspace, ensuring scalability and compliance with national regulatory standards. Currently, the project is undergoing a strategic transition to a Symfony-based component architecture to further enhance its flexibility and long-term maintainability.

Technology Stack
----------------

[](#technology-stack)

- **Backend:** PHP 8.2+
- **Templating Engine:** Twig
- **Frontend:** Semantic UI, Vanilla JS
- **Database:** MySQL/MariaDB, with SQLite support for development
- **Web Server:** Nginx + PHP-FPM

Quick Start
-----------

[](#quick-start)

> Detailed deployment instructions will be added to `docs/deployment.md`.

1. **Clone the repository:**

    ```
    git clone https://github.com/your-username/clinic-management-platform.git
    cd clinic-management-platform/www
    ```
2. **Install dependencies:**

    ```
    composer install
    ```
3. **Configure the environment:**

    - Copy `.env.example` to `.env`.
    - Specify the connection parameters for your database.
4. **Run migrations and data seeding:**

    ```
    composer db:migrate
    composer db:seed
    ```
5. **Configure the web server** to point to the `public/` directory as the root.
6. **Start the local server (for development):**

    ```
    php -S localhost:8000 -t public
    ```

How to Run Code Quality Checks
------------------------------

[](#how-to-run-code-quality-checks)

To ensure code quality, the project uses the following tools:

- **PHPStan** — static analysis to detect errors in PHP code
- **PHPCS** — code style checking according to PSR-12 standard
- **PHPUnit** — running Unit and Integration tests

### Installing Dependencies

[](#installing-dependencies)

```
composer install
```

### Running Checks

[](#running-checks)

All commands are executed from the `www/` directory:

```
# Static analysis with PHPStan
composer stan

# Code style check with PHPCS
composer cs-check

# Automatic style fixes with PHPCS
composer cs

# Running PHPUnit tests
composer test
```

### Running Individual Tools

[](#running-individual-tools)

```
# PHPStan
vendor/bin/phpstan analyse

# PHPCS
vendor/bin/phpcs --standard=PSR12 --ignore=vendor/ public/ src/

# PHPCBF (automatic fixes)
vendor/bin/phpcbf --standard=PSR12 --ignore=vendor/ public/ src/

# PHPUnit
vendor/bin/phpunit
```

### CI Checks

[](#ci-checks)

GitHub Actions automatically runs all checks on every push to branches `main`, `epic/**`, `feature/**`, `fix/**` and on Pull Requests to `main`. The status of checks is displayed in the badges at the beginning of this file.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.2% 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.

### Community

Maintainers

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

---

Top Contributors

[![ChernegaSergiy](https://avatars.githubusercontent.com/u/60980650?v=4)](https://github.com/ChernegaSergiy "ChernegaSergiy (1844 commits)")[![Andriihev](https://avatars.githubusercontent.com/u/231760512?v=4)](https://github.com/Andriihev "Andriihev (52 commits)")[![makztezerest](https://avatars.githubusercontent.com/u/231555390?v=4)](https://github.com/makztezerest "makztezerest (13 commits)")[![Sameer6305](https://avatars.githubusercontent.com/u/169603553?v=4)](https://github.com/Sameer6305 "Sameer6305 (7 commits)")

---

Tags

composermysqlphpphp8phpunitsymfonytwigukraine

### Embed Badge

![Health badge](/badges/chernegasergiy-clinical-management-platform/health.svg)

```
[![Health](https://phpackages.com/badges/chernegasergiy-clinical-management-platform/health.svg)](https://phpackages.com/packages/chernegasergiy-clinical-management-platform)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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