PHPackages                             d1kdat/furaffinity-api-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. [API Development](/categories/api)
4. /
5. d1kdat/furaffinity-api-php

ActiveLibrary[API Development](/categories/api)

d1kdat/furaffinity-api-php
==========================

FurAffinity scraper API in PHP

2.1.11(5mo ago)02MITPHPPHP &gt;=8.1

Since Mar 26Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/d1KdaT/FurAffinity-API-PHP)[ Packagist](https://packagist.org/packages/d1kdat/furaffinity-api-php)[ RSS](/packages/d1kdat-furaffinity-api-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (13)Used By (0)

FurAffinity API (Unofficial PHP Parser)
=======================================

[](#furaffinity-api-unofficial-php-parser)

[![GitHub release](https://camo.githubusercontent.com/171a4c527da03b483615276bb6cacf60ec0e39ffa27f87fdab3d58d27317c222/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f64316b6461742f667572616666696e6974792d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/d1kdat/furaffinity-api-php)[![Supported PHP Version](https://camo.githubusercontent.com/73916269012be636b473e866be07e069e0822209b2de8adf121c9c2e4bc52692/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f64316b6461742f667572616666696e6974792d6170692d7068702f7068702e7376673f7374796c653d666c61742d737175617265)](README.md)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist](https://camo.githubusercontent.com/870897526ccbc298dee400bfbe17c9c8493db956a7ae70ce6ea65628e39b8ee7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64316b6461742f667572616666696e6974792d6170692d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/d1kdat/furaffinity-api-php)

A lightweight and modern PHP library for interacting with FurAffinity through HTML parsing.
Provides functionality for reading submissions, checking user activity, toggling favorites/watches, and working with the message center.

> ⚠️ This project is **unofficial** and not affiliated with FurAffinity.net. Use at your own discretion.

---

📦 Installation
--------------

[](#-installation)

You can install the library via Composer:

```
composer require d1kdat/furaffinity-api-php
```

This will automatically pull the latest version from [Packagist](https://packagist.org/packages/d1kdat/furaffinity-api-php) and configure autoloading.

---

✅ Requirements
--------------

[](#-requirements)

- PHP 8.1 or higher
- PHP extensions:
    - `curl`
    - `iconv`
    - `pcre`

---

🚀 Quick Usage
-------------

[](#-quick-usage)

```
use FurAffinity\Exchange;

$settings = [
    'username' => 'your_username',
    'a' => 'cookie_a',
    'b' => 'cookie_b',
];

$fa = new Exchange($settings);

$submission = $fa->getById(22872063);

if ($submission !== false) {
    print_r($submission);
}
```

---

📚 Features
----------

[](#-features)

- 🔍 Get submission data by ID
- ⭐ Toggle favorites
- 👤 Toggle watch/unwatch
- ✅ Check login state
- 👁️ Check if a user exists
- 📥 Read your watchlist
- 📫 Read and remove new message center submissions

---

📂 Examples
----------

[](#-examples)

See [`examples/`](examples/) for ready-to-run scripts:

- [`get_submission_data.php`](examples/get_submission_data.php)
- [`get_watchlist.php`](examples/get_watchlist.php)
- [`check_user_exists.php`](examples/check_user_exists.php)
- [`check_log_in.php`](examples/check_log_in.php)
- [`toggle_watch.php`](examples/toggle_watch.php)
- [`toggle_favorite.php`](examples/toggle_favorite.php)
- [`remove_msg_submissions.php`](examples/remove_msg_submissions.php)
- [`get_new_msg_submissions.php`](examples/get_new_msg_submissions.php)

> Each example uses `config.php` or falls back to `config.example.php` for authentication.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance70

Regular maintenance activity

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~22 days

Recently: every ~60 days

Total

12

Last Release

169d ago

### Community

Maintainers

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

---

Top Contributors

[![d1KdaT](https://avatars.githubusercontent.com/u/18718029?v=4)](https://github.com/d1KdaT "d1KdaT (17 commits)")

### Embed Badge

![Health badge](/badges/d1kdat-furaffinity-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/d1kdat-furaffinity-api-php/health.svg)](https://phpackages.com/packages/d1kdat-furaffinity-api-php)
```

###  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)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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