PHPackages                             robertogallea/laravel-ui-faces - 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. robertogallea/laravel-ui-faces

ActiveLibrary[API Development](/categories/api)

robertogallea/laravel-ui-faces
==============================

Laravel package wrapping UI Faces API

1.1.0(6y ago)16MITPHP

Since Aug 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/robertogallea/laravel-ui-faces)[ Packagist](https://packagist.org/packages/robertogallea/laravel-ui-faces)[ RSS](/packages/robertogallea-laravel-ui-faces/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

Laravel UI Faces
================

[](#laravel-ui-faces)

Laravel-ui-faces is a simple package for wrapping [UI Faces API](https://uifaces.co/). It provides a fluent API for building request to UI Faces REST service and parse response.

1. Installation
---------------

[](#1-installation)

For installing the package run the command

`composer require robertogallea/laravel-ui-faces`

2. Setup
--------

[](#2-setup)

The packages need a valid API key to be set in the `UI_FACES_API_KEY` variable inside your `.env` file. Optionally, you can change the default API URL by setting the `UI_FACES_API_URL` variable

It registers the UIFacesServiceProvider using laravel autodiscovery, in addition, if you want to use UIFaces Facade, you need to register the following alias inside `app.php`

```
'aliases' => [
...
    'UIFaces' => robertogallea\UIFaces\Facades\UIFaces::class
]

```

3. Usage
--------

[](#3-usage)

UI Faces can be used in several ways:

- Using Facade:

```
import UIFaces;
...
UIFaces::limit(10)
    ->from_age(18)
    ->to_age(22)
    ->getFaces();

```

- Using IoC:

```
public function show(UIFaces $uifaces)
{
    $faces = $uifaces
        ->limit(10)
        ->from_age(18)
        ->to_age(22)
        ->getFaces();
}

```

- Using Laravel Service Container:

```
import robertogallea\UIFaces\UIFaces;

...

    $faces = app(UIFaces::class)
        ->limit(10)
        ->from_age(18)
        ->to_age(22)
        ->getFaces();

```

UIFaces supports the following parameters:

- limit
- offset
- random
- from\_age
- to\_age

and the following parameter arrays;

- gender
- hairColor
- emotion

4. Issues, Questions and Pull Requests
--------------------------------------

[](#4-issues-questions-and-pull-requests)

You can report issues and ask questions in the [issues section](https://github.com/robertogallea/laravel-ui-faces/issues). Please start your issue with `ISSUE: ` and your question with `QUESTION: `

If you have a question, check the closed issues first.

To submit a Pull Request, please fork this repository, create a new branch and commit your new/updated code in there. Then open a Pull Request from your new branch. Refer to [this guide](https://help.github.com/articles/about-pull-requests/) for more info.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~15 days

Total

2

Last Release

2441d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/818f547bcf73a82393d9014c85c90c83d760102a8d4dfe806353afb83848a901?d=identicon)[robertogallea](/maintainers/robertogallea)

---

Top Contributors

[![robertogallea](https://avatars.githubusercontent.com/u/19411470?v=4)](https://github.com/robertogallea "robertogallea (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/robertogallea-laravel-ui-faces/health.svg)

```
[![Health](https://phpackages.com/badges/robertogallea-laravel-ui-faces/health.svg)](https://phpackages.com/packages/robertogallea-laravel-ui-faces)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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