21

Which is the best PHP library for openID integration?

6 Answers 6

15

For PHP, I find Zend Framework OpenID Component to be really good.

You can also see all available OpenID libraries at this link

1
  • I don't believe that Zend can do openid against google...am i wrong? Jan 29, 2011 at 0:36
4

The PHP OpenID library is good.

1
  • UPDATE: project is unmaintained since 2020. Their web domain with documentation is expired. They do not answer anymore to any issue. The project is dead, and doesn't seem to run correctly over PHP8 (the code is so old that still uses var for class properties. — It's a pity because I think it was the only certified OpenID library. Jun 8, 2023 at 12:29
4

I'd recommend JanRain's library, they say its used by 80% of all OpenID enabled users, (possibly, it was one of the earliest ones), but you can also use them for OpenID authentication as a service provider using their RPX service, or just get them to do all the work for you via their myOpenID domain tool.

1
  • UPDATE: project is unmaintained since 2020. Their web domain with documentation is expired. They do not answer anymore to any issue. The project is dead, and doesn't seem to run correctly over PHP8 (the code is so old that still uses var for class properties. — It's a pity because I think it was the only certified OpenID library. Jun 8, 2023 at 12:29
2

Take a look at OpenID's list of libraries.

1

There are many libraries available in the market, just just have to test the best according to your need but if you are thinking for providing Identity as OPENID provider then their are only three libraries there only are PHPOPENID Library, Zend and NetMesh InfoGrid LID. Mostly people choose Zend as they Provide the other types of Framework and make easy to impliment.

0

PEAR also has a nice OpenId package.

Not the answer you're looking for? Browse other questions tagged or ask your own question.