{"id":17689323,"url":"https://github.com/m1guelpf/php-satis-api","last_synced_at":"2026-05-02T19:36:18.918Z","repository":{"id":62521035,"uuid":"93873190","full_name":"m1guelpf/php-satis-api","owner":"m1guelpf","description":"Simple PHP Client for interacting with a Satis instance","archived":false,"fork":false,"pushed_at":"2019-11-16T18:44:23.000Z","size":8,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T08:37:54.642Z","etag":null,"topics":["api","client","composer","guzzle","php","satis"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1guelpf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-09T15:36:39.000Z","updated_at":"2025-07-16T10:38:32.000Z","dependencies_parsed_at":"2022-11-02T15:16:08.638Z","dependency_job_id":null,"html_url":"https://github.com/m1guelpf/php-satis-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/m1guelpf/php-satis-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fphp-satis-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fphp-satis-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fphp-satis-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fphp-satis-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1guelpf","download_url":"https://codeload.github.com/m1guelpf/php-satis-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1guelpf%2Fphp-satis-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","client","composer","guzzle","php","satis"],"created_at":"2024-10-24T11:47:21.909Z","updated_at":"2026-05-02T19:36:18.896Z","avatar_url":"https://github.com/m1guelpf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Satis API Client\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/m1guelpf/satis-api.svg?style=flat-square)](https://packagist.org/packages/m1guelpf/satis-api)\n[![Software License](https://img.shields.io/github/license/m1guelpf/php-satis-api.svg?style=flat-square)](LICENSE.md)\n[![Total Downloads](https://img.shields.io/packagist/dt/m1guelpf/satis-api.svg?style=flat-square)](https://packagist.org/packages/m1guelpf/satis-api)\n\nThis package makes it easy to interact with a instance.\n\n## Installation\n\nYou can install the package via composer:\n\n``` bash\ncomposer require m1guelpf/satis-api\n```\n\n## Usage\n\nYou can pass the Satis Instance URL when initializing the class\n\n``` php\n$satis = new \\M1guelpf\\SatisAPI\\Satis('URL_TO_YOUR_SATIS_INSTANCE');\n```\n\nor you can skip the URL and use the `url()` method later\n\n``` php\n$satis = new \\M1guelpf\\SatisAPI\\Satis;\n\n$satis-\u003eurl('URL_TO_YOUR_SATIS_INSTANCE');\n```\n\nyou can also pass an array of headers to use, or use the headers() method\n\n``` php\n$satis = new \\M1guelpf\\SatisAPI\\Satis('URL_TO_YOUR_SATIS_INSTANCE', $headers);\n\n// or\n\n$satis-\u003eheaders($headers);\n```\n\n### Get Packages\n``` php\n$satis-\u003egetPackages();\n```\n\n### Get Composer File\n``` php\n$satis-\u003egetComposer();\n```\n\n### Get Includes\n``` php\n$satis-\u003egetIncludes();\n```\n\n### Get Custom\n``` php\n$satis-\u003egetCustom($relativeUrl, $parameters);\n```\n\n### Get the Guzzle Client\n\n``` php\n$satis-\u003egetClient();\n```\n\n### Set the Guzzle Client\n\n``` php\n$client = new \\GuzzleHttp\\Client(); // Example Guzzle client\n$satis-\u003esetClient($client);\n```\nwhere $client is an instance of `\\GuzzleHttp\\Client`.\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Security\n\nIf you discover any security related issues, please email soy@miguelpiedrafita.com instead of using the issue tracker.\n\n## Credits\n\n- [Miguel Piedrafita](https://github.com/m1guelpf)\n- [All Contributors](../../contributors)\n\n## License\n\nThe Mozilla Public License 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fphp-satis-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1guelpf%2Fphp-satis-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1guelpf%2Fphp-satis-api/lists"}