PackageTrack
Sign in Get early access

ghostwriter/collection

Provides a Collection implementation for PHP

2.1.1 4.5M downloads/mo #1606 most downloaded on Packagist ghostwriter/collection

What this package is like to depend on

Last release 2 months ago

19 Jun 2026

Ships unpredictably

gaps range from 3 weeks to 2.1 years

Some releases are documented

notes for 10 of 19 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

19 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

19 releases · Jun 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 19
  1. 2.1.1 19 Jun 2026
    Release notes

    Full Changelog*: 2.1.0...2.1.1

    Open source →
  2. 2.1.0 17 Apr 2026
    Release notes

    Full Changelog: 2.0.0...2.1.0

    Open source →
  3. 2.0.0 22 Feb 2024
    Release notes

    Drop support for PHP <= 8.2

    Added

    • Class Ghostwriter\Collection\Interface\CollectionInterface has been added
    • Class Ghostwriter\Collection\Interface\ExceptionInterface has been added
    • Method Ghostwriter\Collection\Collection::from() was added
    • Method Ghostwriter\Collection\Collection::new() was added

    Removed

    • Class Ghostwriter\Collection\ExceptionInterface has been deleted
    • Method Ghostwriter\Collection\Collection::fromGenerator() was removed
    • Method Ghostwriter\Collection\Collection::fromIterable() was removed

    Changed

    • Exception class Ghostwriter\Collection\Exception\FirstValueNotFoundException implements Ghostwriter\Collection\Interface\ExceptionInterface
    • Exception class Ghostwriter\Collection\Exception\LengthMustBePositiveIntegerException implements Ghostwriter\Collection\Interface\ExceptionInterface
    • Exception class Ghostwriter\Collection\Exception\OffsetMustBePositiveIntegerException implements Ghostwriter\Collection\Interface\ExceptionInterface

    Full Changelog: 1.4.0...2.0.0

    Open source →
  4. 1.4.0 23 Aug 2023
    Release notes

    Add Collection::each
    Remove ghostwriter/option

    Full Changelog: 1.3.2...1.4.0

    Open source →
  5. 1.3.2 11 Jul 2023
    Release notes

    Full Changelog: 1.3.1...1.3.2

    Open source →
  6. 1.3.1 01 May 2023
    Release notes

    What's Changed

    Full Changelog: 1.3.0...1.3.1

    Open source →
  7. 1.3.0 22 Mar 2023
    Release notes

    What's Changed

    Full Changelog: 1.2.0...1.3.0

    Open source →
  8. 1.2.0 17 Jan 2023
    Release notes

    What's Changed

    Full Changelog: 1.1.0...1.2.0

    Open source →
  9. 1.1.0 25 Dec 2022
    Release notes

    What's Changed

    Full Changelog: 1.0.0...1.1.0

    Open source →
  10. 1.0.0 02 Dec 2022
    Release notes

    What's Changed

    Full Changelog: 0.5.1...1.0.0

    Open source →
  11. 0.5.1 30 Sep 2022

    Nothing published for this version

  12. 0.5.0 06 Aug 2022

    Nothing published for this version

  13. 0.4.1 13 Jul 2022

    Nothing published for this version

  14. 0.4.0 13 Jul 2022

    Nothing published for this version

  15. 0.3.0 13 Jul 2022

    Nothing published for this version

  16. 0.2.0 23 Jun 2022

    Nothing published for this version

  17. 0.1.2 23 Jun 2022

    Nothing published for this version

  18. 0.1.1 23 Jun 2022

    Nothing published for this version

  19. 0.1.0 22 Jun 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive