PHPackages                             refatbd/free-fire-php - 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. refatbd/free-fire-php

ActiveLibrary

refatbd/free-fire-php
=====================

Framework-independent Free Fire player information client.

v1.0.0(today)001MITPHPPHP ^8.2

Since Jul 27Pushed todayCompare

[ Source](https://github.com/refatbd/free-fire-php)[ Packagist](https://packagist.org/packages/refatbd/free-fire-php)[ RSS](/packages/refatbd-free-fire-php/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (2)Used By (1)

refatbd/free-fire-php
=====================

[](#refatbdfree-fire-php)

> **Generated distribution repository:** development happens in `refatbd/free-fire-php-monorepo`. Do not edit the split repository directly.

Framework-independent PHP engine for Free Fire player information, region credentials, core-registered selectable OB protocol profiles, token management, uint64-safe Protobuf handling and official-media rendering.

```
composer require refatbd/free-fire-php
```

Player lookup
-------------

[](#player-lookup)

```
use Refatbd\FreeFire\FreeFireFactory;
use Refatbd\FreeFire\Protocol\BuiltInProtocolProfiles;

$profile = BuiltInProtocolProfiles::get(getenv('FREEFIRE_PROTOCOL') ?: 'OB54');
$client = FreeFireFactory::make(
    __DIR__.'/storage/freefire-cache',
    profile: $profile,
);

$player = $client->player('4422076728', 'BD');
```

Release distributions already contain generated PHP Protobuf classes. Contributors working from the canonical monorepo regenerate them only after schema changes:

```
composer proto:validate
composer proto:generate
```

Official media from plain PHP
-----------------------------

[](#official-media-from-plain-php)

Pass the same profile to the player and media factories so protocol and media cache namespaces remain aligned:

```
$media = FreeFireFactory::makeMedia(
    __DIR__.'/storage/freefire-cache',
    __DIR__.'/storage/freefire-tmp',
    profile: $profile,
);

$avatar = $media->avatar($player);
file_put_contents(__DIR__.'/public/avatar.webp', $avatar->data);
```

Official ASTC rendering requires a local `astcenc` executable and PHP GD with WebP support. Player JSON remains available when media rendering is unavailable.

Maintain new OB releases with `docs/OB_UPDATE_GUIDE.md`. Older profiles remain separate so a deployment can roll back without rewriting protocol history.

Bundled ASTC decoder
--------------------

[](#bundled-astc-decoder)

The split core package includes optional Arm `astcenc` executables for Linux and Windows. They are distributed under Apache License 2.0; see `THIRD_PARTY_NOTICES.md` and `bin/LICENSE.astcenc.txt`. System-installed `astcenc` remains supported and takes priority.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/45603608?v=4)[Refat Rahman](/maintainers/refatbd)[@refatbd](https://github.com/refatbd)

---

Top Contributors

[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![refatbd](https://avatars.githubusercontent.com/u/45603608?v=4)](https://github.com/refatbd "refatbd (1 commits)")

### Embed Badge

![Health badge](/badges/refatbd-free-fire-php/health.svg)

```
[![Health](https://phpackages.com/badges/refatbd-free-fire-php/health.svg)](https://phpackages.com/packages/refatbd-free-fire-php)
```

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.4k](/packages/symfony-cache)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k54](/packages/ecotone-ecotone)[api-platform/metadata

API Resource-oriented metadata attributes and factories

295.0M223](/packages/api-platform-metadata)

PHPackages © 2026

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