{"id":50963523,"url":"https://github.com/pringgojs/laravel-itop","last_synced_at":"2026-06-18T17:30:37.581Z","repository":{"id":340066210,"uuid":"1162217760","full_name":"pringgojs/laravel-itop","owner":"pringgojs","description":"This package is a very small, database‑centric wrapper around iTop for Laravel projects. ","archived":false,"fork":false,"pushed_at":"2026-03-13T08:11:17.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-13T12:15:42.686Z","etag":null,"topics":["integration","itop","laravel","wrapper"],"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/pringgojs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-20T01:57:16.000Z","updated_at":"2026-03-13T08:10:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pringgojs/laravel-itop","commit_stats":null,"previous_names":["pringgojs/laravel-itop"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pringgojs/laravel-itop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Flaravel-itop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Flaravel-itop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Flaravel-itop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Flaravel-itop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pringgojs","download_url":"https://codeload.github.com/pringgojs/laravel-itop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Flaravel-itop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34501423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["integration","itop","laravel","wrapper"],"created_at":"2026-06-18T17:30:37.026Z","updated_at":"2026-06-18T17:30:37.576Z","avatar_url":"https://github.com/pringgojs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel iTop Wrapper\n\nThis package is a very small, database‑centric wrapper around iTop for Laravel\nprojects. It provides Eloquent models corresponding to the iTop schema, a simple\nAPI client (`ApiService`), and a handful of helpers/builders to construct payloads\nfor the iTop REST interface.\n\nIt **does not** include any migrations, configuration defaults, or automatic\nsynchronisation/forwarding logic – those responsibilities are left to the\nconsuming application. Think of it as a lightweight toolkit rather than a full\nintegration suite.\n\n---\n\n## Contents\n\n- Eloquent models mirroring common iTop tables (`Ticket`, `Attachment`,\n  `Contact`, etc.).\n- `Services\\ApiService` – a minimal HTTP client for the iTop REST API.\n- `Services\\ItopServiceBuilder` – static helpers to build JSON payloads for\n  ticket creation, attachment upload, state updates, etc.\n- Traits for ticket relations and utility methods.\n\nThere is no default configuration schema and no supplied migrations.\n\n## 📦 Installation\n\n```bash\ncomposer require pringgojs/laravel-itop\n```\n\nThe service provider is auto‑discovered by Laravel. If you need to override the\nempty `itop.php` configuration file you may publish it:\n\n```bash\nphp artisan vendor:publish \\\n    --provider=\"Pringgojs\\LaravelItop\\LaravelItopServiceProvider\" \\\n    --tag=\"config\"\n```\n\nNo migrations are included; the models assume that your database already\ncontains the appropriate iTop tables.\n\n## 🔧 Configuration\n\nThe default `config/itop.php` is empty. Add whatever settings your application\nrequires (e.g. base URLs, credentials) and resolve them when instantiating the\nservices.\n\n## 🛠 Usage\n\nThe package does not provide high‑level jobs or commands. Use the provided\nclasses directly in your own code. For example, create a client and send a\nrequest:\n\n```php\n$itop = new \\Pringgojs\\LaravelItop\\Services\\ApiService(\n    'https://itop.example.com',\n    'admin',\n    'secret'\n);\n\n$response = $itop-\u003ecallApi([\n    'operation' =\u003e 'core/create',\n    'class'     =\u003e 'UserRequest',\n    'fields'    =\u003e [/* ... */],\n]);\n```\n\nHelpers are available to build the payloads:\n\n```php\n$payload = \\Pringgojs\\LaravelItop\\Services\\ItopServiceBuilder::payloadTicketCreate([\n    'title' =\u003e 'Example',\n    // …\n]);\n```\n\nModels in `src/Models` can be used to read/write existing iTop tables with\nEloquent.\n\n## 📁 Structure\n\nThe package is deliberately small – the main directories are:\n\n- `src/Models` – Eloquent representations of iTop tables.\n- `src/Services` – HTTP client and payload builders.\n- `src/Builders` – convenience methods for common iTop request formats.\n- `src/Traits` \u0026 `src/Utils` – assorted helpers.\n\n## 🧪 Testing\n\nThere are no package tests; integrate models and services directly in your\napplication’s test suite as needed.\n\n## 📚 Changelog\n\nSee [CHANGELOG.md](CHANGELOG.md) for release notes and version history.\n\n---\n\nFeel free to contribute or report issues at the repository on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpringgojs%2Flaravel-itop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpringgojs%2Flaravel-itop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpringgojs%2Flaravel-itop/lists"}