{"id":25564799,"url":"https://github.com/ccaglayan/foxhole-php","last_synced_at":"2026-03-14T07:30:16.037Z","repository":{"id":62500303,"uuid":"199652723","full_name":"ccaglayan/foxhole-php","owner":"ccaglayan","description":null,"archived":false,"fork":false,"pushed_at":"2019-07-30T13:28:00.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-13T05:41:39.338Z","etag":null,"topics":["api","foxhole","foxhole-game","foxhole-war-api","foxhole-warapi","game","library","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccaglayan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T13:01:43.000Z","updated_at":"2024-04-13T05:41:39.339Z","dependencies_parsed_at":"2022-11-02T12:01:06.510Z","dependency_job_id":null,"html_url":"https://github.com/ccaglayan/foxhole-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Ffoxhole-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Ffoxhole-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Ffoxhole-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccaglayan%2Ffoxhole-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccaglayan","download_url":"https://codeload.github.com/ccaglayan/foxhole-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239921838,"owners_count":19718842,"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","foxhole","foxhole-game","foxhole-war-api","foxhole-warapi","game","library","php"],"created_at":"2025-02-20T21:59:41.534Z","updated_at":"2026-03-14T07:30:15.982Z","avatar_url":"https://github.com/ccaglayan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FoxHole-PHP\n\nFoxhole game [warapi](https://github.com/clapfoot/warapi)\n\n#### Composer require command\n`composer require ccaglayan/foxhole-php`\n\n## Usage\n\nIt is fairly easy to use. I'll throw in an example.\n\n```php\nuse FoxHolePHP\\Client;\n\n$client = new Client();\ntry{\n    $client-\u003egetWar(); // Get Active War Details\n    $client-\u003egetMaps(); // Get Active Maps\n    $client-\u003egetMapReport(MapName) //Get Selected Map War Detail\n    $client-\u003egetStaticMapData(MapName) // Get Selected Map Static Data\n    $client-\u003egetDynamicMapData(MapName) // Get Selected Map Dynamic Data\n    \n}catch(\\FoxHolePHP\\FoxHoleException $e) {\n    echo 'Error:'.$e-\u003egetMessage().'--'.$e-\u003egetCode();\n    exit;\n}\n```\n\n## Contributing\n\nPull requests and issues are open!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccaglayan%2Ffoxhole-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccaglayan%2Ffoxhole-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccaglayan%2Ffoxhole-php/lists"}