PHPackages                             sqginfo/jquery-timer - 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. sqginfo/jquery-timer

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

sqginfo/jquery-timer
====================

01.3k↑285.7%JavaScript

Since Apr 11Pushed 9y ago2 watchersCompare

[ Source](https://github.com/sqginfo/jquery-timer)[ Packagist](https://packagist.org/packages/sqginfo/jquery-timer)[ RSS](/packages/sqginfo-jquery-timer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

jQuery Timer
============

[](#jquery-timer)

[![Build Status](https://camo.githubusercontent.com/616ded758e5a8e36716e880a9784d9a9a791c9cf599c4b74305560316df6fefc/68747470733a2f2f7472617669732d63692e6f72672f6a63686176616e6e65732f6a71756572792d74696d65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jchavannes/jquery-timer)

Basically setTimeout with more options.

View demo:

Download:

---

$.timer()
---------

[](#timer)

#### $.timer( \[ action \] , \[ time \], \[ autostart \] )

[](#timer--action----time---autostart--)

- **action** A Function to be called by the timer.
- **time A Number** determining how long between actions in milliseconds.
- **autostart** A Boolean indicating whether to start the timer. Defaults to false.

---

Usage
-----

[](#usage)

```
var timer = $.timer(function() {
    alert('This message was sent by a timer.');
});
timer.set({ time : 5000, autostart : true });

```

```
timer.set(options);
timer.play(reset);  // Boolean. Defaults to false.
timer.pause();
timer.stop();  // Pause and resets
timer.toggle(reset);  // Boolean. Defaults to false.
timer.once(time);  // Number. Defaults to 0.
timer.isActive  // Returns true if timer is running
timer.remaining // Remaining time when paused

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.5% 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://avatars.githubusercontent.com/u/24393221?v=4)[SQG Tecnologia](/maintainers/sqginfo)[@sqginfo](https://github.com/sqginfo)

---

Top Contributors

[![jchavannes](https://avatars.githubusercontent.com/u/2454558?v=4)](https://github.com/jchavannes "jchavannes (13 commits)")[![AriosvaldoJunior](https://avatars.githubusercontent.com/u/15378884?v=4)](https://github.com/AriosvaldoJunior "AriosvaldoJunior (3 commits)")[![iurisilvio](https://avatars.githubusercontent.com/u/105852?v=4)](https://github.com/iurisilvio "iurisilvio (1 commits)")

### Embed Badge

![Health badge](/badges/sqginfo-jquery-timer/health.svg)

```
[![Health](https://phpackages.com/badges/sqginfo-jquery-timer/health.svg)](https://phpackages.com/packages/sqginfo-jquery-timer)
```

###  Alternatives

[chrico/wp-fields

Package which provides some re-usable fields for WordPress.

1983.7k](/packages/chrico-wp-fields)

PHPackages © 2026

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