PHPackages                             rudashi/optima - 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. rudashi/optima

ActiveLibrary[API Development](/categories/api)

rudashi/optima
==============

Unofficial wrapper for ERP Comarch OPTIMA.

v2.0.0(8mo ago)2482PHPPHP ^8.2 || ^8.3

Since Feb 14Pushed 1mo ago2 watchersCompare

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

READMEChangelogDependencies (2)Versions (9)Used By (0)

[![](./art/logo-mock.svg)](./art/logo-mock.svg)

Comarch Optima wrapper
======================

[](#comarch-optima-wrapper)

[![Twitter Follow](https://camo.githubusercontent.com/45fc65480e430eecb64ae9d81a7da1989ced773a17b8cacb9157c869cf9df2c6/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f727564617368693f7374796c653d736f6369616c)](https://camo.githubusercontent.com/45fc65480e430eecb64ae9d81a7da1989ced773a17b8cacb9157c869cf9df2c6/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f727564617368693f7374796c653d736f6369616c)

Unofficial wrapper for ERP Comarch OPTIMA.

General System Requirements
---------------------------

[](#general-system-requirements)

- [PHP ^8.1](http://php.net/)
- [Laravel ^11.0](https://github.com/laravel/framework)
- [SQL Server for PHP](https://docs.microsoft.com/en-us/sql/connect/php/overview-of-the-php-sql-driver?view=sql-server-ver15)

Quick Installation
------------------

[](#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
-----

[](#usage)

To get access to optima query you can use it:

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

### Customers | Kontrahenci

[](#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
-------

[](#authors)

- **Borys Żmuda** - Lead designer - [LinkedIn](https://www.linkedin.com/in/boryszmuda/), [Portfolio](https://rudashi.github.io/)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance77

Regular maintenance activity

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

Every ~134 days

Recently: every ~204 days

Total

8

Last Release

249d ago

Major Versions

v1.5.1 → v2.0.02025-09-11

PHP version history (3 changes)v1.0PHP ^8.1

v1.5.1PHP ^8.2

v2.0.0PHP ^8.2 || ^8.3

### Community

Maintainers

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

---

Top Contributors

[![rudashi](https://avatars.githubusercontent.com/u/5038647?v=4)](https://github.com/rudashi "rudashi (144 commits)")

---

Tags

apicomarchlaraveloptimaphpapilaravelcomarchoptima

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/rudashi-optima/health.svg)

```
[![Health](https://phpackages.com/badges/rudashi-optima/health.svg)](https://phpackages.com/packages/rudashi-optima)
```

###  Alternatives

[rakibdevs/openweather-laravel-api

Laravel package to connect https://openweathermap.org/ to get customized weather data for any location on the globe immediately

7648.2k](/packages/rakibdevs-openweather-laravel-api)[ozankurt/google-analytics

Laravel Google Analytics

7616.7k](/packages/ozankurt-google-analytics)

PHPackages © 2026

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