hostnet/financial-twig-extension-bundle
最新稳定版本:1.0.7
Composer 安装命令:
composer require hostnet/financial-twig-extension-bundle
包简介
A simple Symfony Bundle that contains twig extensions for displaying financial information.
README 文档
README
A simple Symfony Bundle that contains twig extensions for displaying financial information
Installation
Install the latest version via composer:
php composer.phar require hostnet/financial-twig-extension-bundle
Then add the bundle to your AppKernel bundles:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new \Hostnet\Bundle\FinancialTwigExtensionBundle\Bundle\HostnetFinancialTwigExtensionBundle(), // ... ); }
Usage
Currently, we support formatting International Bank Account Numbers (IBAN) for displaying on a page (a space for every four characters):
{{ "NL85INGB0008523141"|formatIban }} This will result in the following output:
NL85 INGB 0008 5231 41 Requirements
PHP 7.3.x or above.
License
This library is licensed under the MIT License, meaning you can reuse the code within proprietary software provided that all copies of the licensed software include a copy of the MIT License terms and the copyright notice.
For more information, see the LICENSE file.
统计信息
- 总下载量: 35.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04