Skip to content

Find the PHP example in 51degrees-php - #21

Merged
jwrosewell merged 1 commit into
rcfrom
chore/php-from-51degrees-php
Nov 3, 2026
Merged

jwrosewell merged 1 commit into
rcfrom
chore/php-from-51degrees-php

Conversation

@justadreamer

Copy link
Copy Markdown
Contributor

The PHP packages have been merged into the 51degrees-php monorepo. device-detection-php-onpremise is archived, and the Packagist repositories (pipeline-php-core, pipeline-php-engines, pipeline-php-cloudrequestengine, pipeline-php-did, device-detection-php and location-php) are now read-only mirrors of its folders. The Composer package names are unchanged.

The PHP example descriptor looks for the example under 51degrees-php/device-detection/cloud/examples in the siblings root, in place of device-detection-php/examples. That folder is what the device-detection-php mirror is split from, so the build and run commands are unchanged.

Wherever the suite runs, the siblings root must hold a checkout of 51degrees-php in place of device-detection-php.

Tested: the ExampleApps descriptor tests pass, and in a fresh 51degrees-php checkout composer install --working-dir=.. followed by php -S serves cloud/gettingStartedWeb.php from the new folder.

@jwrosewell
jwrosewell changed the base branch from main to rc November 3, 2026 19:29
@jwrosewell
jwrosewell merged commit 7ca1fe3 into rc Nov 3, 2026
4 checks passed
@jwrosewell jwrosewell mentioned this pull request Nov 3, 2026
jwrosewell added a commit that referenced this pull request Nov 4, 2026
* Find the Java example in 51degrees-java (#16)

* Find the dotnet example in 51degrees-dotnet (#17)

device-detection-dotnet-examples has moved into 51degrees-dotnet, under
examples/device-detection. Both dotnet demos, pmp-web and GettingStarted-Web,
are found there as siblings, and the docs name the monorepo.

* Find the Node example in 51degrees-node (#18)

* Find the Node example in 51degrees-node

* Copy the monorepo packages in when installing the Node example

* Check that only rc merges into the default branch (#19)

* Find the Python example in 51degrees-python (#20)

* Find the PHP example in 51degrees-php (#21)

---------

Co-authored-by: ben51degrees <ben@51degrees.com>
Co-authored-by: Jamesr51d <122470673+Jamesr51d@users.noreply.github.com>
Co-authored-by: Eugene Dorfman <justadreamer2007@gmail.com>
@jwrosewell jwrosewell mentioned this pull request Nov 10, 2026
jwrosewell added a commit that referenced this pull request Nov 10, 2026
* Find the Java example in 51degrees-java (#16)

* Find the dotnet example in 51degrees-dotnet (#17)

device-detection-dotnet-examples has moved into 51degrees-dotnet, under
examples/device-detection. Both dotnet demos, pmp-web and GettingStarted-Web,
are found there as siblings, and the docs name the monorepo.

* Find the Node example in 51degrees-node (#18)

* Find the Node example in 51degrees-node

* Copy the monorepo packages in when installing the Node example

* Check that only rc merges into the default branch (#19)

* Find the Python example in 51degrees-python (#20)

* Find the PHP example in 51degrees-php (#21)

* Java uses the default JSON endpoint and still accepts the old one (#23)

* Let Java use the default JSON endpoint and still accept its old one

* Say once which JSON path each language uses

---------

Co-authored-by: ben51degrees <ben@51degrees.com>
Co-authored-by: Jamesr51d <122470673+Jamesr51d@users.noreply.github.com>
Co-authored-by: Eugene Dorfman <justadreamer2007@gmail.com>
jwrosewell added a commit that referenced this pull request Nov 11, 2026
* Find the Java example in 51degrees-java (#16)

* Find the dotnet example in 51degrees-dotnet (#17)

device-detection-dotnet-examples has moved into 51degrees-dotnet, under
examples/device-detection. Both dotnet demos, pmp-web and GettingStarted-Web,
are found there as siblings, and the docs name the monorepo.

* Find the Node example in 51degrees-node (#18)

* Find the Node example in 51degrees-node

* Copy the monorepo packages in when installing the Node example

* Check that only rc merges into the default branch (#19)

* Find the Python example in 51degrees-python (#20)

* Find the PHP example in 51degrees-php (#21)

* Java uses the default JSON endpoint and still accepts the old one (#23)

* Let Java use the default JSON endpoint and still accept its old one

* Say once which JSON path each language uses

* Give the .NET example the _51DEGREES_ variable names alongside the old ones (#25)

* Test that the .NET example is given the underscore variable names

The .NET cloud web example reads the resource key from
_51DEGREES_RESOURCE_KEY and the cloud endpoint from
_51DEGREES_CLOUD_ENDPOINT, with no other name, once its rename is
released.

* Give the .NET example the _51DEGREES_ variable names

The .NET cloud web example now reads the resource key from
_51DEGREES_RESOURCE_KEY and the endpoint from _51DEGREES_CLOUD_ENDPOINT,
with no other name. Released versions of it read SUPER_RESOURCE_KEY and
FIFTYONE_CLOUD_ENDPOINT, so the harness sets both pairs until every
language has released with the new names.

---------

Co-authored-by: ben51degrees <ben@51degrees.com>
Co-authored-by: Jamesr51d <122470673+Jamesr51d@users.noreply.github.com>
Co-authored-by: Eugene Dorfman <justadreamer2007@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants