{"id":23715409,"url":"https://github.com/rudashi/optima","last_synced_at":"2025-09-03T19:32:25.670Z","repository":{"id":62211576,"uuid":"469165360","full_name":"rudashi/optima","owner":"rudashi","description":"Laravel Comarch Optima wrapper","archived":false,"fork":false,"pushed_at":"2024-12-30T07:09:05.000Z","size":561,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T08:19:37.730Z","etag":null,"topics":["api","comarch","laravel","optima","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudashi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-12T18:20:19.000Z","updated_at":"2024-12-30T07:09:08.000Z","dependencies_parsed_at":"2024-03-21T10:03:26.359Z","dependency_job_id":"bfddfc84-fe9b-4f06-b783-0bd33f34eedb","html_url":"https://github.com/rudashi/optima","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudashi%2Foptima","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudashi%2Foptima/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudashi%2Foptima/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudashi%2Foptima/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudashi","download_url":"https://codeload.github.com/rudashi/optima/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231913896,"owners_count":18445009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","comarch","laravel","optima","php"],"created_at":"2024-12-30T20:56:16.479Z","updated_at":"2024-12-30T20:56:17.054Z","avatar_url":"https://github.com/rudashi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"./art/logo-mock.svg\" width=\"400\" alt=\"\"\u003e\u003c/p\u003e\n\nComarch Optima wrapper\n================\n\n![Twitter Follow](https://img.shields.io/twitter/follow/rudashi?style=social)\n\nUnofficial wrapper for ERP Comarch OPTIMA.\n\n## General System Requirements\n\n- [PHP ^8.1](http://php.net/)\n- [Laravel ^11.0](https://github.com/laravel/framework)\n- [SQL Server for PHP](https://docs.microsoft.com/en-us/sql/connect/php/overview-of-the-php-sql-driver?view=sql-server-ver15)\n\n## Quick Installation\n\nIf necessary, use the composer to download the library\n\n```bash\ncomposer require rudashi/optima\n```\n\nIf not working, add repository to yours composer.json\n\n```bash\n\"repositories\": [\n    {\n        \"type\": \"vcs\",\n        \"url\":  \"https://github.com/rudashi/optima.git\"\n    }\n],\n```\n\nAdd  to `.env` your sqlSRV database configuration\n\n```dotenv\nMS_HOST=127.0.0.1\nMS_PORT=1433\nMS_DATABASE=cdn_optima\nMS_USERNAME=su\nMS_PASSWORD=\nMS_SOCKET=\n```\n\n## Usage\n\nTo get access to optima query you can use it:\n```php\noptima()-\u003efrom('table')-\u003eget();\n```\n\n### Customers | Kontrahenci\nTo get information about customer you can use one of two methods:\n```php\n(new CustomerRepository(optima(false)))-\u003efindByCode('TEST!');\n\n(new CustomerRepository(optima(false)))-\u003efind(1111, 222, 3333);\n```\n\n## Authors\n\n* **Borys Żmuda** - Lead designer - [LinkedIn](https://www.linkedin.com/in/boryszmuda/), [Portfolio](https://rudashi.github.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudashi%2Foptima","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudashi%2Foptima","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudashi%2Foptima/lists"}