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(4mo ago)1818GPL-2.0-or-laterPHPCI passing

Since Nov 12Pushed 4mo 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 2d 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

40

—

FairBetter than 86% of packages

Maintenance75

Regular maintenance activity

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

134d 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

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)

PHPackages © 2026

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