PHPackages                             amintado/yii2-ticket - 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. amintado/yii2-ticket

ActiveYii2-extension

amintado/yii2-ticket
====================

A ticket system for Yii2 websites

1.0.7(9y ago)047MITPHPPHP &gt;=5.4.0

Since Jun 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/amintado/yii2-ticket)[ Packagist](https://packagist.org/packages/amintado/yii2-ticket)[ Docs](https://bitbucket.org/Ricco381/yii2-ticket/src)[ RSS](/packages/amintado-yii2-ticket/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (8)Used By (0)

yii2-ticket
===========

[](#yii2-ticket)

The ticket system for yii2

##### The stable version 1.0.8 has been released

[](#the-stable-version-108-has-been-released)

```
1.0.8
     Minor changes

```

##### Released stable version 1.0.7

[](#released-stable-version-107)

```
1.0.7
    Changed design

1.0.6
    Added attachment images.
    Added ticket creation from the admin panel.
    Add prefixo table.
    Fixed routing.

1.0.5
    Removed notifications about closed tickets.
    Removed unnecessary code.
    Sending mail is transferred to the model.

1.0.4
    Added download of images.

```

```
Install composer require "amintado/yii2-ticket:1.0.8"

```

Add to project
==============

[](#add-to-project)

```
'ticket' => [
            'class'         => amintado\ticket\Module::className(),
        ],

```

**Be sure to add in AppAssets section in js the link on bootstrap.js**

```
 public $js = [
        /** Other scripts */
        '//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.js',
    ];

```

GET routes
==========

[](#get-routes)

```
index.php?r=ticket/
index.php?r=ticket/admin/index

```

Override class
==============

[](#override-class)

```
'ticket' => [
            'class'         => amintado\ticket\Module::className(),
            'controllerMap' => [
                'admin' => [
                    'class' => \app\controllers\TicketAdminController::class,
                ],
            ],
        ],

```

Override views
==============

[](#override-views)

```
'view'         => [
            'theme' => [
                'pathMap' => [
                    '@amintado/ticket/views' => '@app/views/ticket',
                ],
            ],
        ],

```

The status of the ticket
========================

[](#the-status-of-the-ticket)

> TicketHead::OPEN = 0 - Open

> TicketHead::WAIT = 1 - Waiting

> TicketHead::ANSWER = 2 - Answered

> TicketHead::CLOSED = 3 - Closed

Available methods
=================

[](#available-methods)

> TicketHead::getNewTicketCount()

Returns a count of all tickets with the status "0" или "1"

> TicketHead::getNewTicketCountUser($status)

Returns the number teketo for the current user, by default all statuses are equal to "0"

Migration
=========

[](#migration)

```
yii migrate --migrationPath=@vendor/amintado/yii2-ticket/migrations

```

Configuration of the module
===========================

[](#configuration-of-the-module)

```
$mailSendAnswer = true, email will be sent notifications about the answer

$subjectAnswer = string Subject line of email response

$userModel = model Object user

$qq = array of Array of departments to which the issue

$admin = array of Array administrators

```

Public part
===========

[](#public-part)

[![](https://camo.githubusercontent.com/27a7ab7328476d19f3a9e858c4e65dc6758eb35626b9758a3e52a69e4ed6c7f3/687474703a2f2f692e696d6775722e636f6d2f414170747233672e706e67)](https://camo.githubusercontent.com/27a7ab7328476d19f3a9e858c4e65dc6758eb35626b9758a3e52a69e4ed6c7f3/687474703a2f2f692e696d6775722e636f6d2f414170747233672e706e67)

Creating a ticket
=================

[](#creating-a-ticket)

[![](https://camo.githubusercontent.com/391bfdfeb7ae5524748d63ffceeba39d87d36e5273e4fd2306953a5e4af8f438/687474703a2f2f692e696d6775722e636f6d2f443037687445462e706e67)](https://camo.githubusercontent.com/391bfdfeb7ae5524748d63ffceeba39d87d36e5273e4fd2306953a5e4af8f438/687474703a2f2f692e696d6775722e636f6d2f443037687445462e706e67)

Question-Answer
===============

[](#question-answer)

[![](https://camo.githubusercontent.com/03d5d7f798121e805d0a0a1657c82a589e52fcc65aa1208823956f96f6f610cc/687474703a2f2f692e696d6775722e636f6d2f426b46636a4a322e706e67)](https://camo.githubusercontent.com/03d5d7f798121e805d0a0a1657c82a589e52fcc65aa1208823956f96f6f610cc/687474703a2f2f692e696d6775722e636f6d2f426b46636a4a322e706e67)

Admin
=====

[](#admin)

[![](https://camo.githubusercontent.com/562020856e51627f04cb478fe5c521e0891274d14fb1c570d351b0fe34da70ec/687474703a2f2f692e696d6775722e636f6d2f723676654f69482e706e67)](https://camo.githubusercontent.com/562020856e51627f04cb478fe5c521e0891274d14fb1c570d351b0fe34da70ec/687474703a2f2f692e696d6775722e636f6d2f723676654f69482e706e67)

Admin-Answer
============

[](#admin-answer)

[![](https://camo.githubusercontent.com/556436ac43d8689190ca7b105d121698512744be17995a39543f70c3a2f5be97/687474703a2f2f692e696d6775722e636f6d2f484d725a465a752e706e67)](https://camo.githubusercontent.com/556436ac43d8689190ca7b105d121698512744be17995a39543f70c3a2f5be97/687474703a2f2f692e696d6775722e636f6d2f484d725a465a752e706e67)

Admin Creating a ticket
=======================

[](#admin-creating-a-ticket)

[![](https://camo.githubusercontent.com/eea2683457d480b5a8f80d03ebc4fd78d6ae333ed5588e1d727053b30c9193d7/687474703a2f2f692e696d6775722e636f6d2f4b7454336f65502e706e67)](https://camo.githubusercontent.com/eea2683457d480b5a8f80d03ebc4fd78d6ae333ed5588e1d727053b30c9193d7/687474703a2f2f692e696d6775722e636f6d2f4b7454336f65502e706e67)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 74.7% 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.

###  Release Activity

Cadence

Every ~9 days

Total

7

Last Release

3561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d561fa3d3f8465f40a8f3d3c10a18f5270367499a3aad39e9eb221d750b7e9de?d=identicon)[amintado](/maintainers/amintado)

---

Top Contributors

[![ricco381](https://avatars.githubusercontent.com/u/11959563?v=4)](https://github.com/ricco381 "ricco381 (59 commits)")[![vkabachenko](https://avatars.githubusercontent.com/u/9642019?v=4)](https://github.com/vkabachenko "vkabachenko (10 commits)")[![yiiman-dev](https://avatars.githubusercontent.com/u/11722893?v=4)](https://github.com/yiiman-dev "yiiman-dev (10 commits)")

---

Tags

yii2Ticket Systemyii2-ticketricco

### Embed Badge

![Health badge](/badges/amintado-yii2-ticket/health.svg)

```
[![Health](https://phpackages.com/badges/amintado-yii2-ticket/health.svg)](https://phpackages.com/packages/amintado-yii2-ticket)
```

###  Alternatives

[ricco/yii2-ticket

A ticket system for website

244.1k](/packages/ricco-yii2-ticket)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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