Scaling PHP in the Cloud

HasGeek’s seventh event, focusing on the challenges of scaling from single to multi-server deployments for PHP-based websites.

LastUser for user management

Submitted by Kiran Jonnalagadda (@jace) on Thursday, 2 June 2011

Section: Development Technical level: Advanced Session type: Workshop


Show participants an alternative approach to managing user accounts.


Managing user accounts is a pain. Standard methods like validating email addresses and resetting forgotten passwords are required for every app. Most large frameworks come with user management code, but if you run multiple websites and want to share users between them, you are on your own.

LastUser is a HasGeek project for federated user management. It runs as a standalone app and supports authentication via OAuth2 using a protocol inspired by Twitter and Facebook. It can be plugged into your apps with minimal effort, using either HasGeek's deployment at or with your own installation. LastUser is open source and available under the BSD license.

LastUser supports Twitter and Google authentication and will seamlessly integrate with your app. We've built a client library for Python and Flask. There isn't one for PHP yet, but we hope to have one in time for the event.

Speaker bio

Kiran founded HasGeek and built LastUser to meet HasGeek's requirements




  • Kiran Jonnalagadda (@jace) Proposer Reviewer 8 years ago

    Support for comments was just added. It’s really primitive right now — the display is primitive and you can’t even delete comments — but it’s a start and we’ll keep improving.

    • Kiran Jonnalagadda (@jace) Proposer Reviewer 8 years ago

      Now now Funnel supports threaded commenting, Reddit-style.

      • rithish (@rithish) 8 years ago

        I wouldn’t suggest comment-editing functionalities. For example, take the following case -

        1. I post a comment “I am the devil”.
        2. Thousands reply to the comment saying “I agree”.
        3. I edit my original comment to “I am God”.
        4. I brag.. :)
        • Kiran Jonnalagadda (@jace) Proposer Reviewer 8 years ago

          Valid point, Rithish, but (a) it clearly says you’ve edited the comment, and (b) I’d say the use case scenario suggests a lot more legit uses than trolling. I’d rather leave the functionality available for a while and see how it goes.

Login with Twitter or Google to leave a comment