{"id":15740031,"url":"https://github.com/brettt89/incapsula-php","last_synced_at":"2026-02-11T17:31:47.594Z","repository":{"id":62496915,"uuid":"271948231","full_name":"brettt89/incapsula-php","owner":"brettt89","description":"Incapsula APIv1 Client for PHP","archived":false,"fork":false,"pushed_at":"2020-07-23T08:46:01.000Z","size":184,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-12T17:45:07.661Z","etag":null,"topics":["api","api-client","api-client-php","imperva","incapsula","incapsula-api","php","php7"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brettt89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2020-06-13T05:41:59.000Z","updated_at":"2020-07-23T08:42:05.000Z","dependencies_parsed_at":"2022-11-02T09:46:01.451Z","dependency_job_id":null,"html_url":"https://github.com/brettt89/incapsula-php","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/brettt89/incapsula-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fincapsula-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fincapsula-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fincapsula-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fincapsula-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brettt89","download_url":"https://codeload.github.com/brettt89/incapsula-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brettt89%2Fincapsula-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29339585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:14:43.024Z","status":"ssl_error","status_checked_at":"2026-02-11T16:14:15.258Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","api-client","api-client-php","imperva","incapsula","incapsula-api","php","php7"],"created_at":"2024-10-04T02:10:47.219Z","updated_at":"2026-02-11T17:31:47.560Z","avatar_url":"https://github.com/brettt89.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Incapsula SDK (v1 API Binding for PHP 7)\r\n\r\n[![PHP Composer](https://github.com/brettt89/incapsula-php/workflows/PHP%20Composer/badge.svg?branch=master)](https://github.com/brettt89/incapsula-php)\r\n[![codecov](https://codecov.io/gh/brettt89/incapsula-php/branch/master/graph/badge.svg)](https://codecov.io/gh/brettt89/incapsula-php)\r\n\r\n\r\n## Installation\r\n\r\nThe recommended way to install this package is via the Packagist Dependency Manager ([brettt89/incapsula-api-php](https://packagist.org/packages/brettt89/incapsula-api-php)).\r\n\r\n```bash\r\n$ composer require brettt89/incapsula-api-php\r\n```\r\n\r\n## Incapsula API version 1\r\n\r\nThe Incapsula API can be found [here](https://docs.imperva.com/bundle/cloud-application-security/page/api/api.htm).\r\nEach API call is provided via a similarly named function within various classes in the **IncapsulaAPI** namespace:\r\n\r\n- [x] [Account](https://docs.imperva.com/bundle/cloud-application-security/page/api/accounts-api.htm)\r\n- [x] [Sites](https://docs.imperva.com/bundle/cloud-application-security/page/api/sites-api.htm)\r\n- [x] [DDoS Protection](https://docs.imperva.com/bundle/cloud-application-security/page/api/ddos-for-networks.htm)\r\n- [ ] [Traffic Statistics and Details](https://docs.imperva.com/bundle/cloud-application-security/page/api/traffic-api.htm)\r\n- [ ] [Login Protect](https://docs.imperva.com/bundle/cloud-application-security/page/api/login-protect-api.htm)\r\n- [ ] [Integration API](https://docs.imperva.com/bundle/cloud-application-security/page/api/integration-api.htm)\r\n- [ ] [Infrastructure Protection Test Alerts](https://docs.imperva.com/bundle/cloud-application-security/page/api/network-ddos-api.htm)\r\n\r\nNote that this repository is currently under development, additional endpoints are being actively added.\r\n\r\n## Getting Started\r\n\r\n```php\r\n$key        = new IncapsulaAPI\\Auth\\ApiKey('Api-ID', 'Api-Key');\r\n$adapter    = new IncapsulaAPI\\Adapter\\Guzzle($key);\r\n$account    = new IncapsulaAPI\\Endpoint\\Account($adapter);\r\n\r\n$account_id = 123456;\r\n    \r\nprint_r($account-\u003egetSites($account_id));\r\n```\r\n\r\n## Contributions\r\n\r\nPlease submit any contributions as a pull request to the `master` branch.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettt89%2Fincapsula-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrettt89%2Fincapsula-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrettt89%2Fincapsula-php/lists"}