Note that there are some explanatory texts on larger screens.

plurals
  1. POBasic authentication and session management library for PHP?
    primarykey
    data
    text
    <p>I know questions like this have been asked numerous times, but not quite this one. Forgive me if I overlooked an obvious duplicate.</p> <p>In the core of many of my web applications is a self-written user/session management class that in its origins dates back to 2002. I have decided that it is time for a fundamental re-write or, preferably, the introduction of a ready-made standard library.</p> <p>My requirements for that library would be:</p> <ul> <li>Object oriented, clean, excellent code</li> <li>Full session management: Wrapper to session_start() and consorts</li> <li>Would ideally provide various storage methods (PHP Standard /tmp, database based)</li> <li>Would ideally be able to connect to different types of user data storage, but mySQL will do fine</li> <li>Would ideally provide convenient functions for supporting OpenID, but that's a fancy thought, no requirement right now</li> <li>Methods: Verify session, get user data, get session data, log in user, log out user</li> <li>Settings: Session lifetime, password encryption</li> <li>Must be Open Source</li> </ul> <p>And if it's <em>very</em> generic, a user management API <em>or</em> a generic connector to the user management of the surrounding application would be nice:</p> <ul> <li>Create/Update/delete user records</li> <li>Fetch and modify data of currently logged in user</li> </ul> <p>this is so basic, and so security relevant, that I would expect that there is a standard solution to this, however I don't know of any, and all the big CMSs and blogs seem to be rolling their own. </p> <p>My two questions:</p> <ul> <li><p>Do you know such a component as a <strong>generic, stand-alone</strong> library? </p></li> <li><p>Could somebody with deep knowledge in <strong>Zend Framework</strong> tell me whether it is possible to use Zend_auth and/or Zend_session <em>standalone</em>, at the core of a big application that has otherwise nothing to do with ZF, without running in to trouble? </p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload