PHPackages                             empathy-php/core - 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. empathy-php/core

ActiveLibrary[Framework](/categories/framework)

empathy-php/core
================

Empathy Framework core

0.1.1(5y ago)1261GPL-3.0-or-laterPHP

Since Apr 9Pushed 5y agoCompare

[ Source](https://github.com/empathy-framework/core)[ Packagist](https://packagist.org/packages/empathy-php/core)[ RSS](/packages/empathy-php-core/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (1)

[![](https://camo.githubusercontent.com/3164c1cfc980822140f9c241bb8620f6d5d70d33c573515998a1e64849909562/68747470733a2f2f692e6962622e636f2f4a46506e3950462f4c6f676f2d63726f702e706e67)](https://camo.githubusercontent.com/3164c1cfc980822140f9c241bb8620f6d5d70d33c573515998a1e64849909562/68747470733a2f2f692e6962622e636f2f4a46506e3950462f4c6f676f2d63726f702e706e67)

 🚀 Empathy Core
===============

[](#--empathy-core)

[![Latest Stable Version](https://camo.githubusercontent.com/027dd38eaabb81f44edb1a30bffc695e512286097eae07557287ff11618793fc/68747470733a2f2f706f7365722e707567782e6f72672f656d70617468792d7068702f636f72652f76)](//packagist.org/packages/empathy-php/core) [![Total Downloads](https://camo.githubusercontent.com/bb1ae697a7c78a4ff7c7b49eb5cb93bbbb19cf7d6bfa6c71d927c86753e9e427/68747470733a2f2f706f7365722e707567782e6f72672f656d70617468792d7068702f636f72652f646f776e6c6f616473)](//packagist.org/packages/empathy-php/core) [![License](https://camo.githubusercontent.com/feec3662ec0427bad7572c526afb01b75df309ade1a69e346921ff66e87ee792/68747470733a2f2f706f7365722e707567782e6f72672f656d70617468792d7068702f636f72652f6c6963656e7365)](//packagist.org/packages/empathy-php/core)

**Empathy Core** - приложение на **.NET Framework 4.0**, которое подключает библиотеку **PHP 7.4** и выполняет файл `script.php`

Установка
---------

[](#установка)

```
composer require empathy-php/core

```

Используется совместно с **Empathy Engine** или **Empathy Litengine**

Для лучшей работы рекомендуется прописать следующий код в корневом файле `composer.json`:

```
{
    "scripts": {
        "empathy-run": "vendor/empathy-php/core/empathy.exe vendor/empathy-php/core/script.php"
    }
}
```

После чего можно будет исполнять код

```
composer empathy-run

```

для запуска проекта

Код приложения можно писать в файле `app.php` в корневой директории проекта. Ядро реализует константу `Empathy\CORE_DIR`, указывающую абсолютный адрес к папке с ядром

Реализуемые методы
------------------

[](#реализуемые-методы)

Подключаемый программой PHP скрипт будет иметь доступ к следующим методам:

НазваниеАргументыОписаниеVoidCore::createObject ($class, $assembly\[, ...$params\])$class - имя .NET класса, $assembly - имя .NET сборки, $params - параметры конструктораСоздаёт объект .NET и передаёт его IDVoidCore::getClass ($class, $assembly)$class - имя .NET класса, $assembly - имя .NET сборкиПередаёт ID .NET классаVoidCore::removeObjects ($selector)$selector - ID объектаУдаляет объект из памятиVoidCore::getArrayValue ($selector, $index)$selector - ID массива, $index - индекс массиваПолучает значение, хранящееся в массиве с ID $selector под индексом $indexVoidCore::setArrayValue ($selector, $index, $value)$selector - ID массива, $index - индекс массива, $value - значениеЗадаёт значение $value в массив с ID $selector под индексом $indexVoidCore::getProperty ($selector, $name)$selector - ID объекта, $name - имя свойстваПолучает значение свойства $nameVoidCore::setProperty ($selector, $name, $value)$selector - ID объекта, $name - имя свойства, $value - значениеЗадаёт значение свойства $nameVoidCore::getField ($selector, $name)$selector - ID объекта, $name - имя поляПолучает значение поля $nameVoidCore::setField ($selector, $name, $value)$selector - ID объекта, $name - имя поля, $value - значениеЗадаёт значение поля $nameVoidCore::callMethod ($selector, $name\[, ...$args\])$selector - ID объекта, $name - имя метода, $args - список аргументовВызывает метод $name от объекта с ID $selector и параметрами $argsи другие

Автор: [Подвирный Никита](https://vk.com/technomindlp)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

2

Last Release

1865d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c45ee4c1f0ae802c481e2003e6d62c364a12e60354c913a9aca7ed42777ca773?d=identicon)[Observer KRypt0n\_](/maintainers/Observer%20KRypt0n_)

---

Top Contributors

[![krypt0nn](https://avatars.githubusercontent.com/u/29639507?v=4)](https://github.com/krypt0nn "krypt0nn (7 commits)")

---

Tags

dotnet-frameworkguiphpphp7

### Embed Badge

![Health badge](/badges/empathy-php-core/health.svg)

```
[![Health](https://phpackages.com/badges/empathy-php-core/health.svg)](https://phpackages.com/packages/empathy-php-core)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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