PHPackages                             projectjoker/craft-alt-extend - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. projectjoker/craft-alt-extend

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

projectjoker/craft-alt-extend
=============================

Appends or prepends a configurable text to image alt attributes in Craft CMS

1.0.1(2mo ago)120MITPHPPHP ^8.2

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/project-joker/craft-alt-extend)[ Packagist](https://packagist.org/packages/projectjoker/craft-alt-extend)[ RSS](/packages/projectjoker-craft-alt-extend/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

 [![Alt Extend for Craft CMS](https://raw.githubusercontent.com/project-joker/craft-alt-extend/main/banner.svg)](https://raw.githubusercontent.com/project-joker/craft-alt-extend/main/banner.svg)

Alt Extend
==========

[](#alt-extend)

A Craft CMS 5 plugin that automatically extends image alt attributes with a configurable text — as suffix or prefix — keeping your SEO and accessibility consistent across the entire site.

Why?
----

[](#why)

Many websites need a recurring brand name or location appended to every image alt text. Doing this manually across hundreds of images is tedious and error-prone. Alt Extend handles it globally through a single Twig filter while still allowing you to opt out on individual assets.

Requirements
------------

[](#requirements)

- Craft CMS 5.3.0+
- PHP 8.2+

Installation
------------

[](#installation)

```
composer require projectjoker/craft-alt-extend
php craft plugin/install alt-extend
```

Or install through the Craft Control Panel under **Settings &gt; Plugins**.

Configuration
-------------

[](#configuration)

Open **Settings &gt; Plugins &gt; Alt Extend** in the Control Panel:

SettingDefaultDescription**Text**—The text to append or prepend (e.g. `My Company in Berlin`)**Position**SuffixWhether the text is added after or before the existing alt text**Separator**`|`Characters placed between the original alt text and your text### Example output

[](#example-output)

With the text set to `My Company` and the default separator:

InputOutput`A sunny beach``A sunny beach | My Company`*(empty)*`My Company`Usage
-----

[](#usage)

Pass an asset directly to the `alt` filter. The filter reads the native alt text from the asset:

```

```

Plain strings work as well:

```

```

### Per-asset opt-out

[](#per-asset-opt-out)

During installation the plugin creates a Lightswitch field called **Disable Alt Extend** (handle: `altExtendDisabled`). Add this field to your asset volume's field layout to gain per-image control.

When the switch is enabled on an asset, the `alt` filter returns the original alt text without any additions.

Roadmap
-------

[](#roadmap)

- Multi-site / multi-language support
- Configurable field handle for the opt-out switch

License
-------

[](#license)

This plugin is licensed under the [MIT License](LICENSE.md).

---

Built by [Project Joker](https://project-joker.com)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance88

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

61d ago

### Community

Maintainers

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

---

Top Contributors

[![sergejreznik](https://avatars.githubusercontent.com/u/5619563?v=4)](https://github.com/sergejreznik "sergejreznik (3 commits)")

---

Tags

cmsaccessibilityCraftcraftcmsseoalt

### Embed Badge

![Health badge](/badges/projectjoker-craft-alt-extend/health.svg)

```
[![Health](https://phpackages.com/badges/projectjoker-craft-alt-extend/health.svg)](https://phpackages.com/packages/projectjoker-craft-alt-extend)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[vaersaagod/seomate

SEO, mate! It's important.

4341.6k2](/packages/vaersaagod-seomate)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)

PHPackages © 2026

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