PHPackages                             ga/turntable - 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. [Framework](/categories/framework)
4. /
5. ga/turntable

ActiveLibrary[Framework](/categories/framework)

ga/turntable
============

yii2-turntable

2121[1 issues](https://github.com/liuzexin/GATurntable/issues)PHP

Since Dec 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/liuzexin/GATurntable)[ Packagist](https://packagist.org/packages/ga/turntable)[ RSS](/packages/ga-turntable/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

GATurntable
===========

[](#gaturntable)

A turntable for lottery activity.

The GATurntable has two scroll types.
=====================================

[](#the-gaturntable-has-two-scroll-types)

1.POINTER\_SCROLL
-----------------

[](#1pointer_scroll)

[![pointer.gif](https://github.com/liuzexin/Image/raw/master/pointer.gif)](https://github.com/liuzexin/Image/blob/master/pointer.gif)

2.TURNTABLE\_SCROLL
-------------------

[](#2turntable_scroll)

[![turntable.gif](https://github.com/liuzexin/Image/raw/master/turntable.gif)](https://github.com/liuzexin/Image/blob/master/turntable.gif)

How to install
==============

[](#how-to-install)

`composer require ga/turntable dev-master`

How to useage
=============

[](#how-to-useage)

In the view file you should include following code:

```

```

Configuration params
====================

[](#configuration-params)

The configuartion is very easy,we can set the public property:

- `$deg` animate degree
- `$animationTime` in the other word it's the speed of animation
- `$pointerCallback` js code in here.If the pointer complete animation will trigger this function.
- `$turntableCallback` js code in here.If the turntable complete animation will trigger this function.
- `$scrollType` self::POINTER\_SCROLL or self::TURNTABLE\_SCROLL
- `$pointerImagePath` custom pointer image path
- `$turntableImagePath` custom turntable image path
- `$turntableBGImagePath` custom turntable background image path

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/15990961?v=4)[CoderLiu](/maintainers/liuzexin)[@liuzexin](https://github.com/liuzexin)

---

Top Contributors

[![liuzexin](https://avatars.githubusercontent.com/u/15990961?v=4)](https://github.com/liuzexin "liuzexin (4 commits)")

### Embed Badge

![Health badge](/badges/ga-turntable/health.svg)

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

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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