{"id":16272578,"url":"https://github.com/jeffreyhyer/bamboohr","last_synced_at":"2025-03-19T23:31:07.188Z","repository":{"id":48297467,"uuid":"104399314","full_name":"JeffreyHyer/bamboohr","owner":"JeffreyHyer","description":"PHP SDK for the BambooHR API","archived":false,"fork":false,"pushed_at":"2021-08-02T18:44:36.000Z","size":53,"stargazers_count":10,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T12:21:27.557Z","etag":null,"topics":["api-client","bamboohr","bamboohr-api","php","php-sdk","php7"],"latest_commit_sha":null,"homepage":"https://jeffreyhyer.github.io/bamboohr/","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/JeffreyHyer.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-09-21T21:11:06.000Z","updated_at":"2024-07-03T13:19:54.000Z","dependencies_parsed_at":"2022-08-21T14:50:22.017Z","dependency_job_id":null,"html_url":"https://github.com/JeffreyHyer/bamboohr","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreyHyer%2Fbamboohr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreyHyer%2Fbamboohr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreyHyer%2Fbamboohr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreyHyer%2Fbamboohr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffreyHyer","download_url":"https://codeload.github.com/JeffreyHyer/bamboohr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244524833,"owners_count":20466508,"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-client","bamboohr","bamboohr-api","php","php-sdk","php7"],"created_at":"2024-10-10T18:18:19.869Z","updated_at":"2025-03-19T23:31:06.849Z","avatar_url":"https://github.com/JeffreyHyer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BambooHR PHP SDK\n\nThis repository contains a PHP SDK for use with the\n[BambooHR](https://bamboohr.com/) API.\n\nIf you're looking to use this package inside a [Laravel](https://laravel.com/) application\nyou may want to check out this package instead: [jeffreyhyer/bamboohr-laravel](https://github.com/jeffreyhyer/bamboohr-laravel).\nIt wraps this package in a Service Provider and provides access via a Facade so the API is the\nsame but you'll write less code and get the same results :+1:\n\n**DISCLAIMER:** This is **NOT** an official SDK, it is not affiliated with nor\nendorsed by BambooHR in any way.\n\n\n## Installation\n\n\u003e __NOTE__: This package currently requires PHP \u003e= 7.0.0\n\n#### Via Composer\n\n```shell\n$ composer require jeffreyhyer/bamboohr\n```\n\nOr add the following to your `composer.json` file:\n```json\n{\n    \"require\": {\n        \"jeffreyhyer/bamboohr\": \"~1.0.7\"\n    }\n}\n```\n\nFrom within the same directory as your `composer.json` file execute:\n\n```shell\n$ composer install\n```\n\nIn your PHP file (if you're not using a fancy framework that handles autoloading\nfor you):\n\n```php\n\u003c?php\n\nrequire './vendor/autoload.php';\n```\n\n\n## Usage\n\nFrom within your PHP application you can access the BambooHR API with just a\ncouple lines:\n\n```php\n\u003c?php\n\nrequire './vendor/autoload.php';\n\nuse BambooHR\\BambooHR;\n\n$api_token = \"[BAMBOOHR API TOKEN]\";\n$company = \"[BAMBOO COMPANY NAME]\";\n\n$bamboo = new BambooHR($company, $api_token);\n\n// Get the employee directory\n$employees = $bamboo-\u003eemployees-\u003edirectory();\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreyhyer%2Fbamboohr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffreyhyer%2Fbamboohr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreyhyer%2Fbamboohr/lists"}