PHPackages                             girolando/componente-cruzamento - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. girolando/componente-cruzamento

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

girolando/componente-cruzamento
===============================

Componentes Girolando - Cruzamento

1.0.12(6y ago)03111MITHTMLPHP &gt;=7.1.0

Since Feb 18Pushed 6y ago3 watchersCompare

[ Source](https://github.com/girolando/componente-cruzamento)[ Packagist](https://packagist.org/packages/girolando/componente-cruzamento)[ RSS](/packages/girolando-componente-cruzamento/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (14)Used By (0)

Componente Cruzamento
---------------------

[](#componente-cruzamento)

### Utilização

[](#utilização)

```
  {!! ComponenteCruzamento::init() !!}

  Buscar Cruzamento

    const componente = Componente.CruzamentoFactory.get('codigoCruzamento');
    componente.addEventListener(Componente.EVENTS.ON_FINISH, function(cruzamento) {
      console.log('O cruzamento selecionado foi: ', cruzamento);
    });

```

### Método findBy

[](#método-findby)

```
  const componente = Componente.CruzamentoFactory.get('nome-do-seu-componente');
  const cruzamentoEspecifico = await componente.findBy({codigoComunicacao: 198564});
```

### Método getListItems

[](#método-getlistitems)

Esse método refaz a busca que o modal exibiu dentro do datatable. Exemplo:

- Usuário abriu o componente e pesquisou por cruzamentos oriundos da comunicação número 3214
- Clicou no botão filtrar e a datatable exibiu 17 resultados
- O usuário então selecionou um dos cruzamentos, fechando portanto o modal.
- O programador pretende exibir os mesmos 17 cruzamentos agora em algum lugar, mesmo após o modal ter sido fechado

```
  let page = 0;
  let perPage = 10;
  const itensDoModal = componente.getListItems(page, perPage); //obtem os primeiros 10 ítens
  datatable.data(itensDoModal);
  $(".datatable").on('page.dt', function() {
    datatable.data(await componente.getListItems(page * perPage, perPage)).draw();
  });
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~39 days

Recently: every ~57 days

Total

13

Last Release

2219d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12500774?v=4)[Girolando](/maintainers/girolando)[@girolando](https://github.com/girolando)

---

Top Contributors

[![andersonef](https://avatars.githubusercontent.com/u/3864077?v=4)](https://github.com/andersonef "andersonef (10 commits)")[![stevestavares](https://avatars.githubusercontent.com/u/6305314?v=4)](https://github.com/stevestavares "stevestavares (3 commits)")[![Gaabrielhs](https://avatars.githubusercontent.com/u/30265043?v=4)](https://github.com/Gaabrielhs "Gaabrielhs (2 commits)")[![lfrancys](https://avatars.githubusercontent.com/u/12513651?v=4)](https://github.com/lfrancys "lfrancys (1 commits)")

---

Tags

laravelgirolandocomponentecruzamento

### Embed Badge

![Health badge](/badges/girolando-componente-cruzamento/health.svg)

```
[![Health](https://phpackages.com/badges/girolando-componente-cruzamento/health.svg)](https://phpackages.com/packages/girolando-componente-cruzamento)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/surveyor

Static analysis tool for Laravel applications.

8690.3k12](/packages/laravel-surveyor)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)

PHPackages © 2026

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