PHPackages                             vogelyt/absence-io-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. vogelyt/absence-io-client

ActiveLibrary[API Development](/categories/api)

vogelyt/absence-io-client
=========================

Comprehensive PHP client library for the absence.io API with full CRUD operations, OAuth support, and advanced querying

v1.0.0(1w ago)00MITPHPPHP ^8.1CI failing

Since Mar 9Pushed 1w agoCompare

[ Source](https://github.com/Vogelyt/absence-io-client)[ Packagist](https://packagist.org/packages/vogelyt/absence-io-client)[ Docs](https://github.com/vogelyt/absence-io-client)[ RSS](/packages/vogelyt-absence-io-client/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (4)Used By (0)

Absence.io PHP Client
=====================

[](#absenceio-php-client)

A comprehensive, production-ready PHP client library for the [absence.io API](https://docs.absence.io/) with full CRUD operations, Hawk and OAuth 2.0 authentication, and advanced querying capabilities.

Features
--------

[](#features)

- **Full API Coverage**: CRUD operations for all absence.io entities (absences, users, teams, departments, etc.)
- **Dual Authentication**: Support for both Hawk and OAuth 2.0 authentication
- **Advanced Querying**: Powerful query builder with filters, sorting, relations, and pagination
- **Type-Safe**: Built with PHP 8.1+ with strict types
- **Well-Tested**: Comprehensive test suite with 59+ unit tests
- **Error Handling**: Custom exceptions for different API error scenarios
- **Easy to Use**: Simple, fluent API for developers

Installation
------------

[](#installation)

### Using Composer (Recommended)

[](#using-composer-recommended)

```
composer require vogelyt/absence-io-client
```

### Manual Installation

[](#manual-installation)

Clone the repository and install dependencies:

```
git clone https://github.com/vogelyt/absence-io-client.git
cd absence-io-client
composer install
```

Quick Start
-----------

[](#quick-start)

### Using Hawk Authentication

[](#using-hawk-authentication)

```
