PackageTrack
Sign in Get early access

platformsh/config-reader

Small helper to access Platform.sh environment variables

3.0.1 5.6M downloads/mo #2432 most downloaded on Packagist platformsh/config-reader-php

What this package is like to depend on

Last release 1 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 2.8 years

Some releases are documented

notes for 7 of 15 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

15 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

15 releases · Nov 2015 to Feb 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 3.0.1 25 Feb 2025

    Nothing published for this version

  2. 3.0.0 22 Nov 2024
    Release notes
    • Make nullable explicit in anticipation of PHP 8.4 (thank you, @ptmkenny)
    • Updates minimum PHP version to 7.4
    Open source →
  3. 2.4.1 14 Sep 2023

    Nothing published for this version

  4. 2.4.0 10 Dec 2020

    Nothing published for this version

  5. 2.3.1 05 Nov 2019
    Release notes

    Added

    • CHANGELOG added.
    • onDedicated method that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecated onEnterprise method.

    Changed

    • Deprecates onEnterprise method - which is for now made to wrap around the added onDedicated method. onEnterprise will be removed in a future release, so update your projects to use onDedicated instead as soon as possible.
    Open source →
  6. 2.3.0 19 Sep 2019
    Release notes

    Added

    • getPrimaryRoute method for accessing routes marked "primary" in routes.yaml.
    • getUpstreamRoutes method returns an object map that includes only those routes that point to a valid upstream.
    Open source →
  7. 2.2.2 29 Apr 2019
    Release notes

    Changed

    • Updates routes method to use routesDef instead of variablesDef while checking if routes are defined in a Platform.sh environment.
    • Updates getRoute method documentation in README.

    Removed

    • Guard on the variables method.
    Open source →
  8. 2.2.1 25 Apr 2019
    Release notes

    Changed

    • Improved the error handling for missing property variables.
    Open source →
  9. 2.2.0 24 Apr 2019
    Release notes

    Changed

    • Route URL addition moved to constructor.
    • Switch to more permissive checking of variable availability.
    Open source →
  10. 2.1.0 22 Mar 2019
    Release notes

    Added

    • Adds hasRelationship method, which determines if a relationship is defined, and thus has credentials available.
    Open source →
  11. 2.0.1 05 Mar 2019

    Nothing published for this version

  12. 2.0.0 04 Mar 2019

    Nothing published for this version

  13. 1.0.1 18 Dec 2018

    Nothing published for this version

  14. v1.0.0 12 Jan 2018

    Nothing published for this version

  15. v0.0.1 20 Nov 2015

    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