PackageTrack
Sign in Get early access

stellarwp/container-contract

StellarWP Container Interface

1.1.2 1.6M downloads/mo #3127 most downloaded on Packagist stellarwp/container-contract

What this package is like to depend on

Last release 2 months ago

04 Jun 2026

Release timing varies

gaps range from 2 months to 2.7 years

Most releases are documented

notes for 7 of 8 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

8 releases · first in 2022

1 release in the last 12 months

see the full history below

Release timeline

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

Releases

latest 8
  1. 1.1.2 04 Jun 2026
    Release notes

    What's Changed

    • Improve PHPStan inference for container get() by @defunctl in #4

    Full Changelog: 1.1.1...1.1.2

    Open source →
  2. 1.1.1 05 Sep 2023
    Release notes

    Changes

    • Tweak - Adjusted docblock for ContainerInterface ::get() so it does a better job with autocompletion in PHPStorm.
    Open source →
  3. 1.1.0 13 Feb 2023
    Release notes

    Fixed

    • The return type for the bind() method for both di52/php-di is void, not mixed, so ContainerInterface::bind() now properly matches.

    Added

    • Phpstan/Psalm Generics for for get() methods, most IDE's will auto-complete class instances based on this if you pass in a class-string, e.g Some\Namespace\Some\ClassName::class and if your project uses static analysis, it will catch errors.
    • Union class-string params for relevant methods.
    • The ContainerInterface now implements declare( strict_types=1 ); as the composer.json says this project is >=7.0.0.
    • @method DocBlocks for missing methods for the di52 example code (this will help some with IDE autocompletion).
    • Git ignore PhpStorm's .idea/ folder.
    Open source →
  4. 1.0.4 20 Dec 2022
    Release notes
    • Set the minimum PHP version to 7.0.0 in composer.json.
    Open source →
  5. 1.0.3 23 Sep 2022
    Release notes

    Changes

    • Allow $implementation in bind() and singleton() to be null.
    Open source →
  6. 1.0.2 23 Sep 2022
    Release notes

    Changes

    • Initial release
    • PSR-11 compatible type hinting
    Open source →
  7. 1.0.1 23 Sep 2022
    Release notes

    Psr/Container compatible type hinting

    Open source →
  8. 1.0.0 23 Sep 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