Search by

denosyscore / support

deondazy

Reusable support types for DenoSysCore packages

Package info

github.com/denosyscore/support

pkg:composer/denosyscore/support

Statistics

Installs: 441

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 1

v0.1.0 2026-11-03 16:41 UTC

This package is auto-updated.

Last update: 2026-11-03 16:50:29 UTC


README

Reusable support types for DenoSysCore packages.

Collection

Denosys\Support\Collection is the collection type exposed by package APIs such as hydrated database queries and eager-loaded relations. It extends the maintained Illuminate\Support\Collection; the underlying collection operations are not reimplemented here. The DenoSys type keeps package method signatures stable while allowing a future implementation change if needed.

use Denosys\Support\Collection;

$items = new Collection([['id' => 1], ['id' => 2]]);
$ids = $items->pluck('id')->all(); // [1, 2]

Requires PHP 8.2 or later. Install with composer require denosyscore/support.

Quality checks

Run composer test and composer analyse after composer install.

Releases

The initial collection contract is proposed for v0.1.0. A maintainer should verify CI on main, create the annotated semantic version tag from that exact commit, and push the tag. The Release workflow publishes GitHub release notes for tags matching v*.*.*. Confirm the package index exposes the new version before updating consumers from development branches to ^0.1.