PHPackages                             askual/facify - 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. askual/facify

ActiveLibrary[API Development](/categories/api)

askual/facify
=============

FaceApp PHP API wrapper

523PHP

Since Sep 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/askual/facify)[ Packagist](https://packagist.org/packages/askual/facify)[ RSS](/packages/askual-facify/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Facify
======

[](#facify)

Transform your face using Artificial Intelligence with PHP [FaceApp](http://faceapp.com) API
FaceApp is an [Android](https://play.google.com/store/apps/details?id=io.faceapp) and [iOS](https://itunes.apple.com/app/id1180884341) application.
This library is an unofficial wrapper to their AI system.

[![](preview.jpg)](preview.jpg)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- cURL/PHP

Basic usage
-----------

[](#basic-usage)

```
	composer require askual/facify
```

Methods
-------

[](#methods)

```
$FaceApp = new Facify('PHOTO_PATH');
```

### getPhotoCode

[](#getphotocode)

Get the 'photo unique id' that has Been uploaded to faceapp servers

```
$photoCode = $FaceApp->getPhotoCode();
```

### getFilters

[](#getfilters)

Get all filters are available to apply the photo

```
$photoCode = $FaceApp->getFilters(); //returns an array of filters

/*filters :
	-no-filter
	-smile
	-smile_2
	-hot
	-old
	-young
	-hollywood
	-fun_glasses
	-hitman
	-mustache_free
	-pan
	-heisenberg
	-female
	-female_2
	-male
	-no-filter
	-impression
	-goatee
	-mustache
	-hipster
	-lion
	-bangs
	-glasses
	-wave
	-makeup
*/
```

### applyFilter

[](#applyfilter)

Get the code of photo has Been uploaded to faceapp servers

```
$FaceApp->applyFilter(PHOTO_CODE , SELECTED_FILTER , CROP_FACE_OR_NOT);

//example :
//PHOTO_CODE(string) : $photoCode
//SELECTED_FILTER(string) : 'old'
//CROP_FACE_OR_NOT(bool) : true or false
```

### savePhoto

[](#savephoto)

Save the final filtered photo

```
$FaceApp->savePhoto('NEW_PHOTO_PATH.jpg');
```

### Proxy Mode

[](#proxy-mode)

As you may know this service has some limits for requesting so I created a "Proxy Mode" for it
Proxy servers has been added to faceapp.php line 44
All of them works well but i dont guarantee them to work for a long time
If you have any proxy server you can put it in the list
And you can turn the proxy server on with this code

```
$FaceApp = new FaceApp('PHOTO_PATH', true );
```

Take a look at "ProxyMode.php"

License
-------

[](#license)

`Facify` is licensed under the MIT License - see the LICENSE file for details

[Askual.com](http://askual.com)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32495647?v=4)[Askual Technologies](/maintainers/askual)[@askual](https://github.com/askual)

---

Top Contributors

[![Narixius](https://avatars.githubusercontent.com/u/16634828?v=4)](https://github.com/Narixius "Narixius (9 commits)")[![dKibru](https://avatars.githubusercontent.com/u/32495495?v=4)](https://github.com/dKibru "dKibru (6 commits)")

### Embed Badge

![Health badge](/badges/askual-facify/health.svg)

```
[![Health](https://phpackages.com/badges/askual-facify/health.svg)](https://phpackages.com/packages/askual-facify)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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