nembie / nova-iban-field
A Laravel Nova field.
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
README
🏦 IBAN Field for Laravel Nova
A simple field for Laravel Nova that validates IBANs.
⚙️ Installation
composer require nembie/nova-iban-field
🛠️ Usage
use Nembie\NovaIbanField\NovaIbanField;
...
public function fields(Request $request)
{
return [
NovaIbanField::make(__('Custom IBAN Label'), 'iban_column')->showDetails()
];
}
🧰 Methods
showDetails()
- shows the information given by IBAN on the resource detail pagehideActionsOnIndex()
- hide the actions on the index (copy and show/hide)alwaysHideOnIndex()
- "crypt" the IBAN in the index page
🌍 Supported countries
Full list of supported countries
🔺 Laravel Nova 4 Support
🗒️ Note
- This field only checks the formatting of the string, there is no check that the iban is actually valid and working.
- German translation was done via google translate, it's probably wrong.