NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4974 most downloaded on Packagist
Provides a Collection implementation for PHP
Latest stable
2.1.1
Last release 5 months ago
19 Jun 2026
Ships unpredictably
gaps range from 3 weeks to 2.1 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
19 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
*Full Changelog: https://github.com/ghostwriter/collection/compare/2.1.0...2.1.1
Full Changelog*: https://github.com/ghostwriter/collection/compare/2.1.0...2.1.1
Full Changelog: https://github.com/ghostwriter/collection/compare/2.0.0...2.1.0
Full Changelog: https://github.com/ghostwriter/collection/compare/2.0.0...2.1.0
Class Ghostwriter\Collection\Interface\CollectionInterface has been added
Drop support for PHP <= 8.2
Ghostwriter\Collection\Interface\CollectionInterface has been addedGhostwriter\Collection\Interface\ExceptionInterface has been addedGhostwriter\Collection\Collection::from() was addedGhostwriter\Collection\Collection::new() was addedGhostwriter\Collection\ExceptionInterface has been deletedGhostwriter\Collection\Collection::fromGenerator() was removedGhostwriter\Collection\Collection::fromIterable() was removedGhostwriter\Collection\Exception\FirstValueNotFoundException implements Ghostwriter\Collection\Interface\ExceptionInterfaceGhostwriter\Collection\Exception\LengthMustBePositiveIntegerException implements Ghostwriter\Collection\Interface\ExceptionInterfaceGhostwriter\Collection\Exception\OffsetMustBePositiveIntegerException implements Ghostwriter\Collection\Interface\ExceptionInterfaceFull Changelog: https://github.com/ghostwriter/collection/compare/1.4.0...2.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add Collection::each Remove ghostwriter/option
Add Collection::each
Remove ghostwriter/option
Full Changelog: https://github.com/ghostwriter/collection/compare/1.3.2...1.4.0
Full Changelog: https://github.com/ghostwriter/collection/compare/1.3.1...1.3.2
Full Changelog: https://github.com/ghostwriter/collection/compare/1.3.1...1.3.2
Bump ghostwriter/option to 1.5 by @ghostwriter in https://github.com/ghostwriter/collection/pull/15
ghostwriter/option to 1.5 by @ghostwriter in https://github.com/ghostwriter/collection/pull/15Full Changelog: https://github.com/ghostwriter/collection/compare/1.3.0...1.3.1
Lock file maintenance by @ghostwriter in https://github.com/ghostwriter/collection/pull/12
Collection::contains by @ghostwriter in https://github.com/ghostwriter/collection/pull/13Full Changelog: https://github.com/ghostwriter/collection/compare/1.2.0...1.3.0
Lock file maintenance by @ghostwriter in https://github.com/ghostwriter/collection/pull/10
Full Changelog: https://github.com/ghostwriter/collection/compare/1.1.0...1.2.0
Drop interface by @ghostwriter in https://github.com/ghostwriter/collection/pull/8
Full Changelog: https://github.com/ghostwriter/collection/compare/1.0.0...1.1.0
Update composer dependencies by @ghostwriter in https://github.com/ghostwriter/collection/pull/6
Full Changelog: https://github.com/ghostwriter/collection/compare/0.5.1...1.0.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.5.0...0.5.1
Full Changelog: https://github.com/ghostwriter/collection/compare/0.5.0...0.5.1
feature/add option package by @ghostwriter in https://github.com/ghostwriter/collection/pull/3
Full Changelog: https://github.com/ghostwriter/collection/compare/0.4.1...0.5.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.4.0...0.4.1
Full Changelog: https://github.com/ghostwriter/collection/compare/0.4.0...0.4.1
Full Changelog: https://github.com/ghostwriter/collection/compare/0.3.0...0.4.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.3.0...0.4.0
Add a thank you note by @ghostwriter in https://github.com/ghostwriter/collection/pull/1
Full Changelog: https://github.com/ghostwriter/collection/compare/0.2.0...0.3.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.2...0.2.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.2...0.2.0
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.1...0.1.2
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.1...0.1.2
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.0...0.1.1
Full Changelog: https://github.com/ghostwriter/collection/compare/0.1.0...0.1.1
Full Changelog: https://github.com/ghostwriter/collection/commits/0.1.0
Full Changelog: https://github.com/ghostwriter/collection/commits/0.1.0
One column per quarter.