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

byteincoffee/doctrine-extensions

Laravel package integrating Doctrine Extensions with Eloquent models, adding behaviors like timestampable, sluggable, soft delete, and more. Provides easy configuration, listeners/subscribers, and seamless use of Doctrine-style extensions in Laravel apps.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Database-Driven Feature Expansion: Accelerates development of complex queries, filtering, and data transformations (e.g., soft deletes, slugs, tree structures) without custom ORM logic.
  • Cost-Effective Roadmap: Avoids reinventing Doctrine2 extensions (e.g., SoftDeleteable, Tree, Timestampable) by leveraging battle-tested, MIT-licensed code.
  • Build vs. Buy: Justifies "buy" for teams already using Doctrine2, reducing dev time for common patterns (e.g., hierarchical data, searchable fields).
  • Use Cases:
    • Content Management: Tree structures for nested categories.
    • E-Commerce: Soft deletes for inventory without data loss.
    • Analytics: Timestampable entities for audit trails.

When to Consider This Package

  • Adopt if:
    • Your stack uses Doctrine2 (Symfony, Laravel with Doctrine, or custom PHP).
    • You need reusable extensions (e.g., Tree, Slug, Sortable) without maintaining them.
    • Your team prioritizes developer velocity over custom solutions for standard patterns.
  • Look elsewhere if:
    • You’re using Eloquent (Laravel’s native ORM)—this package is Doctrine2-specific.
    • Your use case requires highly customized behavior beyond the package’s scope.
    • You’re constrained by low-starred packages (risk assessment; consider alternatives like gedmo/doctrine-extensions if critical).

How to Pitch It (Stakeholders)

To Executives: "This package cuts 3–6 months of dev time for common database patterns (e.g., hierarchical data, soft deletes) by leveraging MIT-licensed, Doctrine2-optimized extensions. For [X use case], it reduces technical debt while keeping costs low—ideal for scaling [feature Y] without hiring specialized ORM expertise."

To Engineering: "Doctrine Extensions gives us pre-built tools for [list 2–3 relevant features, e.g., tree structures, slug generation]. It’s a drop-in for Doctrine2, so no major refactoring. Tradeoff: MIT license (safe), but low stars—we’d pair with [alternative] for redundancy if critical. Let’s prototype [specific feature] to validate."

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
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
spatie/mailcoach-vapor