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

Larasort Laravel Package

s-damian/larasort

LaraSort is a lightweight Laravel package for adding sortable columns to Eloquent queries and tables. It handles sort parameters, column whitelisting, and direction toggling with minimal configuration, making it easy to build interactive, safe sorting in Blade views and APIs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature prioritization: Column sorting is a recurring request in admin panels, dashboards, reporting views, and CRUD list screens. Larasort lets the team ship this baseline capability quickly instead of scheduling custom sort logic in every table.
  • Build vs. buy: For simple Eloquent-backed column sorting via query strings, this package is a low-cost “buy” (MIT, small surface area) compared with building and maintaining sorting helpers, Blade link generation, and query-string handling in-house.
  • Roadmap acceleration: Use it to de-risk MVPs and internal tools where sortable tables unblock user workflows without consuming a full sprint. It frees engineering capacity for higher-value differentiation.
  • Use cases: Back-office admin lists, customer/order/user tables, internal reporting, prototype dashboards, and any Laravel CRUD screen where users expect clickable column headers and stable sort state.
  • Scope guardrail: Treat it as a tactical UI/query convenience, not a strategic data-grid platform. Product decisions around advanced filtering, saved views, exports, and analytics should remain separate roadmap items.

When to Consider This Package

  • Consider it when: You are on Laravel with Eloquent models, need straightforward single-column sortable tables, and want to avoid bespoke sorting code. The team values fast delivery, MIT licensing, and a small dependency over enterprise support.
  • Strong fit: Internal tools, admin panels, early-stage products, and list views where sorting is a “table stakes” feature rather than a core differentiator.
  • Validate first: Confirm Laravel/PHP version compatibility, maintenance activity, test coverage, and whether sorting behavior meets UX expectations (default sort, query-string persistence, pagination interaction).
  • Look elsewhere when: You need complex multi-column sorting, relation/join-aware sorting at scale, saved user sort preferences, advanced data-grid features, or vendor-backed SLAs. Also avoid if the app is not Laravel/Eloquent, if the package is unmaintained for your framework version, or if sorting large datasets requires deeper query/index strategy than a lightweight helper provides.

How to Pitch It (Stakeholders)

  • Executives: Larasort is a small, MIT-licensed Laravel package that adds sortable columns to Eloquent-backed tables. It accelerates delivery of common admin and reporting screens with minimal cost and lock-in, letting the team focus on higher-value roadmap work.
  • Engineering: It standardizes query-string sorting and Blade integration for simple list views, reducing repeated custom code. The trade-off is scope: it solves baseline column sorting, not complex data-grid requirements. Adopt it behind normal dependency review, verify version support, and keep an exit path since the integration surface is small and replaceable.
  • Product managers: Use it to ship table-stakes sorting faster in MVPs and internal tools, but do not let it substitute for a deliberate data-grid strategy where sorting is part of a broader filtering, saved-view, or analytics experience.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource