PHPackages                             olalekan/smile-identity-core - 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. olalekan/smile-identity-core

ActiveLibrary[API Development](/categories/api)

olalekan/smile-identity-core
============================

Smile ID PHP Server-toserver library

v4.0.2(2y ago)08MITPHPPHP &gt;=7.4

Since Sep 21Pushed 2y ago1 watchersCompare

[ Source](https://github.com/olalekan-agbaje/smileid-php)[ Packagist](https://packagist.org/packages/olalekan/smile-identity-core)[ Docs](https://github.com/olalekan-agbaje/smileid-php)[ RSS](/packages/olalekan-smile-identity-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Smile Identity PHP Server Side SDK
==================================

[](#smile-identity-php-server-side-sdk)

Smile Identity provides the best solutions for real time Digital KYC, identity verification, user onboarding, and user authentication across Africa. Our server side libraries make it easy to integrate us on the server-side. Since the library is server-side, you will be required to pass the images (if required) to the library.

If you haven’t already, [sign up for a free Smile Identity account](https://www.smileidentity.com/schedule-a-demo/), which comes with Sandbox access.

Please see [CHANGELOG.md](CHANGELOG.md) for release versions and changes.

Features
--------

[](#features)

The library exposes four classes namely; the WebApi class, the IDApi class, the Signature class, and the Utilities class.

The WebApi class has the following public methods:

- `submit_job` - handles submission of any of Smile Identity products that requires an image i.e. [Biometric KYC](https://docs.smileidentity.com/products/biometric-kyc), [Document Verification](https://docs.smileidentity.com/products/document-verification), [SmartSelfieTM Authentication](https://docs.smileidentity.com/products/biometric-authentication) and [Business Verification](https://docs.smileidentity.com/products/for-businesses-kyb/business-verification).
- `get_web_token` - handles generation of web token, if you are using the [Hosted Web Integration](https://docs.smileidentity.com/web-mobile-web/web-integration-beta).

The IDApi class has the following public method:

- `submit_job` - handles submission of [Enhanced KYC](https://docs.smileidentity.com/products/identity-lookup) and [Basic KYC](https://docs.smileidentity.com/products/id-verification).

The Signature class has the following public methods:

- `generate_signature` - generate a signature which is then passed as a signature param when making requests to the Smile Identity server
- `confirm_signature` - ensure a response is truly from the Smile Identity server by confirming the incoming signature

The Utilities Class allows you as the Partner to have access to our general Utility functions to gain access to your data. It has the following public methods:

- `get_job_status` - retrieve information &amp; results of a job. Read more on job status in the [Smile Identity documentation](https://docs.smileidentity.com/further-reading/job-status).
- `get_smile_id_services` - general information about different smile identity products such as required inputs for each supported id type.

Dependencies
------------

[](#dependencies)

- Composer build tool

- php: &gt;= 7.4
- ext-curl: \*
- ext-json: \*
- ext-openssl: \*
- ext-zip: \*
- guzzlehttp/guzzle: ^7.0
- letsdrink/ouzo-goodies: ~1.0

Documentation
-------------

[](#documentation)

For extensive instructions on usage of the library and sample codes, please refer to the [official Smile Identity documentation](https://docs.smileidentity.com/server-to-server/php).

Before that, you should take a look at the examples in the [examples](/examples) folder.

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

[](#installation)

### Installing from the Repository

[](#installing-from-the-repository)

Download [smile-identity-core-php repository](https://github.com/smileidentity/smile-identity-core-php) to a directory on your server where PHP and Composer is installed.

In that directory, run `composer install`

### Installing from Packagist

[](#installing-from-packagist)

View the package on [Packagist](https://packagist.org/packages/smile-identity/smile-identity-core).

Alternatively, the package can be searched locally from a composer-based project by typing the command `composer search ` in the command line where `PACKAGE_NAME` can the full name of the package (in this case `smile-identity/smile-identity-core`) or any part of the name distinct enough to return a match.

In the project's directory, run:

```
composer require smile-identity/smile-identity-core
```

Getting Help
------------

[](#getting-help)

For usage questions, the best resource is [our official documentation](https://docs.smileidentity.com/). However, if you require further assistance, you can file a [support ticket via our portal](https://portal.smileidentity.com/partner/support/tickets) or visit the [contact us page](https://www.smileidentity.com/contact-us/) on our website.

Contributing
------------

[](#contributing)

Bug reports and pull requests are welcome on GitHub at

License
-------

[](#license)

MIT License

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e799f0a576e679c0289d7f69ede00b67e0ae8875ae74843f262098a1ac9ba35c?d=identicon)[olalekanagbaje@gmail.com](/maintainers/olalekanagbaje@gmail.com)

---

Top Contributors

[![ArlonTM](https://avatars.githubusercontent.com/u/4691611?v=4)](https://github.com/ArlonTM "ArlonTM (30 commits)")[![macphilips](https://avatars.githubusercontent.com/u/15909231?v=4)](https://github.com/macphilips "macphilips (16 commits)")[![osazemeu](https://avatars.githubusercontent.com/u/7466259?v=4)](https://github.com/osazemeu "osazemeu (14 commits)")[![v-osazemeu](https://avatars.githubusercontent.com/u/7466259?v=4)](https://github.com/v-osazemeu "v-osazemeu (14 commits)")[![bbares](https://avatars.githubusercontent.com/u/24418708?v=4)](https://github.com/bbares "bbares (13 commits)")[![olalekan-agbaje](https://avatars.githubusercontent.com/u/1033208?v=4)](https://github.com/olalekan-agbaje "olalekan-agbaje (13 commits)")[![ayinloya](https://avatars.githubusercontent.com/u/8738215?v=4)](https://github.com/ayinloya "ayinloya (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![Yigaue](https://avatars.githubusercontent.com/u/47338915?v=4)](https://github.com/Yigaue "Yigaue (1 commits)")[![mldangelo](https://avatars.githubusercontent.com/u/7235481?v=4)](https://github.com/mldangelo "mldangelo (1 commits)")[![nii-mants3](https://avatars.githubusercontent.com/u/117258864?v=4)](https://github.com/nii-mants3 "nii-mants3 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/olalekan-smile-identity-core/health.svg)

```
[![Health](https://phpackages.com/badges/olalekan-smile-identity-core/health.svg)](https://phpackages.com/packages/olalekan-smile-identity-core)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
