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

Doctrine Watcher Bundle Laravel Package

bentools/doctrine-watcher-bundle

View on GitHub
Deep Wiki
Context7

Doctrine Watcher Bundle

A Symfony bundle for bentools/doctrine-watcher.

Installation

composer require bentools/doctrine-watcher-bundle:1.0.x-dev

Configuration

There are 2 ways to configure the bundle:

Via bundle configuration

# app/config/config.yml or config/packages/doctrine_watcher.yaml with Symfony Flex
doctrine_watcher:
    watch:
        App\Entity\Book:
            properties:
                title:
                    callback: 'App\Services\BookWatcher::onTitleChange'
                reviews:
                    callback: 'App\Services\BookWatcher::onReviewsChange'
                    iterable: true

Via service tags

# app/config/services.yml or config/services.yaml with Symfony Flex
services:
    App\Services\BookWatcher:
        tags:
            - { name: bentools.doctrine_watcher, entity_class: App\Entity\Book, property: 'title', method: 'onTitleChange' }
            - { name: bentools.doctrine_watcher, entity_class: App\Entity\Book, property: 'reviews', method: 'onReviewsChange', iterable: true }

License

MIT.

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui