PHPackages                             evangeo/tickets - 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. evangeo/tickets

ActiveLibrary

evangeo/tickets
===============

Ticket Support System

112[2 PRs](https://github.com/EvangelosGeorgiou/tickets/pulls)PHP

Since Dec 5Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

Ticket Support System
=====================

[](#ticket-support-system)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9020b2f90daee60705f26f6f46d3bc670c25bae2e8dba61c578db69ee7791524/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f65706c732d7469636b6574732f7469636b6574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/epls-tickets/tickets)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f5a2351e28d98d77c4d81a7b3f9df31b5cb69783510cdaaa86f0ad151f071ad6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65706c732d7469636b6574732f7469636b6574732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/epls-tickets/tickets/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ff054ba245ca1bfd64e950ff74b67e7c04ff1469abd9e96e8494d53956be2b78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f65706c732d7469636b6574732f7469636b6574732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/epls-tickets/tickets/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/66dbd5a40f4bc9edbf5a4a57116a68955f895177cf0fe43e5820c1d143b7e366/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f65706c732d7469636b6574732f7469636b6574732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/epls-tickets/tickets)

Introduction
------------

[](#introduction)

The Laravel Ticket Support Backend Package is a specialized solution for managing customer support requests and streamlining the back-end processes of your support system. This package is designed to empower your support team by providing the necessary tools for efficient ticket handling and resolution.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require evangeo/tickets
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="tickets-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="tickets-config"
```

Tables
------

[](#tables)

### Ticket Table Structure

[](#ticket-table-structure)

Column NameTypeDefaultID`integer``NOT NULL`UUID`string``NOT NULL`title`string``NOT NULL`description`string``NOT NULL`entity`string``NOT NULL`entity\_id`int``NOT NULL`assigned\_user`int``NOT NULL`category\_id`int``NULL`internal\_group\_id`int``NULL`status`enum` (open, re-open, closed, archived)`open`waiting\_response\_from`enum` (user, entity)`NOT NULL`priority`enum` (low, normal, high)`low`closed\_by`enum` (user, entity)`NULL`created\_at`timestamp``current timestamp`created\_by`int``NULL`updated\_at`timestamp``current timestamp`modified\_by`int``NULL`deleted\_at`timestamp``NULL`deleted\_by`int``NULL`### Ticket Responses Table Structure

[](#ticket-responses-table-structure)

Column NameTypeDefaultid`integer``NOT NULL`ticket\_id`int``NOT NULL`message`mediumText``NOT NULL`type`enum` (external, internal)`external`created\_at`timestamp``current timestamp`created\_by`int``NULL`updated\_at`timestamp``current timestamp`modified\_by`int``NULL`deleted\_at`timestamp``NULL`deleted\_by`int``NULL`### Ticket Attachment Table Structure

[](#ticket-attachment-table-structure)

Column NameTypeDefaultid`integer``NOT NULL`response\_id`int``NOT NULL`name`string``NOT NULL`mime`string``NOT NULL`created\_at`timestamp``current timestamp`created\_by`int``NULL`updated\_at`timestamp``current timestamp`modified\_by`int``NULL`deleted\_at`timestamp``NULL`deleted\_by`int``NULL`### Ticket Category / Internal Group / Tags Table Structure

[](#ticket-category--internal-group--tags-table-structure)

Column NameTypeDefaultid`integer``NOT NULL`name`string``NOT NULL`entity`enum``NOT NULL`enabled`boolean``1 `### Ticket Tags Pivot Table Structure

[](#ticket-tags-pivot-table-structure)

Column NameTypeDefaultid`int``NOT NULL`ticket\_id`int``NOT NULL`tag\_id`int``NOT NULL`Usage
-----

[](#usage)

- Create Ticket as User

```
$ticket = ticket()->createAsUser($userId, $ticketData)
```

- Create Ticket as Entity

```
$ticket = ticket()->createAsEntity($entityId, $ticketData)
```

- Interact With Ticket Status

```
$ticket->reOpen()
        ->open()
        ->archived()
```

- Interact With Ticket Category

```
$ticket->setCategory($id)
        ->removeCategory()
```

- Interact With Ticket Internal Group

```
$ticket->setInternalGroup($id)
        ->removeInternalGroup()
```

- Interact With Ticket Tags

```
$ticket->attachTags([$tagId1,$tagId2,$tagId3])
       ->detachTags([$tagId1])
       ->syncTags([$tagId4, $tagId5, $tagId6])
```

- Create Ticket Response

```
$reponse = $ticket->replyAsUser($userId, $responseData)

$reponse = $ticket->replyAsEntity($entityId, $responseData)
```

- Interact with Response Message Type

```
$response->markAsInternalMessage()
         ->markAsExternalMessage()
```

- Upload Documents on Responses

```
$response->attachDocuments($attachments, function (AttachmentRepository $repository) use ($uploads){
                $repository->upload($uploads, '/path/to/folder');
            })
```

- Chainable Functions

```
$ticket = ticket()
            ->createAsUser($userId, $ticketData)
            ->setCategory($categoryId
            ->setInternalGroup($internalGroupId
            ->attachTags([$tagId1,$tagId2,$tagId3])
            ->detachTags([$tagId1])
            ->syncTags([$tagId4, $tagId5, $tagId6])
            ->reOpen()
            ->open()
            ->archived()
            ->replyAsUser($userId, $responseData)
            ->markAsInternalMessage()
            ->attachDocuments($attachments, function (AttachmentRepository $repository) use ($uploads){
                $repository->upload($uploads, '/path/to/folder');
            })
            ->getTicket();
```

- A real Scenario

```
$ticket = ticket()
            ->createAsUser($userId, $ticketData)
            ->replyAsUser($userId, $responseData)
            ->markAsInternalMessage()
            ->attachDocuments($attachments, function (AttachmentRepository $repository) use ($uploads){
                $repository->upload($uploads, '/path/to/folder');
            })
            ->getTicket();
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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/dab284f49778e9212964ceabbe7c7c87a57048090236e723c0c9528d5946976a?d=identicon)[evangeo](/maintainers/evangeo)

---

Top Contributors

[![EvangelosGeorgiou](https://avatars.githubusercontent.com/u/60268015?v=4)](https://github.com/EvangelosGeorgiou "EvangelosGeorgiou (15 commits)")[![366-evangelos](https://avatars.githubusercontent.com/u/85546890?v=4)](https://github.com/366-evangelos "366-evangelos (4 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/evangeo-tickets/health.svg)

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

PHPackages © 2026

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