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

Encryptor Laravel Package

nmure/encryptor

nmure/encryptor is a lightweight Laravel/PHP package for encrypting and decrypting sensitive data through a simple API, helping you secure strings and application values without adding complexity to your codebase.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for encryption primitives: This package is not a strategic buy. It is a small, framework-agnostic OpenSSL wrapper with minimal community validation, so it should not drive a buy decision. For Laravel products, the default decision should be to use Laravel’s built-in Crypt facade rather than adding this dependency.
  • Security/compliance roadmap: If encryption at rest, PII protection, or data-tokenization is on the roadmap, this package is insufficient as a complete solution. It may cover basic symmetric encrypt/decrypt, but it does not address key management, rotation, auditability, envelope encryption, or compliance controls.
  • Legacy maintenance vs. modernization: The last release was in 2017, with 7 stars and 0 dependents. A PM should treat adoption as a maintenance-risk decision, not a feature-velocity decision. It is only relevant if a legacy PHP system already depends on it and replacement cost is higher than migration cost.
  • POC and internal-tool scope: It could support a short-lived proof of concept where the only requirement is “encrypt this string with a shared key” and the data sensitivity is low. It should not be used as the basis for customer-facing security promises.
  • Dependency governance: This is a useful case for enforcing a dependency policy: security-sensitive packages need active maintenance, clear ownership, tests, release cadence, and community or vendor support. This package fails most of those gates.

When to Consider This Package

Consider it only when all of the following are true:

  • You are maintaining a legacy PHP application that already uses this package or an equivalent OpenSSL wrapper.
  • The encryption need is simple symmetric string encryption, with no requirement for key rotation, envelope encryption, hardware-backed keys, or centralized secrets management.
  • You have completed a security review of the implementation and accept the package’s age and lack of maintenance.
  • Migration to Laravel’s built-in encryption, defuse/php-encryption, libsodium, or a managed KMS/Vault solution is disproportionately expensive for the remaining life of the system.
  • The data sensitivity and blast radius are low enough that a stale dependency is an accepted, documented risk.

Look elsewhere when:

  • You are building or maintaining a Laravel application — use Laravel’s built-in encryption.
  • You need modern authenticated encryption, key rotation, envelope encryption, FIPS/audit requirements, or secrets management.
  • You need active maintenance, security patching, broad community validation, or vendor support.
  • You are making a new production architecture decision. With 0 dependents, 7 stars, and no release since 2017, this package has weak adoption signals and high supply-chain/maintenance risk.
  • You need to encrypt database columns at scale, protect customer PII, or support compliance obligations. Prefer a maintained library plus a managed key service.

How to Pitch It (Stakeholders)

Executive summary: nmure/encryptor is a small MIT-licensed PHP OpenSSL wrapper for basic data encryption. It is not a strategic platform component and should not be adopted for new production work without a compelling legacy reason. It has very low adoption, no dependents, and no release since 2017, which creates maintenance and security-review overhead disproportionate to its functionality.

Recommendation: Do not add this package to the roadmap as a new dependency. For Laravel products, use the framework’s built-in encryption. For broader security requirements, invest in a maintained encryption library plus proper key management rather than a single-purpose wrapper.

Engineering message: Treat this as a legacy compatibility item, not a foundation. If the business needs encryption, define the threat model, key lifecycle, rotation, and audit requirements first. The package can encrypt and decrypt with OpenSSL, but it does not solve the product-grade security problem around keys and operations.

Product message: This is a low-leverage dependency. The PM decision is to avoid creating a new security-maintenance burden for a capability Laravel already provides. If a team proposes it, ask: what does this give us that Laravel’s Crypt facade or a maintained library does not, and who owns patching and key rotation?

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