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 Soft Deletes Unix

Laravel Soft Deletes Unix Laravel Package

al-one/laravel-soft-deletes-unix

Adds Unix-timestamp based soft deletes to Laravel Eloquent models, swapping the default nullable deleted_at datetime column for an integer timestamp to save storage and speed up queries while keeping familiar restore and force-delete behavior.

View on GitHub
Deep Wiki
Context7

al-one/laravel-soft-deletes-unix is a lightweight extension that stores Laravel's soft delete timestamps as Unix integers instead of DATETIME columns. It swaps the default SoftDeletes trait for a Unix-timestamp-aware version, so your deleted_at column becomes a compact integer while keeping the familiar API (delete(), restore(), withTrashed(), onlyTrashed()).

  • Stores deleted_at as a Unix timestamp integer for smaller, faster indexes
  • Drop-in trait replacement—no changes to existing model logic
  • Works with Eloquent queries, scopes, and trashed() checks
  • Ideal for high-volume tables and timezone-free storage
  • Simple migration helper for converting existing columns
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.
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support