Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Persona Bundle Laravel Package

ahs/persona-bundle

View on GitHub
Deep Wiki
Context7

Introduction

This Bundle enables integration of the Persona authentication system. It provides a Symfony2 authentication provider so that users can login to a Symfony2 application via Persona.

Installation

  1. Install bundle:

The recommended way to install Persona Bundle is through composer. Just create a composer.json file and run the php composer.phar install command to install it:

      {
          "require": {
              "ahs/persona-bundle": "*"
          }
      }
  1. Add this bundle to your application's kernel:

     // app/ApplicationKernel.php
     public function registerBundles()
     {
         return array(
             // ...
             new AHS\PersonaBundle\AHSPersonaBundle(),
             // ...
         );
     }  
    
  2. Configure your new firewal:

     # app/config/security.yml
     firewalls:
         persona_secured:
             pattern:    ^/
             persona:      true
             logout: true
             anonymous: true
    
  3. Change default configuration (optional):

     # app/config/config.yml
     ahs_persona:
         verifier_url: "your verifier url"
         audience_url: "your audience host"
    

By default bundle works with in_memory provider.

TODO

  • Provide sample controller
  • Provide twig helper for login/logout buttons
  • Create provider for FOSUserBundle
  • Promote Mozilla Persona!
  • Improve readme
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky