PHPackages                             rpungello/laravel-string-template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. rpungello/laravel-string-template

ActiveLibrary[Templating &amp; Views](/categories/templating)

rpungello/laravel-string-template
=================================

String template engine for Laravel applications

3.1.0(1y ago)05.4k↑285.7%[2 PRs](https://github.com/rpungello/laravel-string-template/pulls)1MITPHPPHP ^8.1CI passing

Since Jul 14Pushed 1w ago1 watchersCompare

[ Source](https://github.com/rpungello/laravel-string-template)[ Packagist](https://packagist.org/packages/rpungello/laravel-string-template)[ Docs](https://github.com/rpungello/laravel-string-template)[ RSS](/packages/rpungello-laravel-string-template/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (10)Versions (8)Used By (1)

String template engine for Laravel applications
===============================================

[](#string-template-engine-for-laravel-applications)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ee2adbef9ad6f94f6dcc6ba57586664ddcbbbe913b95b036edb45a7be024f423/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7270756e67656c6c6f2f6c61726176656c2d737472696e672d74656d706c6174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rpungello/laravel-string-template)[![GitHub Tests Action Status](https://camo.githubusercontent.com/df7661cdf7ed80a7020ed1c8f7a6d3028cb2898b61befc7de36a853c45d01c5a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7270756e67656c6c6f2f6c61726176656c2d737472696e672d74656d706c6174652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/rpungello/laravel-string-template/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/302c3a398726ceb43264a27a2fa388bf0338230005615390cdfe449fdf4b8bcb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7270756e67656c6c6f2f6c61726176656c2d737472696e672d74656d706c6174652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/rpungello/laravel-string-template/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/9aedd7a9621242ce9cda8f19affc70c76a5151369ccc91b510e1ff95b3be92db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7270756e67656c6c6f2f6c61726176656c2d737472696e672d74656d706c6174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rpungello/laravel-string-template)

Basic string templating engine for Laravel applications.

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

[](#installation)

You can install the package via composer:

```
composer require rpungello/laravel-string-template
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-string-template-config"
```

This is the contents of the published config file:

```
return [
    'left' => '{',
    'right' => '}',
];
```

Usage
-----

[](#usage)

```
\Rpungello\LaravelStringTemplate\Facades\LaravelStringTemplate::format('{value1} - {value2}', [
    'value1' => 1,
    'value2' => 2,
]));
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/rpungello/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Rob Pungello](https://github.com/rpungello)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance73

Regular maintenance activity

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

490d ago

Major Versions

1.0.0 → 2.0.02023-02-23

2.0.1 → 3.0.02024-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a690a16dfab0dcfd9d326e1ee3619832e586b1ac53fb52faa6ab00246eefb7a?d=identicon)[rpungello](/maintainers/rpungello)

---

Top Contributors

[![rpungello](https://avatars.githubusercontent.com/u/3287663?v=4)](https://github.com/rpungello "rpungello (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (19 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")

---

Tags

laravelrpungellolaravel-string-template

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/rpungello-laravel-string-template/health.svg)

```
[![Health](https://phpackages.com/badges/rpungello-laravel-string-template/health.svg)](https://phpackages.com/packages/rpungello-laravel-string-template)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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