PHPackages                             syntaxoops/autosuggest - 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. syntaxoops/autosuggest

ActiveTypo3-cms-extension

syntaxoops/autosuggest
======================

A TYPO3 extension that adds auto suggestion for frontend and backend input fields.

v13.0.0(8mo ago)22GPL-3.0-or-laterPHPPHP &gt;= 8.1 &lt; 8.4

Since Sep 14Pushed 8mo agoCompare

[ Source](https://github.com/SyntaxOops/autosuggest)[ Packagist](https://packagist.org/packages/syntaxoops/autosuggest)[ RSS](/packages/syntaxoops-autosuggest/feed)WikiDiscussions main Synced 1mo ago

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

Auto Suggest Extension
======================

[](#auto-suggest-extension)

Adds a dynamic suggestion list below a text input field.
This extension includes jQuery to function properly.

---

#### Troubleshooting

[](#troubleshooting)

*ERROR* : Request parameters could not be validated (&amp;cHash empty)

```
[FE][pageNotFoundOnCHashError] = 0
```

---

### Frontend

[](#frontend)

[![Screenshot](Documentation/screenshot-for-frontend.png)](Documentation/screenshot-for-frontend.png)

The auto suggest plugin works on the frontend using HTML data attributes.

```
{namespace as=SyntaxOOps\Autosuggest\ViewHelpers}

```

> The extension provides the auto suggest ViewHelper namespace. This namespace is automatically loaded.

Alternatively, you can use TypoScript for the configuration and pass only the identifier to the ViewHelper.

```
{namespace as=SyntaxOOps\Autosuggest\ViewHelpers}

plugin.tx_autosuggest {
    settings {
        news {
            storagePids {
                0 = 123
                1 = 213
                2 = 312
            }
            additionalParameters {
                table = tx_news_domain_model_news
                field = title
                recursive = 1
                recursive_depth = 99
            }
        }
    }
}

```

---

### Backend

[](#backend)

[![Screenshot](Documentation/screenshot-for-backend.png)](Documentation/screenshot-for-backend.png)

#### Enable auto suggest for backend input fields

[](#enable-auto-suggest-for-backend-input-fields)

```
$GLOBALS['TCA']['tx_news_domain_model_news']['columns']['author']['config']['autosuggest'] = [
    'identifier' => 'news',
    'table' => 'tx_news_domain_model_news',
    'field' => 'title',
    'storage_pids' => '123,213,312',
    'additionalUriParameters' => [
        'recursive' => true, // include subfolder of storage_pids
        'recursive_depth' => 999
    ], // applied to data-json-path uri path
    'additionalParameters' => [
        'data-combobox-case-sensitive' => 'no',
        'data-combobox-search-option' => 'containing',
        'data-combobox-limit-number-suggestions' => 10,
    ],
];

```

---

#### Custom Suggest Services

[](#custom-suggest-services)

A new concept, Suggest Services has been introduced. These are singleton classes designed to provide data for suggestion features.

To register a suggested service, add the registration code to your extension’s `ext_localconf.php` file:

```
$GLOBALS['TYPO3_CONF_VARS']['EXT']['autosuggest']['custom'] =
    \Vendor\MyExtension\Service\Suggest\CustomSuggestService::class;

```

> The array key custom serves as the SuggestService identifier.
> This is the value you will use in your ViewHelper to access its suggestions.

Once registered, create the corresponding service class to provide the data.
The class can either :

Extend `GenericSuggestService.php` class

```
/**
 * Class CustomSuggestService
 */
class CustomSuggestService extends GenericSuggestService
{
    protected string $type = 'custom';
}

```

Or implement `SuggestServiceInterface.php` interface.

```
/**
 * Class CustomSuggestService
 */
class CustomSuggestService implements SuggestServiceInterface
{
    /**
     * @return array
     */
    public function generateItems()
    {
        return [
            [
                'name' => 'Example Title 1'
            ],
            [
                'name' => 'Example Title 2'
            ],
            [
                'name' => 'Example Title 3'
            ]
        ];
    }
}

```

> Clear caches and you're ready to go!

---

### Note

[](#note)

The extension provides an abstract service class, `AbstractExtbaseSuggestService.php`.
This class can be extended to create *Extbase*-based suggest services, allowing you to fetch data using queries, repositories, or other Extbase mechanisms.

---

### Contributing

[](#contributing)

Contributions are welcome! Please fork the repository and submit a pull request with improvements or bug fixes.

---

### License

[](#license)

MIT License – see the LICENSE file for details.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance61

Regular maintenance activity

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

246d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147941250?v=4)[Haythem Daoud](/maintainers/d-haythem)[@d-haythem](https://github.com/d-haythem)

---

Top Contributors

[![d-haythem](https://avatars.githubusercontent.com/u/147941250?v=4)](https://github.com/d-haythem "d-haythem (8 commits)")[![haythem-daoud](https://avatars.githubusercontent.com/u/254299159?v=4)](https://github.com/haythem-daoud "haythem-daoud (2 commits)")

---

Tags

formtypo3autosuggest

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/syntaxoops-autosuggest/health.svg)

```
[![Health](https://phpackages.com/badges/syntaxoops-autosuggest/health.svg)](https://phpackages.com/packages/syntaxoops-autosuggest)
```

###  Alternatives

[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[in2code/femanager

Modern TYPO3 Frontend User Registration.

49745.4k6](/packages/in2code-femanager)[pagemachine/typo3-formlog

Form log for TYPO3

23225.3k6](/packages/pagemachine-typo3-formlog)[in2code/powermail_cond

Add conditions (via AJAX) to powermail forms for fields and pages

10530.6k](/packages/in2code-powermail-cond)

PHPackages © 2026

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