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

Stof Doctrine Extensions Bundle Laravel Package

aciliainternet/stof-doctrine-extensions-bundle

Symfony bundle integrating the Stof Doctrine Extensions into your app, enabling features like sluggable, timestampable, translatable, and more. Provides configuration and wiring to use Doctrine extensions with minimal setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature Expansion for Legacy Systems: Justifies investing in modernizing older Symfony2 applications by integrating Doctrine extensions (e.g., timestamps, sluggable fields, soft deletes) without rewriting core logic. Aligns with roadmap items targeting maintainability or compliance (e.g., GDPR "soft deletes" for data retention).
  • Build vs. Buy: Avoids reinventing Doctrine behaviors (e.g., automatic timestamps, translatable fields) that are already battle-tested in the gedmo/doctrine-extensions library. Reduces technical debt by leveraging a community-backed solution.
  • Use Cases:
    • Data Governance: Automate audit trails (created/modified timestamps) or soft deletes for compliance.
    • SEO/Content Management: Generate slugs dynamically for URLs or manage translatable content fields.
    • Performance: Offload repetitive CRUD operations (e.g., versioning, tree structures) to Doctrine lifecycle events.

When to Consider This Package

  • Symfony2 Dependency: Only viable if your stack is Symfony2 (not Symfony 3+ or other frameworks). For newer Symfony versions, consider native Doctrine behaviors or gedmo/doctrine-extensions directly.
  • Legacy Modernization: Ideal for projects where Doctrine extensions are needed but migrating to Symfony 4+ is not imminent. Avoid if planning a full-stack rewrite.
  • Low-Maintenance Needs: Suitable for teams prioritizing quick wins over cutting-edge features. Not recommended if:
    • You need active maintenance (last release: 2015).
    • Your project requires Symfony 3+ compatibility (use gedmo/doctrine-extensions standalone).
    • You’re building a greenfield project (evaluate modern alternatives like API Platform or Symfony UX).
  • Specific Extension Needs: Only adopt if you require Gedmo’s extensions (e.g., Timestampable, Sluggable, SoftDeleteable). For basic Doctrine features, native solutions may suffice.

How to Pitch It (Stakeholders)

For Executives: "This package lets us add critical data management features—like automatic audit logs, soft deletes for compliance, and SEO-friendly URLs—with minimal dev effort. It’s a low-risk way to modernize our Symfony2 app without a full rewrite, saving costs while improving maintainability. Think of it as ‘Lego blocks’ for Doctrine: we plug in pre-built behaviors instead of building them from scratch."

For Engineering: *"The StofDoctrineExtensionsBundle wraps gedmo/doctrine-extensions for Symfony2, giving us:

  • Zero-boilerplate solutions for common patterns (timestamps, slugs, soft deletes).
  • Doctrine lifecycle hooks to automate repetitive tasks (e.g., prePersist for timestamps).
  • Backward compatibility with our existing Symfony2 codebase.

Trade-offs:

  • Stale but stable: Last updated in 2015, but the underlying gedmo/doctrine-extensions library is mature.
  • Symfony2-only: Not future-proof if we’re migrating to newer Symfony versions.

Proposal: Pilot this for one feature (e.g., soft deletes for GDPR) to validate ROI before wider adoption."*

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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware