PHPackages                             patelutkarsh/better-file-name - 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. [Image &amp; Media](/categories/media)
4. /
5. patelutkarsh/better-file-name

ActiveWordpress-plugin[Image &amp; Media](/categories/media)

patelutkarsh/better-file-name
=============================

A WordPress plugin to rename the image based on the image content using openai.

1.5.0(2mo ago)1818GPL-2.0-or-laterPHPCI passing

Since Nov 12Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/PatelUtkarsh/better-file-name-ai)[ Packagist](https://packagist.org/packages/patelutkarsh/better-file-name)[ RSS](/packages/patelutkarsh-better-file-name/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (22)Used By (0)

Better File Name
================

[](#better-file-name)

Description
-----------

[](#description)

This WordPress plugin renames files to be more readable using OpenAI (gpt-4.1-mini) upon upload and generates accessible alt text for images.

### Additional features:

[](#additional-features)

- Allows generating featured image using dall-e-2 or dall-e-3 API.

> Note: This plugin relies on the OpenAI API. You must have an OpenAI account and API key.

Demo:
-----

[](#demo)

    demo.mp4    Installation
------------

[](#installation)

### Manual Installation

[](#manual-installation)

1. Download the zip file from the [GitHub release](https://github.com/PatelUtkarsh/better-file-name-ai/releases)
2. Upload the plugin folder to /wp-content/plugins/.
3. Activate the plugin through the 'Plugins' menu in WordPress.
4. Set up the open API key from the settings page under the 'Tools' menu: /wp-admin/tools.php?page=better-file-name-settings

### Composer Installation (if your setup supports composer autoloading)

[](#composer-installation-if-your-setup-supports-composer-autoloading)

1. Run `composer require patelutkarsh/better-file-name` command.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Set up the open API key from the settings page under the 'Tools' menu: `/wp-admin/tools.php?page=better-file-name-settings`

Generate Missing Alt Text
-------------------------

[](#generate-missing-alt-text)

Run following command to generate alt text for all images that do not have any.

```
wp better-file-name generate-alt-text --dry-run

```

This can take a while depending on the number of images on your site.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance84

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.4% 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 ~55 days

Recently: every ~169 days

Total

16

Last Release

81d ago

### Community

Maintainers

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

---

Top Contributors

[![PatelUtkarsh](https://avatars.githubusercontent.com/u/5015489?v=4)](https://github.com/PatelUtkarsh "PatelUtkarsh (171 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (1 commits)")

---

Tags

accessibilityalt-textgpt-4oimage-generationopenaiwordpress-plugin

### Embed Badge

![Health badge](/badges/patelutkarsh-better-file-name/health.svg)

```
[![Health](https://phpackages.com/badges/patelutkarsh-better-file-name/health.svg)](https://phpackages.com/packages/patelutkarsh-better-file-name)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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