PHP sample SAML Okta too old

Hi all,
I am trying to integrate Okta SSO into my PHP app via SAML.
However, the sample is too old and it is not working now. It is not compatible with the current version of simpleSAMLphp.
I cannot set up it works.
Could you please give me a new example that can work for SAML on PHP?

Hello! I can’t comment on whether an update is currently in the works as this isn’t an official Okta sample, although it was created by an Okta employee. It looks like someone created a Github issue about this, I would keep an eye on it here: