Weave Code
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

Column Sortable Laravel Package

kyslik/column-sortable

Add sortable table columns to Laravel (5.5–8) Eloquent listings. Provides Blade helpers to generate sort links with direction icons, supports configurable sortable fields, pagination-friendly URLs, and sorting on hasOne/belongsTo relations with optional aliases.

View on GitHub
Deep Wiki
Context7
7.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/Kyslik/column-sortable/compare/6.6.0...7.0.0

6.5.0
6.4.1

Adds in the ability to use a custom href when generating the link

6.4.0

This release adds support for L8.

6.2.1
6.1.0

Support L6.1

5.8.0
5.7.0

changed:

  • order to direction in code as well as query parameter
  • minimal refactoring
5.6.0
5.5.1

Add possibility to configure join type; see configuration file for more information.

related issue: #59

5.4.7

Add possibility to configure join type; see configuration file for more information.

related issue: #59

5.5.0
5.4.1
5.3.1
5.2.1
5.4.0

Package versioning change, everything should work as expected.

5.3.0

Package versioning change, everything should work as expected.

5.2.0

Package versioning change, everything should work as expected.

5.1.5

Package versioning change, everything should work as expected.

5.1.4

introducing $sortableAs see #44.

5.1.3

Implemented #38 and #39.


Table name is always prepended to order by clause; see #39

$model->getTable() . '.' . $column;


[@sortablelink](https://github.com/sortablelink)() directive now accepts 3rd parameter... more here and #38.

5.1.2

Added belongsTo, overriding queryOrderBuilder (it is possible to write your own joins).

5.1.1

Fix issue #36, now accepting ' and ", formatting functions can be passed

[@sortablelink](https://github.com/sortablelink)("id", trans('column-sortable.id'))
[@sortablelink](https://github.com/sortablelink)("name", "Name")
[@sortablelink](https://github.com/sortablelink)('email')
[@sortablelink](https://github.com/sortablelink)('detail.phone_number', trans('column-sortable.phone'))
5.1.0
  • Refactoring && tests added (dev-tests branch)
  • Readme updated
  • Config has been slightly changed

To republish configuration use

$ php artisan vendor:publish --provider="Kyslik\ColumnSortable\ColumnSortableServiceProvider" --tag="config"

Clear your views

$ php artisan view:clear
5.0.9

composer.json updated ColumnSortableServiceProvider.php updated since extending blade in L5.3 changed - see https://laravel.com/docs/5.3/upgrade#upgrade-5.3.0

5.0.8

see #31

5.0.7

merge PR -> adding support for 'clickable icon' adding support for 'icon-anchor separator' which makes sense in case you have clickable icon turned on (true); separator creates possibility to style icon and anchor-text properly

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope