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

Column Sortable Laravel Package

kyslik/column-sortable

kyslik/column-sortable adds easy column sorting to Laravel 5.5–8 apps. Use Blade helpers to generate sortable links, configure sortable columns, and sort by related hasOne/belongsTo fields, with override and alias options for custom queries.

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.
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
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel