PHPackages                             intelogie/tablesorter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. intelogie/tablesorter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

intelogie/tablesorter
=====================

table column sort

0282JavaScript

Since Oct 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/INTELOGIE/tablesorter)[ Packagist](https://packagist.org/packages/intelogie/tablesorter)[ RSS](/packages/intelogie-tablesorter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

tablesorter
===========

[](#tablesorter)

\###Flexible client-side table sorting ####Getting started

To use the tablesorter plugin, include the jQuery library and the tablesorter plugin inside the head-tag of your HTML document:

```

```

Tablesorter works on all standard HTML tables. You must include THEAD and TBODY tags:

```

    Last Name
    First Name
    Email
    Due
    Web Site

    Smith
    John
    jsmith@gmail.com
    $50.00
    http://www.jsmith.com

    Bach
    Frank
    fbach@yahoo.com
    $50.00
    http://www.frank.com

    Doe
    Jason
    jdoe@hotmail.com
    $100.00
    http://www.jdoe.com

    Conway
    Tim
    tconway@earthlink.net
    $50.00
    http://www.timconway.com

```

Start by telling tablesorter to sort your table when the document is loaded:

```
$(document).ready(function()
    {
        $("#myTable").tablesorter();
    }
);
```

Click on the headers and you'll see that your table is now sortable! You can also pass in configuration options when you initialize the table. This tells tablesorter to sort on the first and second column in ascending order.

```
$(document).ready(function()
    {
        $("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} );
    }
);
```

For DateTime columns you can specify your format, like this:

```
$(document).ready(function()
    {
        $("#myTable").tablesorter( {dateFormat: 'pt'} );
    }
);
```

The available ones (currently) are: us, pt and uk. (for pt you can use 'dd/MM/yyyy hh:mm:ss')

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cd960536c07e255b2e6f7e55c03c6d09274b215ccceaccc38926ffe03e098a7?d=identicon)[bgauthier](/maintainers/bgauthier)

---

Top Contributors

[![christianbach](https://avatars.githubusercontent.com/u/7323932?v=4)](https://github.com/christianbach "christianbach (13 commits)")[![leosilvadev](https://avatars.githubusercontent.com/u/5465808?v=4)](https://github.com/leosilvadev "leosilvadev (4 commits)")[![bgauthier](https://avatars.githubusercontent.com/u/1789355?v=4)](https://github.com/bgauthier "bgauthier (1 commits)")[![iajrz](https://avatars.githubusercontent.com/u/4443604?v=4)](https://github.com/iajrz "iajrz (1 commits)")[![jperkelens](https://avatars.githubusercontent.com/u/176702?v=4)](https://github.com/jperkelens "jperkelens (1 commits)")[![nubis-icp](https://avatars.githubusercontent.com/u/6863418?v=4)](https://github.com/nubis-icp "nubis-icp (1 commits)")[![aran112000](https://avatars.githubusercontent.com/u/3313791?v=4)](https://github.com/aran112000 "aran112000 (1 commits)")[![tyxla](https://avatars.githubusercontent.com/u/8436925?v=4)](https://github.com/tyxla "tyxla (1 commits)")[![bamyers99](https://avatars.githubusercontent.com/u/4949828?v=4)](https://github.com/bamyers99 "bamyers99 (1 commits)")

### Embed Badge

![Health badge](/badges/intelogie-tablesorter/health.svg)

```
[![Health](https://phpackages.com/badges/intelogie-tablesorter/health.svg)](https://phpackages.com/packages/intelogie-tablesorter)
```

###  Alternatives

[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[wcm/git-php-hooks

Write git hooks with PHP, organize them on a per-project base and automatically add them

6441.1k3](/packages/wcm-git-php-hooks)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
