PHPackages                             pracucci/phoneid-php-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. pracucci/phoneid-php-sdk

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

pracucci/phoneid-php-sdk
========================

Login with your mobile phone made easy.

0.0.2(10y ago)1201MITPHP

Since Aug 10Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

Phone.id PHP SDK
================

[](#phoneid-php-sdk)

This PHP SDK allows you to easily implement the Phone.id authentication on web. To see how it works, please take a look at `examples/authentication`.

### What's Phone.id?

[](#whats-phoneid)

Phone.id is a service that makes "login with your mobile number" so easy that hurts.

### Composer

[](#composer)

This library is installable via Composer. To include it in your projects, run the following command:

`composer require pracucci/phoneid-php-sdk`

### How to register an app

[](#how-to-register-an-app)

To register an app and get Phone.id credentials, you should:

1. Login to  with your mobile phone
2. Create a new app and get client id and secret

### Contributing

[](#contributing)

Run tests before pushing a pull request:

```
phpunit --bootstrap src/PhoneId/autoload.php tests
```

### License

[](#license)

MIT

### Changes

[](#changes)

#### 0.0.2 (2015-09-22)

[](#002-2015-09-22)

- Update the SDK to support new endpoints
- Added `PhoneId::exchangeAuthorizationCode()` method to exchange an authorization code with an access token
- Fix: POST request content-encoding should be `application/x-www-form-urlencoded`
- Fix: `PhoneIdClient` didn't throw exceptions successfully on errors

#### 0.0.1 (2015-08-10)

[](#001-2015-08-10)

- Server-side authentication support (see `examples/authentication`)
- Installable via Composer (psr-4 autoloader)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Every ~42 days

Total

2

Last Release

3892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d964f5795dec26ba13b3cdbc3d800e57b0761dc39c8ac38cc349597600a66298?d=identicon)[pracucci](/maintainers/pracucci)

---

Tags

mobileloginnumberphoneid

### Embed Badge

![Health badge](/badges/pracucci-phoneid-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/pracucci-phoneid-php-sdk/health.svg)](https://phpackages.com/packages/pracucci-phoneid-php-sdk)
```

###  Alternatives

[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.5M87](/packages/overtrue-socialite)[auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

40820.2M68](/packages/auth0-auth0-php)[auth0/login

Auth0 Laravel SDK. Straight-forward and tested methods for implementing authentication, and accessing Auth0's Management API endpoints.

2745.0M3](/packages/auth0-login)[cesargb/laravel-magiclink

Create secure link for access to private data or login in Laravel without password

4571.3M](/packages/cesargb-laravel-magiclink)[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)[delight-im/auth

Authentication for PHP. Simple, lightweight and secure.

1.3k135.7k20](/packages/delight-im-auth)

PHPackages © 2026

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