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 Sortable Laravel Package

james.xue/laravel-sortable

Laravel Sortable adds easy drag-and-drop ordering to Eloquent models: define sortable columns, automatically manage positions on create/update/delete, and reorder records with simple query helpers. Ideal for menus, galleries, and any list that needs custom sequencing.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature prioritization: Enables quick delivery of manual ordering UX (drag-and-drop or up/down controls) for admin lists, CMS content, menus, FAQs, image galleries, workflow steps, and similar collections without custom sort logic.
  • Build vs. buy: Informs a build-vs-adopt decision for a common, narrow capability. A small package can reduce time-to-market for low-risk features, but its low adoption (2 stars, 0 dependents) means the team should weigh a lightweight in-house trait against dependency risk.
  • Roadmap scoping: Suitable for MVP, internal tools, prototypes, or non-critical back-office features; not appropriate as a foundation for high-scale, multi-tenant, or business-critical ordering without additional hardening.
  • Use-case fit: Best for simple integer-position sorting on Eloquent models. Not a fit for nested categories, multi-column ordering, real-time collaborative reordering, or high-volume bulk reorder operations.

When to Consider This Package

  • You need basic sortable behavior on Eloquent models—move up/down, reorder, persist position—and the feature is internal, experimental, or time-boxed.
  • Your team can audit the package source quickly and is prepared to fork or maintain it if the dependency becomes stale.
  • The ordering feature is isolated and non-critical, with a clear fallback to an in-house implementation if requirements grow.
  • You do not need advanced capabilities such as nested-set/tree behavior, multi-tenant scoping, complex drag-and-drop integrations, or documented enterprise support.
  • Look elsewhere when the feature is production-critical, requires active maintenance, security/compliance review, strong test coverage, or community support. For tree/nested structures, prefer established packages like kalnoy/nestedset; for complex sorting at scale, evaluate a custom or more mature solution.

How to Pitch It (Stakeholders)

  • Executives: This is a low-cost accelerator for a common UI need—manual ordering of lists—that can shave days off feature delivery. Because adoption is minimal, treat it as a tactical starting point, not a strategic platform dependency. Pilot it on an internal tool and keep an in-house fallback.
  • Engineering: The package provides a simple trait-based approach to sortable Eloquent models. With only 2 stars and no dependents, expect no community safety net. Review the source, add tests around ordering edge cases, and budget for fork/maintenance if adopted. MIT licensing limits lock-in.
  • Stakeholders: Frame the decision as build vs. buy for a narrow capability: buy for speed on low-risk features; build a small internal trait if you need long-term ownership, guarantees, or advanced sorting. Avoid using it for critical, high-scale, or compliance-sensitive ordering without hardening.
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.
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
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast