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 Specification Laravel Package

happyr/doctrine-specification

Reusable Doctrine query Specifications for PHP. Replace messy repositories and huge QueryBuilder methods with small, composable, testable spec classes. Reduce duplication, avoid methods with many arguments, and extend queries cleanly as your app grows.

View on GitHub
Deep Wiki
Context7

Integrating with frameworks - Zend Framework 1

Replacing the default repository type

Doctrine integration with Zend Framework 1 is done manually. However, replacing the default repository type is still simple. In the bootstrap (or wherever Doctrine is configured in the system in question), use Doctrine configurations setDefaultRepositoryClassName method and provide an implementation of Doctrine\Common\Persistence\ObjectRepository. A basic implementation is provided with Happyr\DoctrineSpecification\Repository\EntitySpecificationRepository.

// During Doctrine configuration
$config->setDefaultRepositoryClassName(\Happyr\DoctrineSpecification\Repository\EntitySpecificationRepository::class);
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