PHPackages                             nabeghe/tepade - 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. nabeghe/tepade

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

nabeghe/tepade
==============

A text detector with support for named parameters.

1.0.0(1y ago)35MITPHPPHP &gt;=7.4

Since Oct 12Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/nabeghe/tepade-php)[ Packagist](https://packagist.org/packages/nabeghe/tepade)[ Docs](https://github.com/nabeghe/curly-brace-pattern-php)[ RSS](/packages/nabeghe-tepade/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Tepade for PHP ≥ 7.4
====================

[](#tepade-for-php--74)

> A text detector with support for named parameters.

Easily detect texts that contain named variables enclosed within curly braces. There's a bit of flair in this library that you can check in the examples.

**Notice:** You can change the regex related to capturing parameters. but the default regex can only be enclosed within curly braces, must start with an English letter, supports only letters, numbers, &amp; the underscore (\_) character.

🫡 Usage
-------

[](#-usage)

### 🚀 Installation

[](#-installation)

You can install the package via composer:

```
composer require nabeghe/tepade
```

### Examples

[](#examples)

Check the examples folder in the repositiry.

- [Example 1: Return](examples/1-return.php)
- [Example 2: Callback](examples/2-callback.php)
- [Example 3: Callback Custom Args](examples/3-callback-custom-args.php)
- [Example 4: Validators](examples/4-validators.php)
- [Example 5: Builder](examples/5-builder.php)
- [Example 6: Multiple Patterns](examples/6-multiple-patterns.php)
- [Example 7: Structure](examples/7-structure.php)

📖 License
---------

[](#-license)

Licensed under the MIT license, see [LICENSE.md](LICENSE.md) for details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance47

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

575d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

named-parametrnamedparameterphpphp-stringphp-string-helperphp-stringsphp-text-analysisstringtepadetexttext-detectionstringlibrarydetectortextpatterntext patternparamscurly bracetext detectortext matchernamed paramstext paramsnamed params detectortext params detectorpattern detectortext pattern detectorcurly brace patterncurly brace match

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nabeghe-tepade/health.svg)

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

###  Alternatives

[lolli42/finediff

PHP implementation of a Fine granularity Diff engine

138.8M3](/packages/lolli42-finediff)[d4h/finediff

PHP implementation of a Fine granularity Diff engine

141.3M1](/packages/d4h-finediff)[edgaras/strsim

Collection of string similarity and distance algorithms in PHP including Levenshtein, Damerau-Levenshtein, Jaro-Winkler, and more

2423.0k](/packages/edgaras-strsim)

PHPackages © 2026

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