PHP code example of nembie / iban-rule
1. Go to this page and download the library: Download nembie/iban-rule library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nembie / iban-rule example snippets
>= 8.1
use Illuminate\Http\Request;
use Nembie\IbanRule\ValidIban;
public function store(Request $request)
{
$request->validate([
'iban' => ['
artisan lang:publish
bash
# Path
\main_folder_project
\lang
\app_language(ex.'en')
validation.php
# Add 'iban' key
// validation.php inside 'it' folder
'iban' => 'IBAN non valido.'
# Now you're validation message will be translated!