codemonauts/craft-iban-field 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codemonauts/craft-iban-field

Composer 安装命令:

composer require codemonauts/craft-iban-field

包简介

Craft CMS plugin to store, validate and format IBAN codes.

README 文档

README

Icon

A field for storing, validating and formatting IBAN codes.

Background

"The International Bank Account Number (IBAN) is an internationally agreed system of identifying bank accounts across national borders to facilitate the communication and processing of cross border transactions with a reduced risk of transcription errors." (Wikipedia).

This plugin adds a field type to store and validate IBAN codes. It provides a Twig extension to format IBANs in different formats.

Requirements

  • Craft CMS >= 4.0.0

Installation

Open your terminal and go to your Craft project:

cd /path/to/project
composer require codemonauts/craft-iban-field
./craft install/plugin iban

Usage

After installation, the control panel can be used to create IBAN fields.

Twig Filter

You can use the |iban filter to format an IBAN code in different ways. The default is print:

{{ entry.myIban|iban }}
{# Output: "DE89 3704 0044 0532 0130 00" #}

{{ entry.myIban|iban('print') }}
{# Output: "DE89 3704 0044 0532 0130 00" #}

{{ entry.myIban|iban('electronic') }}
{# Output: "DE89370400440532013000" #}

{{ entry.myIban|iban('anonymized') }}
{# Output: "XXXXXXXXXXXXXXXXXX3000" #}

With ❤ by codemonauts

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固