Skip to content

sirdiego/php-openid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP OpenID
----------

This is the PHP OpenID library by JanRain, Inc.  You can visit our
website for more information about this package and other OpenID
implementations and tools:

  http://www.openidenabled.com/

INSTALLATION
============

You will need PHP 4.3.0 or greater to use this library.  We have
tested the library on PHP 4.3.0, 4.4.1, and 5.1.1.  We expect it to
work on 4.2.0, but it is untested.

Follow these steps:

1. Install dependencies.

   - Enable either the GMP extension or Bcmath extension. (GMP is
     STRONGLY recommended because it's MUCH faster!)

   - Enable the CURL extension.  This is not required, but it is
     recommended.

   - If you plan to use SQLite, PostgreSQL, or MySQL to store OpenID
     data, you'll need PEAR DB.  You can install this by running this
     as root:

     # pear install DB

     You'll also need to install and enable the appropriate PHP
     database extension.  Alternatively, you can store OpenID data on
     the filesystem instead of using a relational database.  Nothing
     special is required for using the filesystem method.

2. Use the PEAR installer to install the package.  To use the PEAR
   installer, run this command from the package directory:

   # pear install package.xml

   If your PEAR version is sufficiently new, you can run this instead:

   # pear install package2.xml

   If the PEAR installer isn't available, you can copy the Auth/
   directory into your PHP include path.

TESTING YOUR SETUP
==================

We recommend that you use our example code to test your setup.  To run
the example consumer or server, follow the instructions in the
examples/README file.

USING THE API
=============

The best way to get started using the API is to take a look at the
example consumer and server in the examples/ directory.  See the
examples/README file for more details.

GETTING HELP
============

If you have any questions, recommendations, or patches, please tell
us!  Subscribe to our OpenID development discussion list at

  http://lists.openidenabled.com/mailman/listinfo/dev

DOCUMENTATION
=============

You can view the HTML library documentation in the doc/ directory.
You can also find it on the web at

  http://www.openidenabled.com/resources/docs/openid/php/

This package's documentation is in PhpDoc format.  To generate the
documentation, install phpdoc and run the admin/makedoc.sh script.
Phpdoc lives at:

  http://www.phpdoc.org/

About

OpenID library for PHP5

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.5%
  • Python 1.5%
  • Other 1.0%