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

Doctrine Encrypt Laravel Package

51systems/doctrine-encrypt

Transparent field-level encryption for Doctrine entities in Laravel. Custom DBAL types and event subscribers encrypt sensitive columns at rest, keeping normal ORM reads and writes seamless while protecting stored data.

Deep Wiki
Context7

Product Decisions This Supports

  • Sensitive-field encryption strategy: Helps decide which Doctrine entity fields require application-level encryption versus database encryption, KMS, or tokenization—especially PII, credentials, health/financial data, and internal identifiers.
  • Build vs. buy vs. fork: The package is better treated as a reference implementation than a buy decision. For a new Laravel product, prefer Laravel-native encrypted casts or a maintained encryption library; for a legacy Doctrine app, use it to assess whether to keep, fork, or replace existing field encryption.
  • Stack-fit decision: Clarifies whether Doctrine is acceptable in the Laravel product. If the app is Eloquent-based, this package is largely irrelevant; if it uses Laravel Doctrine or a legacy Doctrine service, it may inform migration and maintenance planning.
  • Roadmap and compliance work: Supports planning for data classification, key management, key rotation, audit logging, encrypted-field migrations, and deprecation of unsupported dependencies.
  • Risk and ownership decisions: Archived status, last release in 2017, low adoption signals, and no apparent maintenance mean adoption creates an internal ownership requirement. MIT licensing allows a fork, but the product team must budget security review and ongoing maintenance.
  • Use-case validation: Relevant for transparent field encryption in Doctrine entities. Not sufficient on its own for searchable encryption, complex access control, or modern key-management requirements unless those concerns are designed separately.

When to Consider This Package

  • Consider only when: There is an existing Doctrine entity model, application-level field encryption is explicitly required, the scope is limited, a security review is feasible, and the team can vendor/fork and maintain the code.
  • Consider as a reference: When evaluating schema design, entity integration patterns, ciphertext storage implications, and migration constraints for encrypted fields.
  • Look elsewhere when: Building a new Laravel/Eloquent application, requiring an actively maintained dependency, needing vendor support or an SLA, operating under strict compliance without internal security capacity, or needing modern key rotation and key-management integration.
  • Look elsewhere for production defaults: Prefer Laravel’s encrypted casts, a maintained PHP encryption library, cloud KMS-backed envelope encryption, or database-level encryption depending on the threat model.
  • Avoid as-is when: The product needs searchable/filterable encrypted fields, high-scale querying, multi-tenant key isolation, auditability, or compatibility guarantees with modern PHP/Laravel versions. The package’s age and archived status make it unsuitable as an unquestioned production dependency.

How to Pitch It (Stakeholders)

  • To executives: This is not a strategic dependency. It demonstrates field-level encryption for Doctrine entities, but it is archived, low-adoption, and last released in 2017. Adopting it would create security and maintenance risk. For new Laravel products, fund a native or maintained encryption approach; for legacy Doctrine systems, treat this as a reference or a fork with a named owner and security review.
  • To engineering: Use it to understand Doctrine entity encryption mechanics and migration constraints, not as a drop-in production dependency without validation. Confirm PHP/Laravel compatibility, ciphertext length and schema impact, key management and rotation, query/index limitations, and test coverage. MIT licensing permits a fork, but the team must own patching, security review, and lifecycle management.
  • Product recommendation: Do not adopt for a new Laravel build. Evaluate only for a narrowly scoped legacy Doctrine use case, and only with explicit security ownership and a replacement or fork plan.
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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin