PHPackages                             just-better/bard-link-suggestions - 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. just-better/bard-link-suggestions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

just-better/bard-link-suggestions
=================================

Add's functionality to the bard so that it suggests links.

0.0.1(2mo ago)0219↓50%PHPCI passing

Since Apr 10Pushed 2mo agoCompare

[ Source](https://github.com/justbetter/statamic-bard-link-suggestions)[ Packagist](https://packagist.org/packages/just-better/bard-link-suggestions)[ RSS](/packages/just-better-bard-link-suggestions/feed)WikiDiscussions master Synced 1w ago

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

Statamic Bard Link Suggestions
==============================

[](#statamic-bard-link-suggestions)

[ ![JustBetter logo](./art/header.png)](https://justbetter.nl "JustBetter")A Statamic addon that adds \*\*link suggestions\*\* to the Bard editor. While you type in Bard, this addon searches for possible links and shows a dropdown of suggestions. Suggestions are sourced from:

- **Statamic entries** (based on configurable fields per collection)
- **Sitemaps** (URLs indexed from one or more sitemap XML files)

### Requirements

[](#requirements)

- Statamic v6
- Laravel 12+
- PHP 8.3+
- Statamic Eloquent Driver (this package queries entries via Eloquent/Stache)

### Installation

[](#installation)

Install the package via Composer:

```
composer require just-better/bard-link-suggestions
```

Run the migrations:

```
php artisan migrate
```

### Usage

[](#usage)

Once installed, Bard will start requesting suggestions while you type.

- Suggestions appear after typing **3+ characters** of the current word (debounced).
- Clicking a suggestion turns the current word into a link.
- Only **super users** and users with the **marketeer** flag will see suggestions.

### Configuration (Control Panel)

[](#configuration-control-panel)

Go to the Control Panel settings page:

- **JustBetter → Suggestions settings**

On this page you can configure:

- **Queryable fields per collection**: choose which entry fields should be searched.
- **Sitemap URLs**: add one or more sitemap XML URLs (per Statamic site).

### Sitemap indexing

[](#sitemap-indexing)

Sitemap suggestions are backed by a database table that stores URLs extracted from your sitemap(s).

Index all configured sitemaps using:

```
php artisan statamic-bard-suggestions:index-sitemaps
```

Notes:

- Indexing runs via the **queue**. Make sure a queue worker is running.
- When you update sitemap settings, indexing/pruning jobs are dispatched automatically.

### Quality

[](#quality)

To ensure the quality of this package, run:

```
composer quality
```

This will execute:

1. Tests
2. Static analysis
3. Code style checks

### Testing

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Bob Wezelman](https://github.com/BobWez98)
- [All Contributors](../../contributors)

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

[ ![JustBetter logo](./art/footer.svg)](https://justbetter.nl "JustBetter")

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance88

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

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

Unknown

Total

1

Last Release

60d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d00b3f55cd4ae8b8cfb001a644ed6c7a1127a956c24375bcfe16ce12bd89bed?d=identicon)[justbetter](/maintainers/justbetter)

---

Top Contributors

[![BobWez98](https://avatars.githubusercontent.com/u/23509926?v=4)](https://github.com/BobWez98 "BobWez98 (6 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/just-better-bard-link-suggestions/health.svg)

```
[![Health](https://phpackages.com/badges/just-better-bard-link-suggestions/health.svg)](https://phpackages.com/packages/just-better-bard-link-suggestions)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135212.4k7](/packages/statamic-rad-pack-runway)[statamic/seo-pro

68488.6k](/packages/statamic-seo-pro)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3310.1k](/packages/duncanmcclean-statamic-cargo)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

23100.9k12](/packages/marcorieser-statamic-livewire)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17818.7k](/packages/markwalet-nova-modal-response)[aerni/livewire-forms

A Statamic forms framework powered by Laravel Livewire

2914.3k](/packages/aerni-livewire-forms)

PHPackages © 2026

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