Releases: robertogallea/laravel-codicefiscale
Releases · robertogallea/laravel-codicefiscale
v2.0.2
2.0.0
- Add Faker provider for generating total or partial generation of codice fiscale
- Add support for Carbon 3
- Minor refactoring
1.12.1
Add missing city (#55) * Add 'I719' => 'SIAMANNA SIAPICCIA', * Add 'I719' => 'SIAMANNA SIAPICCIA',
1.10.1
Merge pull request #37 from robertogallea/add_configurable_labels_and…
1.9.1
Merge pull request #32 from michelepizzi/master add other cities from A001 to A099 and F888
1.9.0
You can now validate your codice fiscale against other form fields to check whether there is a match
or not.
You must specify all of the required fields:
first_name
last_name
birthdate
place
gender
giving parameters to the codice_fiscale
rule.
For example:
public function rules()
{
return [
'codicefiscale' => 'codice_fiscale:first_name=first_name_field,last_name=last_name_field,birthdate=birthdate_field,place=place_field,gender=gender_field',
'first_name_field' => 'required|string',
'last_name_field' => 'required|string',
'birthdate_field' => 'required|date',
'place_field' => 'required|string',
'gender_field' => 'required|string|max:1',
];
}
Validation fails if the provided codicefiscale and the one generated from the input fields do not match.
1.8.2
Merge pull request #30 from michelepizzi/master H397 code for an italian city
1.7.2
Merge pull request #25 from halservice/custom Added C171
1.7.1
Fix validation regex
1.7.0
Add CompositeCityDecoderList