Basic string templating engine for Laravel applications.
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' => '}',
];
\Rpungello\LaravelStringTemplate\Facades\LaravelStringTemplate::format('{value1} - {value2}', [
'value1' => 1,
'value2' => 2,
]));
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.