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 2025Releases
latest 15-
3.0.125 Feb 2025Nothing published for this version
-
3.0.022 Nov 2024Release notes
Open source →- Make nullable explicit in anticipation of PHP 8.4 (thank you, @ptmkenny)
- Updates minimum PHP version to 7.4
-
2.4.114 Sep 2023Nothing published for this version
-
2.4.010 Dec 2020Nothing published for this version
-
2.3.105 Nov 2019Release notes
Open source →Added
CHANGELOGadded.onDedicatedmethod that determines if the current environment is a Platform.sh Dedicated environment. Replaces deprecatedonEnterprisemethod.
Changed
- Deprecates
onEnterprisemethod - which is for now made to wrap around the addedonDedicatedmethod.onEnterprisewill be removed in a future release, so update your projects to useonDedicatedinstead as soon as possible.
-
2.3.019 Sep 2019Release notes
Open source →Added
getPrimaryRoutemethod for accessing routes marked "primary" inroutes.yaml.getUpstreamRoutesmethod returns an object map that includes only those routes that point to a valid upstream.
-
2.2.229 Apr 2019Release notes
Open source →Changed
- Updates
routesmethod to useroutesDefinstead ofvariablesDefwhile checking if routes are defined in a Platform.sh environment. - Updates
getRoutemethod documentation inREADME.
Removed
- Guard on the
variablesmethod.
- Updates
-
2.2.125 Apr 2019 -
2.2.024 Apr 2019Release notes
Open source →Changed
- Route URL addition moved to constructor.
- Switch to more permissive checking of variable availability.
-
2.1.022 Mar 2019Release notes
Open source →Added
- Adds
hasRelationshipmethod, which determines if a relationship is defined, and thus has credentials available.
- Adds
-
2.0.105 Mar 2019Nothing published for this version
-
2.0.004 Mar 2019Nothing published for this version
-
1.0.118 Dec 2018Nothing published for this version
-
v1.0.012 Jan 2018Nothing published for this version
-
v0.0.120 Nov 2015Nothing published for this version