PHPackages                             avz-cmf/zaboy-rest - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. avz-cmf/zaboy-rest

ActiveLibrary[HTTP &amp; Networking](/categories/http)

avz-cmf/zaboy-rest
==================

REST resource as middleware

4.2.2(9y ago)02511[8 issues](https://github.com/avz-cmf/zaboy-rest/issues)5GPL-3.0PHP

Since Feb 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/avz-cmf/zaboy-rest)[ Packagist](https://packagist.org/packages/avz-cmf/zaboy-rest)[ Docs](https://github.com/avz-cmf/zaboy-rest)[ RSS](/packages/avz-cmf-zaboy-rest/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (15)Versions (70)Used By (5)

zaboy-rest 4.2.0
================

[](#zaboy-rest-420)

Запуск тестов
-------------

[](#запуск-тестов)

Установите переменную окружения `'APP_ENV' = "dev"`;

Перед тем как запускать тесты, создайте файл `test.local.php` в `config/autoload`и добавьте туда настройки для `httpDataStore` изменив localhost в параметре url так что бы по нему можно было получить доступ к веб-приложению.

Пример:

```
   return [
       "dataStore" => [
           'testHttpClient' => [
               'class' => 'zaboy\rest\DataStore\HttpClient',
               'tableName' => 'test_res_http',
               'url' => 'http://localhost/api/rest/test_res_http',
               'options' => ['timeout' => 30]
           ],
           'testEavOverHttpClient' => [
               'class' => 'zaboy\rest\DataStore\HttpClient',
                'url' => 'http://localhost/api/rest/entity_product',
                'options' => ['timeout' => 30]
           ],
           'testEavOverHttpDbClient' => [
                       'class' => 'zaboy\rest\DataStore\HttpClient',
                       'url' => 'http://localhost:9090/api/rest/db'. EavAbstractFactory::DB_NAME_DELIMITER . 'entity_product',
                       'options' => ['timeout' => 30]
                  ],
       ]
   ];
```

Скопируйте `index.php`и .htaccess из библиотеки в паблик директорию проекта.

Запустите скрипт `composer lib-install`, он создаст таблицы в базе.

Использование библиотеки
========================

[](#использование-библиотеки)

Что бы использовать данную библиотеку в своих приложениях следуйте [данной инструкции](INSTALL.md)

Доскументация
-------------

[](#доскументация)

[Детальная документация](doc/)

- [zaboy Rql](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/RQL_PARSER.md)
- [Запуск тестов](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/TESTS.md)
- [DataStore Абстрактные фабрики](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/DataStore%20Abstract%20Factory.md)
- [EAV](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/EAVDataStore.md)
- [EAV примеры](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/EAV%20example.md)
- [Composite](https://github.com/avz-cmf/zaboy-rest/blob/master/doc/Composite.md)
- [Стандарты](https://github.com/avz-cmf/zaboy-skeleton/blob/master/docs/Standarts.md)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity78

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

Total

69

Last Release

3461d ago

Major Versions

1.2.0 → 2.0.02016-04-19

2.0.2 → 3.0.02016-04-22

3.9.9 → 4.0.02016-10-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/a580b0a91b7d5d602f8858c7c747c49542ea14b631dcd976eed93a0d3014a8de?d=identicon)[Andrey Zaboychenko](/maintainers/Andrey%20Zaboychenko)

---

Top Contributors

[![victorynox](https://avatars.githubusercontent.com/u/17138585?v=4)](https://github.com/victorynox "victorynox (55 commits)")[![avz-cmf](https://avatars.githubusercontent.com/u/6917633?v=4)](https://github.com/avz-cmf "avz-cmf (34 commits)")[![Vict0rynox](https://avatars.githubusercontent.com/u/8139419?v=4)](https://github.com/Vict0rynox "Vict0rynox (34 commits)")[![rollun-com](https://avatars.githubusercontent.com/u/25004261?v=4)](https://github.com/rollun-com "rollun-com (17 commits)")[![ittech227](https://avatars.githubusercontent.com/u/19263000?v=4)](https://github.com/ittech227 "ittech227 (6 commits)")

---

Tags

phpmiddlewarerestdata store

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avz-cmf-zaboy-rest/health.svg)

```
[![Health](https://phpackages.com/badges/avz-cmf-zaboy-rest/health.svg)](https://phpackages.com/packages/avz-cmf-zaboy-rest)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10239.4k5](/packages/bitrix24-b24phpsdk)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M526](/packages/shopware-core)[eliashaeussler/cache-warmup

Composer package to warm up website caches, based on a given XML sitemap

75419.2k9](/packages/eliashaeussler-cache-warmup)[api-platform/metadata

API Resource-oriented metadata attributes and factories

244.5M182](/packages/api-platform-metadata)

PHPackages © 2026

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