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(3mo ago)120MITPHPPHP ^8.2

Since Mar 4Pushed 3mo 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 today

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

38

—

LowBetter than 83% of packages

Maintenance78

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

115d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/88472084?v=4)[projectjoker](/maintainers/projectjoker)[@projectjoker](https://github.com/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

[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M60](/packages/nystudio107-craft-seomatic)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)

PHPackages © 2026

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