katsana/katsana-sdk-laravel

KATSANA SDK for Laravel
12,887 1
Install
composer require katsana/katsana-sdk-laravel
Latest Version:v1.4.0
PHP:^8.3
License:BSD-3-Clause
Last Updated:May 13, 2026
Links: GitHub  ·  Packagist
Maintainer: crynobone

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'),
    ],
];

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

584,532,650 34,931
laravel/tinker

Powerful REPL for the Laravel framework.

493,838,477 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

408,553,772 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

391,429,217 4,660