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

Laravel Boolean Softdeletes Laravel Package

tenantcloud/laravel-boolean-softdeletes

Laravel soft deletes backed by a boolean column instead of a nullable timestamp. A drop-in trait keeps the familiar SoftDeletes API while making delete checks and indexes faster and simpler, ideal for high-volume tables where a deleted flag beats deleted_at comparisons.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Initial assessment based on v7.0 release notes; no prior assessment exists. The package provides boolean-backed soft-delete behavior for Laravel/Eloquent applications. Architecture fit: suitable for Laravel apps that explicitly want boolean soft-delete state rather than timestamp-based deleted_at, or that need the package’s migration/query behavior. It should fit through Eloquent traits/scopes and package migrations, but it is a focused utility rather than a broad platform dependency. Integration feasibility: feasible for Laravel 12 estates via Composer, migration publishing, and model updates. v7.0 adds Laravel 12 support and migration performance work, but the major version signals upgrade validation is required. Technical risk: release notes do not enumerate breaking changes; Laravel 12 support may drop older Laravel/PHP versions; migration optimization may change schema, index, or lock behavior; boolean soft deletes can interact with unique constraints, restore/force-delete flows, auditing, and reporting. Key questions: What are the exact supported Laravel and PHP versions? What breaks from v6 to v7? Is a data migration required for existing soft-deleted records? Does the migration optimization alter indexes, rollback behavior, or large-table locking? Is multi-tenancy/multi-database supported? Are there benchmarks for the migration performance claim?

Integration Approach

Stack fit: strongest for Laravel 12 applications using Eloquent and Composer. Weaker fit where teams depend on timestamp soft deletes, cross-framework PHP, or non-Laravel data access patterns. Migration path: inventory current v6 usage, read the v7 upgrade guide/changelog, create an upgrade branch, run composer update, compare published migrations, validate any data conversion, update affected models/traits/scopes, and rehearse migrations against a production-like dataset. Compatibility: verify PHP version, Laravel 12 support, and whether Laravel 10/11 remain supported. Check transitive dependency conflicts and whether existing database schema assumptions still hold. Sequencing: dependency audit → upgrade-guide review → branch upgrade → CI/unit/integration tests → staging migration rehearsal → backup and rollback plan → production rollout. If the estate is not on Laravel 12, defer unless the migration performance change or other fixes are specifically needed.

Operational Impact

Maintenance: small utility package with infrequent releases; major-version cadence still creates periodic upgrade work. Support: confirm maintainer responsiveness, Laravel 12 support expectations, and availability of upgrade documentation. Scaling: the migration performance optimization is relevant for large tables, but lock duration, index changes, and rollback cost must be benchmarked before production use. Failure modes: migration locks/timeouts, failed rollbacks, inconsistent boolean soft-delete state, missed global scopes, unique-index conflicts, and restore/force-delete edge cases. Ramp-up: low for a Laravel team familiar with Eloquent; moderate if converting existing timestamp-based soft deletes or migrating large tables. TPM should gate adoption on the v7 upgrade guide, compatibility matrix, and staging migration evidence.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console