PHPackages                             renamed-to/renamed-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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. renamed-to/renamed-php

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

renamed-to/renamed-php
======================

Official PHP SDK for the renamed.to API - AI-powered file renaming, PDF splitting, and data extraction

v0.1.6(5mo ago)18MITJavaPHP ^8.1CI passing

Since Jan 11Pushed 5mo agoCompare

[ Source](https://github.com/renamed-to/renamed-sdk)[ Packagist](https://packagist.org/packages/renamed-to/renamed-php)[ Docs](https://www.renamed.to)[ RSS](/packages/renamed-to-renamed-php/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (3)Versions (8)Used By (0)

 [    ![renamed.to](.github/logo.svg)  ](https://www.renamed.to)

renamed.to SDK
==============

[](#renamedto-sdk)

 **Official SDKs for AI-powered file renaming, PDF splitting, and data extraction**

 [![TypeScript](https://camo.githubusercontent.com/d29728442415e5f503e95fc3ffd54e1b66c09ebbb1c65a7322095b7a8725763f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f4072656e616d65642d746f2f73646b3f7374796c653d666c61742d737175617265266c6162656c3d5479706553637269707426636f6c6f723d333137386336)](https://www.npmjs.com/package/@renamed-to/sdk) [![Python](https://camo.githubusercontent.com/2488f8a7716e51c5355f0981dbdae8e234091c6fef61a9fef11ff4e5102251f5/68747470733a2f2f696d672e736869656c64732e696f2f707970692f762f72656e616d65643f7374796c653d666c61742d737175617265266c6162656c3d507974686f6e26636f6c6f723d333737366162)](https://pypi.org/project/renamed/) [![Go](https://camo.githubusercontent.com/360e9a1e11ba2bc7b2a1488ce77b7f10e8a0f58639b92e1b96e681d92d759ac3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f72656e616d65642d746f2f72656e616d65642d73646b3f7374796c653d666c61742d737175617265266c6162656c3d476f26636f6c6f723d303061646438)](https://pkg.go.dev/github.com/renamed-to/renamed-sdk/sdks/go) [![Java](https://camo.githubusercontent.com/f9f4bd53f2a64ea2b449a6c2eef338b094e8d573e341b1efa5ddce0066a066ef/68747470733a2f2f696d672e736869656c64732e696f2f6d6176656e2d63656e7472616c2f762f746f2e72656e616d65642f72656e616d65642d73646b3f7374796c653d666c61742d737175617265266c6162656c3d4a61766126636f6c6f723d656438623030)](https://central.sonatype.com/artifact/to.renamed/renamed-sdk) [![C#](https://camo.githubusercontent.com/531086c4fc36e3e2c25601af50eea014b85e270422f57b9c33de8b17442986e0/68747470733a2f2f696d672e736869656c64732e696f2f6e756765742f762f52656e616d65642e53646b3f7374796c653d666c61742d737175617265266c6162656c3d4325323326636f6c6f723d353132626434)](https://www.nuget.org/packages/Renamed.Sdk)

 [![Ruby](https://camo.githubusercontent.com/dfde5877248f20649f024c36c19bf3d694db48dd3dbe5ec5ed03c04723694332/68747470733a2f2f696d672e736869656c64732e696f2f67656d2f762f72656e616d65643f7374796c653d666c61742d737175617265266c6162656c3d5275627926636f6c6f723d636333343264)](https://rubygems.org/gems/renamed) [![Rust](https://camo.githubusercontent.com/13497b4f179f7a2ea8a44f2778ba60268f9a7c4089b542025d3862b4b12cf80c/68747470733a2f2f696d672e736869656c64732e696f2f6372617465732f762f72656e616d65643f7374796c653d666c61742d737175617265266c6162656c3d5275737426636f6c6f723d646561353834)](https://crates.io/crates/renamed) [![Swift](https://camo.githubusercontent.com/6b552160a64689de6db46e31ae79d6a30ce05d08afa6ba59203982982b6d3c7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f72656e616d65642d746f2f72656e616d65642d73646b3f7374796c653d666c61742d737175617265266c6162656c3d537769667426636f6c6f723d663035313338)](https://github.com/renamed-to/renamed-sdk) [![PHP](https://camo.githubusercontent.com/a79ccd7836e9e3b7a9a9cbdcec71b739709b4819fe389e64af1c9d78bfcda677/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656e616d65642d746f2f72656e616d65642d7068703f7374796c653d666c61742d737175617265266c6162656c3d50485026636f6c6f723d373737626234)](https://packagist.org/packages/renamed-to/renamed-php)

 [Quick Start](#-quick-start) • [Installation](#-installation) • [Features](#-features) • [API](#-api-reference) • [Docs](#-documentation)

---

🚀 Quick Start
-------------

[](#-quick-start)

Get your API key at [renamed.to/settings](https://www.renamed.to/settings).

**TypeScript****Python**```
import { RenamedClient } from '@renamed/sdk';

const client = new RenamedClient({
  apiKey: 'rt_...'
});

const result = await client.rename('invoice.pdf');
console.log(result.suggestedFilename);
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

```
from renamed import RenamedClient

client = RenamedClient(api_key='rt_...')

result = client.rename('invoice.pdf')
print(result.suggested_filename)
# → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

**More languages**### Go

[](#go)

```
import "github.com/renamed-to/renamed-sdk/sdks/go/renamed"

client := renamed.NewClient("rt_...")

result, _ := client.Rename(ctx, "invoice.pdf", nil)
fmt.Println(result.SuggestedFilename)
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### Java

[](#java)

```
import to.renamed.sdk.*;

RenamedClient client = new RenamedClient("rt_...");

RenameResult result = client.rename(Path.of("invoice.pdf"), null);
System.out.println(result.getSuggestedFilename());
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### C#

[](#c)

```
using Renamed.Sdk;

using var client = new RenamedClient("rt_...");

var result = await client.RenameAsync("invoice.pdf");
Console.WriteLine(result.SuggestedFilename);
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### Ruby

[](#ruby)

```
require 'renamed'

client = Renamed::Client.new(api_key: 'rt_...')

result = client.rename('invoice.pdf')
puts result.suggested_filename
# → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### Rust

[](#rust)

```
use renamed::RenamedClient;

let client = RenamedClient::new("rt_...");

let result = client.rename("invoice.pdf", None).await?;
println!("{}", result.suggested_filename);
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### Swift

[](#swift)

```
import Renamed

let client = try RenamedClient(apiKey: "rt_...")

let file = try FileInput(url: URL(fileURLWithPath: "invoice.pdf"))
let result = try await client.rename(file: file)
print(result.suggestedFilename)
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

### PHP

[](#php)

```
use Renamed\Client;

$client = new Client('rt_...');

$result = $client->rename('invoice.pdf');
echo $result->suggestedFilename;
// → "2025-01-15_AcmeCorp_INV-12345.pdf"
```

---

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

[](#-installation)

LanguagePackage Manager**TypeScript**```
npm install @renamed/sdk
```

**Python**```
pip install renamed
```

**Go**```
go get github.com/renamed-to/renamed-sdk/sdks/go
```

**Java**```

    to.renamed
    renamed-sdk
    0.1.0

```

**C# / .NET**```
dotnet add package Renamed.Sdk
```

**Ruby**```
gem install renamed
```

**Rust**```
[dependencies]
renamed = "0.1"
```

**Swift**```
.package(url: "https://github.com/renamed-to/renamed-sdk", from: "0.1.0")
```

**PHP**```
composer require renamed/sdk
```

---

✨ Features
----------

[](#-features)

### 🤖 Rename Files

[](#-rename-files)

AI-powered file renaming with intelligent naming suggestions:

```
const result = await client.rename('scan001.pdf');
// {
//   suggestedFilename: "2025-01-15_AcmeCorp_INV-12345.pdf",
//   folderPath: "2025/AcmeCorp/Invoices",
//   confidence: 0.95
// }
```

### ✂️ Split PDFs

[](#️-split-pdfs)

Split multi-page PDFs into individual documents:

```
const job = await client.pdfSplit('multi-page.pdf', { mode: 'auto' });
const result = await job.wait();

for (const doc of result.documents) {
  const buffer = await client.downloadFile(doc.downloadUrl);
  // Save doc.filename with buffer
}
```

### 📊 Extract Data

[](#-extract-data)

Extract structured data from documents:

```
const result = await client.extract('invoice.pdf', {
  prompt: 'Extract invoice number, date, and total amount'
});
console.log(result.data);
// { invoiceNumber: "INV-12345", date: "2025-01-15", total: 1234.56 }
```

---

📖 API Reference
---------------

[](#-api-reference)

MethodDescription`rename(file)`Rename a file using AI`pdfSplit(file, options)`Split PDF into documents`extract(file, options)`Extract structured data`getUser()`Get user profile &amp; credits`downloadFile(url)`Download a split document---

📋 Supported Files
-----------------

[](#-supported-files)

TypeFormats📄 DocumentsPDF🖼️ ImagesJPEG, PNG, TIFF---

📚 Documentation
---------------

[](#-documentation)

 [![API Docs](https://camo.githubusercontent.com/a5c995d006e9f5b2a11a288fe42be3c8b60b5c18ea93f1c49f725be337c1883a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4150495f446f63732d626c75653f7374796c653d666f722d7468652d6261646765)](https://www.renamed.to/docs/api-docs)

 [![TypeScript](https://camo.githubusercontent.com/fb68aa4b6d40d06538143916d6571d079c22e9d2f6a4f33bac7e58f6a5fc9adb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f547970655363726970742d3331373863363f7374796c653d666c61742d737175617265266c6f676f3d74797065736372697074266c6f676f436f6c6f723d7768697465)](./sdks/typescript/README.md) [![Python](https://camo.githubusercontent.com/e887ab5531130427f9fa45fe33fcd18360a4771f83728efb0d8d73c9e0646605/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d3337373661623f7374796c653d666c61742d737175617265266c6f676f3d707974686f6e266c6f676f436f6c6f723d7768697465)](./sdks/python/README.md) [![Go](https://camo.githubusercontent.com/c307204ebcf52b3c1fe77065b9fa460a2706766fd293dc71601aa51ccd6cbc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f2d3030616464383f7374796c653d666c61742d737175617265266c6f676f3d676f266c6f676f436f6c6f723d7768697465)](./sdks/go/README.md) [![Java](https://camo.githubusercontent.com/1bb4182d54d51cfc8a723e84674a3741e3654c6f4b04ce829c373567d823e447/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6176612d6564386230303f7374796c653d666c61742d737175617265266c6f676f3d6f70656e6a646b266c6f676f436f6c6f723d7768697465)](./sdks/java/README.md) [![C#](https://camo.githubusercontent.com/346ddfa0a7cd47c9f13f630050cdc6a5d23abe93dea6b3d0cc9ed31e5f4fbbf9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f432532332d3531326264343f7374796c653d666c61742d737175617265266c6f676f3d637368617270266c6f676f436f6c6f723d7768697465)](./sdks/csharp/README.md) [![Ruby](https://camo.githubusercontent.com/32eceaa067b792267f6277a292df17074e8572ef3aab90161e36dad4c67c412a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f527562792d6363333432643f7374796c653d666c61742d737175617265266c6f676f3d72756279266c6f676f436f6c6f723d7768697465)](./sdks/ruby/README.md) [![Rust](https://camo.githubusercontent.com/13e478f7878cd7dba6480d0c8b98f70dd2e7ee27ebea530871a89ddad92af798/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f527573742d6465613538343f7374796c653d666c61742d737175617265266c6f676f3d72757374266c6f676f436f6c6f723d626c61636b)](./sdks/rust/README.md) [![Swift](https://camo.githubusercontent.com/dadf68c960007fba527eaf6a9d6b9af4f0fde71f44eff6c7cecaa3b299d519aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53776966742d6630353133383f7374796c653d666c61742d737175617265266c6f676f3d7377696674266c6f676f436f6c6f723d7768697465)](./sdks/swift/README.md) [![PHP](https://camo.githubusercontent.com/4adf27ab1194ecc8055de5933134382d73cd00920eb3ecd95d5fd98075187cc1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3737376262343f7374796c653d666c61742d737175617265266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](./sdks/php/README.md)

---

 [Website](https://www.renamed.to) • [API Docs](https://www.renamed.to/docs/api-docs) • [Issues](https://github.com/renamed-to/renamed-sdk/issues)

 Built with ❤️ by the [renamed.to](https://www.renamed.to) team

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance73

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

5

Last Release

152d ago

### Community

Maintainers

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

---

Top Contributors

[![alexerm](https://avatars.githubusercontent.com/u/177259?v=4)](https://github.com/alexerm "alexerm (45 commits)")

---

Tags

aicsharpdocument-processingfile-renaming-automationgojavaocrpdfpdf-splitterphppythonrubyrustswifttypescriptpdfaiextractrenamedocumentOCRrenamedfile-processing

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/renamed-to-renamed-php/health.svg)

```
[![Health](https://phpackages.com/badges/renamed-to-renamed-php/health.svg)](https://phpackages.com/packages/renamed-to-renamed-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k40.5M272](/packages/smalot-pdfparser)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tecnickcom/tc-lib-pdf

PHP PDF Library

1.9k525.9k13](/packages/tecnickcom-tc-lib-pdf)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[vaites/php-apache-tika

Apache Tika bindings for PHP: extracts text from documents and images (with OCR), metadata and more...

1171.5M2](/packages/vaites-php-apache-tika)

PHPackages © 2026

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