PHPackages                             erdaldemirci/laravel-ininal - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. erdaldemirci/laravel-ininal

ActiveLibrary[HTTP &amp; Networking](/categories/http)

erdaldemirci/laravel-ininal
===========================

Laravel plugin for Ininal.

v1.0(4y ago)13MITPHPPHP &gt;=7.2|^8.0

Since Jan 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/erdaldemirci/laravel-ininal)[ Packagist](https://packagist.org/packages/erdaldemirci/laravel-ininal)[ RSS](/packages/erdaldemirci-laravel-ininal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Ininal Package
======================

[](#laravel-ininal-package)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

- [Documentation](#introduction)
- [Usage](#usage)
- [Support](#support)

Documentation
-------------

[](#documentation)

The documentation for the package can be viewed by clicking the following link:

Usage
-----

[](#usage)

Following are some ways through which you can access the ininal provider:

```
// Import the class namespaces first, before using it directly
use ErdalDemirci\Ininal\Services\Ininal as IninalClient;

$provider = new IninalClient;

// Through facade. No need to import namespaces
$provider = \Ininal::setProvider();
```

Configuration File
------------------

[](#configuration-file)

The configuration file **ininal.php** is located in the **config** folder. Following are its contents when published:

```
return [
    'mode'          => env('ININAL_MODE', 'sandbox'), // Can only be 'sandbox' Or 'live'. If empty or invalid, 'live' will be used.
    'api_key'       => env('ININAL_API_KEY', ''),
    'api_secret'    => env('ININAL_API_SECRET', ''),
    'locale'        => env('ININAL_LOCALE', 'TR'), // force gateway language  i.e. TR, EN
];
```

Override Ininal API Configuration
---------------------------------

[](#override-ininal-api-configuration)

You can override Ininal API configuration by calling `setApiCredentials` method:

```
$provider->setApiCredentials($config);
```

Get Access Token
----------------

[](#get-access-token)

After setting the Ininal API configuration by calling `setApiCredentials` method. You need to get access token before performing any API calls

```
$provider->accessToken();
```

### User Creation

[](#user-creation)

```
$response = $provider->userCreation(['name'=>'Ahmet','surname'=>'Ozperson','email'=>'ahmet@ahmet.com','gsmNumber'=>'5330000000','tcIdentificationNumber'=>'91111111119'
,'password'=>'123qweasd','birthDate'=>'1982-04-03','motherMaidenName'=>'yilmaz']);
```

```
{
  "httpCode": 201,
  "description": "string",
  "response": {
    "userToken": "0014c0b5-6bf0-467f-bbf4-7a100b06927e"
  },
  "validationErrors": {
    "property1": "string",
    "property2": "string"
  }
}
```

### User information

[](#user-information)

```
$response = $provider->userInformation($user_token = '0014c0b5-6bf0-467f-bbf4-7a100b06927e');
```

```
{
  "httpCode": 200,
  "description": "string",
  "response": {
    "userToken": "0014c0b5-6bf0-467f-bbf4-7a100b06927e",
    "name": "Ahmet",
    "surname": "Ozperson",
    "email": "ahmet.ozperson@ininal.com",
    "gsmNumber": "5500000000",
    "tckn": "11111111111",
    "birthdate": "1992-05-26",
    "status": "ACTIVE"
  },
  "validationErrors": {
    "property1": "string",
    "property2": "string"
  }
}
```

Support
-------

[](#support)

This version supports Laravel 6 or greater.

- In case of any issues, kindly create one on the [Issues](https://github.com/erdaldemirci/laravel-ininal/issues)section.
- If you would like to contribute:
    - Fork this repository.
    - Implement your features.
    - Generate pull request.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1566d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/129a82285d3610ca63cbf78678b3672db30693c680d9620fb655ac4a8d4e6b7d?d=identicon)[erdaldemirci](/maintainers/erdaldemirci)

---

Top Contributors

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

---

Tags

httprestweb serviceininallaravel ininal

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/erdaldemirci-laravel-ininal/health.svg)

```
[![Health](https://phpackages.com/badges/erdaldemirci-laravel-ininal/health.svg)](https://phpackages.com/packages/erdaldemirci-laravel-ininal)
```

###  Alternatives

[srmklive/paypal

Laravel plugin For Processing Payments Through Paypal Express Checkout. Can Be Used Independently With Other Applications.

1.1k3.8M26](/packages/srmklive-paypal)[zoonman/pixabay-php-api

PixabayClient is a PHP HTTP client library to access Pixabay's API

3354.7k](/packages/zoonman-pixabay-php-api)[e-moe/guzzle6-bundle

Integrates Guzzle 6 into your Symfony application

11259.2k](/packages/e-moe-guzzle6-bundle)[apoca/laravel-sibs-payments

Laravel library to communicate with SIBS - Open Payment Platform.

342.3k](/packages/apoca-laravel-sibs-payments)

PHPackages © 2026

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