PHPackages                             biologreen/sdk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. biologreen/sdk

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

biologreen/sdk
==============

The official PHP SDK for the BioLogreen Facial Authentication API.

00PHP

Since Sep 21Pushed 8mo agoCompare

[ Source](https://github.com/AtuhurraSolomon/biologreen-php-sdk)[ Packagist](https://packagist.org/packages/biologreen/sdk)[ RSS](/packages/biologreen-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

BioLogreen PHP SDK
==================

[](#biologreen-php-sdk)

The official PHP SDK for the BioLogreen Facial Authentication API.

This SDK provides a modern, robust, and PSR-4 compliant way for PHP developers to integrate face-based signup and login into their backend applications (e.g., Laravel, Symfony, or any Composer-based project).

Features
--------

[](#features)

- **Modern PHP:** Uses namespaces, type-hinting, and PSR-4 autoloading.
- **Robust:** Built on the industry-standard Guzzle HTTP client.
- **Clean &amp; Object-Oriented:** Provides a simple client and immutable Data Transfer Objects (DTOs).
- **Graceful Error Handling:** Throws a custom `BioLogreenApiException` for predictable error management.

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

[](#installation)

The recommended way to install the SDK is through [Composer](https://getcomposer.org/).

Run the following command in your project's root directory:

```
composer require biologreen/sdk

This will download the SDK and automatically configure the autoloader in your vendor/autoload.php file.

Usage
Make sure to include Composer's autoloader at the beginning of your PHP script.

Here is a basic example of how to use the client:

PHP
