Looking to hire Laravel developers? Try LaraJobs

katsana-sdk-laravel maintained by katsana

Description
KATSANA SDK for Laravel
Last update
2026/05/13 14:49 (dev-L13)
License
Links
Downloads
12 935

Comments
comments powered by Disqus

KATSANA SDK for PHP

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status

Installation

To install through composer, simply put the following in your composer.json file:

{
  "require": {
    "katsana/katsana-sdk-laravel": "^1.1"
  }
}

And then run composer install from the terminal.

Quick Installation

Above installation can also be simplify by using the following command:

composer require "katsana/katsana-sdk-laravel=^1.1"

Configuration

Next add the service provider in config/app.php.

'providers' => [

    // ...

    Katsana\ServiceProvider::class,

],

Aliases

You might want to add Katsana\Katsana to class aliases in config/app.php:

'aliases' => [

    // ...

    'Katsana' => Katsana\Katsana::class,

],

Configuration

Using Client ID & Secret

Next add the configuration in config/services.php.

<?php

return [

    // ...

    'katsana' => [
        'client_id' => env('KATSANA_CLIENT_ID'),
        'client_secret' => env('KATSANA_CLIENT_SECRET'),
        'environment' => env('KATSANA_ENVIRONMENT', 'production'),
        //Optional
        'endpoints'=>[
            'api' => 'http://katsana-api-endpoint',
            'oauth' => 'http://katsana-outh-endpoint',
        ],
    ],
];

Using Personal Access Token

Next add the configuration in config/services.php.

<?php

return [

    // ...

    'katsana' => [
        'access_token' => env('KATSANA_ACCESS_TOKEN'),
        'environment' => env('KATSANA_ENVIRONMENT', 'production'),
    ],
];