PHPackages                             imoisey/cross - 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. [Search &amp; Filtering](/categories/search)
4. /
5. imoisey/cross

ActiveLibrary[Search &amp; Filtering](/categories/search)

imoisey/cross
=============

Библиотека для поиска временных пересечений.

0.1.2(6y ago)2113MITHTMLPHP &gt;=5.4CI failing

Since Nov 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/imoisey/cross)[ Packagist](https://packagist.org/packages/imoisey/cross)[ RSS](/packages/imoisey-cross/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Imoisey/Cross
=============

[](#imoiseycross)

Библиотека для поиска временных пересечений.

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

[](#installation)

Установка через менеджер пакетов composer.

```
composer require imoisey/cross
```

Usage
-----

[](#usage)

Создать класс провайдера данных, который будет реализовывать интерфейс ProviderInterface.

```
use Imoisey\Cross\Provider\ProviderInterface;

class PeopleProvider implements ProviderInterface
{

    public function getCollections()
    {

    }

    public function getName()
    {

    }
}
```

Создать класс коллекции, который будет расширять абстрактный класс Collection.

```
use Imoisey\Cross\Collection\Collection;

class PeopleCollection extends Collection
{

}
```

Создать класс элемента, который будет являться частью коллекции и реализовать интерфейс ItemInteface.

```
use Imoisey\Cross\ItemInterface;

class EventItem extends ItemInterface
{
    public function getPeriod()
    {

    }
}
```

Выполнить настройку менеджера пересечений.

```
use Imoisey\Cross\Manager;

$provider = new PeopleProvider();
$manager = new Manager($provider);

if ($manager->verify()) {
    $manager->getCollision();
}
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

2379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/608c56924030c77e3f77ca620a976594c47daaed8817bf14ed9a5d4c95f0b4b4?d=identicon)[imoisey](/maintainers/imoisey)

---

Top Contributors

[![imoisey](https://avatars.githubusercontent.com/u/2510489?v=4)](https://github.com/imoisey "imoisey (17 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/imoisey-cross/health.svg)

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

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

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