PHPackages                             itsmeabde/tiket-api - 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. [API Development](/categories/api)
4. /
5. itsmeabde/tiket-api

ActiveLibrary[API Development](/categories/api)

itsmeabde/tiket-api
===================

Laravel package for using api tiket.com

1.0.1(9y ago)3804MITPHPPHP ~5.6|~7.0

Since Aug 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/itsmeabde/tiket-api)[ Packagist](https://packagist.org/packages/itsmeabde/tiket-api)[ Docs](https://github.com/itsmeabde/tiket-api)[ RSS](/packages/itsmeabde-tiket-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

[![Stories in Ready](https://camo.githubusercontent.com/d589b74c0b53131b59820c8f69b92256d3054dea6d36a5efd63922ff4c8d3cc7/68747470733a2f2f62616467652e776166666c652e696f2f6974736d65616264652f74696b65742d6170692e706e673f6c6162656c3d7265616479267469746c653d5265616479)](https://waffle.io/itsmeabde/tiket-api)

Laravel Tiket Api's
===================

[](#laravel-tiket-apis)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b0feaa49cb19124976f9006e1ea1f7c5ef15b8a724ebcff38ca1e798acdc3ff0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6974736d65616264652f74696b65742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/itsmeabde/tiket-api)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/007cd014787bf5049598070827de427dc054f154ee6099220b7e9be9f1630e52/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6974736d65616264652f74696b65742d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/itsmeabde/tiket-api)

This package provides you to use [tiket.com](https://www/.tiket.com) api with simple usage and it will let you focus on development of the api's user interface. See the [DOCS](http://docs.tiket.com) for documentation

Install
-------

[](#install)

Via composer

```
$ composer require itsmeabde/tiket-api
```

Once this has finish, you will need to add the service provider to the `providers` array in your `app.php` config as follows:

```
itsmeabde/TiketApi/TiketApiServiceProvider::class
```

Finally, you will want to publish the config using the following command:

```
$ php artisan vendor:publish
```

Usage
-----

[](#usage)

Before usage, you mush configure `api_key, user_agent, response ` in `tiket.php` config file. by default ` 'response' => 'json'` , do not change any uri if there is no available updated.

This package by default store token api in cookie with key `token`. do not forget to configure your `EncryptCookies.php` in `App\Http\Middleware` folder.

```
protected $except = [
    'token'
];
```

Example request search flight:

```
use Illuminate\Http\Request;
use itsmeabde\TiketApi\TiketApi;

class FlightController extends Controller
{
    public function searchFlight(Request $request)
    {
        $query = $request->all();
        $tiket = new TiketApi();
        $response = $tiket->flightApi->searchFlight($query);

        return $response;
    }
}
```

Or you want create your own controller extends baseController

```
use Illuminate\Routing\Controller as BaseController;
use itsmeabde\TiketApi\TiketApi;

class BaseTiketController extends BaseController
{
    public $tiket;
    public function __construct()
    {
        $this->tiket = new TiketApi();
    }
}
```

So you can call tiket object from class inheritance your own Controller without declare new object tiketApi for many times.

```
use Illuminate\Http\Request;

class FlightController extends BaseTiketController
{
    public function searchFlight(Request $request)
    {
        $query = $request->all();

        return $this->tiket->flightApi->searchFlight($query);
    }
}
```

For more information, See [DOCS](http://docs.tiket.com).

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Bug
---

[](#bug)

If you discover any bug related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3540d ago

### Community

Maintainers

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

---

Top Contributors

[![brokyzz](https://avatars.githubusercontent.com/u/6127200?v=4)](https://github.com/brokyzz "brokyzz (5 commits)")[![itsmeabde](https://avatars.githubusercontent.com/u/21280766?v=4)](https://github.com/itsmeabde "itsmeabde (2 commits)")[![waffle-iron](https://avatars.githubusercontent.com/u/6912981?v=4)](https://github.com/waffle-iron "waffle-iron (1 commits)")

---

Tags

itsmeabdetiket api

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/itsmeabde-tiket-api/health.svg)

```
[![Health](https://phpackages.com/badges/itsmeabde-tiket-api/health.svg)](https://phpackages.com/packages/itsmeabde-tiket-api)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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