PackageTrack
Sign in Get early access

spatie/better-types

Improved abstraction for dealing with union and named types.

1.1.0 4.1M downloads/mo #1706 most downloaded on Packagist spatie/better-types

What this package is like to depend on

Last release 6 months ago

21 Feb 2026

Ships fairly regularly

a new release about every 6 months

Most releases are documented

notes for 7 of 9 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

9 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

9 releases · Sep 2021 to Feb 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 1.1.0 21 Feb 2026
    Release notes

    Add Laravel 13 support

    Open source →
  2. 1.0.1 08 Mar 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.0.0...1.0.1

    Open source →
    Release notes

    What's Changed

    • Small improvements by @maartenpaauw in https://github.com/spatie/better-types/pull/7
    • Add support for union types by @maartenpaauw in https://github.com/spatie/better-types/pull/8

    New Contributors

    • @maartenpaauw made their first contribution in https://github.com/spatie/better-types/pull/7

    Full Changelog: https://github.com/spatie/better-types/compare/1.0.0...1.0.1

    Open source →
  3. 1.0.0 20 Feb 2025
    Release notes

    Full Changelog: 0.2.0...1.0.0

    Open source →
    Release notes
    • initial release
    Open source →
  4. 0.2.0 08 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.1.3...0.2.0

    Open source →
    Release notes

    What's Changed

    • Allow Laravel 11 by @inmanturbo in https://github.com/spatie/better-types/pull/6

    New Contributors

    • @inmanturbo made their first contribution in https://github.com/spatie/better-types/pull/6

    Full Changelog: https://github.com/spatie/better-types/compare/0.1.3...0.2.0

    Open source →
  5. 0.1.3 25 Jan 2023
    Release notes

    Allow L10 collections

    Open source →
  6. 0.1.2 18 Jul 2022
    Release notes
    • Add accepts types method #4
    Open source →
    Release notes
    • Add accepts types method #4
    Open source →
  7. 0.1.1 14 Jan 2022
    Release notes
    • allow Laravel 9
    Open source →
    Release notes
    • allow Laravel 9
    Open source →
  8. 0.1.0 06 Oct 2021

    Nothing published for this version

  9. 0.0.1 03 Sep 2021

    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