Looking to hire Laravel developers? Try LaraJobs

laravel-string-template maintained by rpungello

Description
String template engine for Laravel applications
Author
Last update
2026/04/21 01:20 (dev-dependabot/github_actions/dependabot/fetch-metadata-3.1.0)
License
Downloads
5 307

Comments
comments powered by Disqus

String template engine for Laravel applications

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Basic string templating engine for Laravel applications.

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

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

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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