rudashi/optima

There is no license information available for the latest version (v2.0.0) of this package.

Unofficial wrapper for ERP Comarch OPTIMA.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/rudashi/optima

v2.0.0 2025-09-11 12:45 UTC

This package is auto-updated.

Last update: 2025-10-03 06:06:46 UTC


README

Comarch Optima wrapper

Twitter Follow

Unofficial wrapper for ERP Comarch OPTIMA.

General System Requirements

Quick Installation

If necessary, use the composer to download the library

composer require rudashi/optima

If not working, add repository to yours composer.json

"repositories": [
    {
        "type": "vcs",
        "url":  "https://github.com/rudashi/optima.git"
    }
],

Add to .env your sqlSRV database configuration

MS_HOST=127.0.0.1
MS_PORT=1433
MS_DATABASE=cdn_optima
MS_USERNAME=su
MS_PASSWORD=
MS_SOCKET=

Usage

To get access to optima query you can use it:

optima()->from('table')->get();

Customers | Kontrahenci

To get information about customer you can use one of two methods:

(new CustomerRepository(optima(false)))->findByCode('TEST!');

(new CustomerRepository(optima(false)))->find(1111, 222, 3333);

Authors