Weave 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

User Bundle Laravel Package

bengor/user-bundle

View on GitHub
Deep Wiki
Context7

Create custom subscriber

To create a event subscriber you just need to create a class implementing UserEventSubscriber interface.

Once you have created the class register it as a Symfony service and tag it replacing your_user_type by your user type in tag name and subscribes_to with a fully qualified name of the event class you are expecting:

# app/config/services.yml

app.user.event.my_event_subscriber:
    class: AppBundle\Event\MyEventSubscriber
    arguments: ~ 
    tags:
        - { name: bengor_user_your_user_type_event_subscriber, subscribes_to: AppBundle\Event\MyEvent }
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.
adachsoft/command-executor-lib
tagixo/document-builder
tagixo/page-builder
tagixo/mail-builder
tagixo/form-builder
primix/primix
tagixo/core
alesima/laravel-azure-service-bus
tomshaw/shopcart
likyly/laravel
darthsoup/shoppingcart
tdt/core
labyrinthe/connect-php
encore2/laravel-admin2
cboxdk/laravel-console-kit
shapecode/doctrine-dbal-datetimeutc
gilads-otiannoh254/inertia-protocol
dakiquang/laravel-oauth-refresh-lock
woda/laravel-worktrees
dalefranks/ramasite