This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
Releases: DarkGhostHunter/Lararut
Releases · DarkGhostHunter/Lararut
Simpler, better and faster.
Merge pull request #12 from DarkGhostHunter/master 4.0
Fixed 'k' validation against the database
Last release couldn't validate properly RUTs with "K" verification digits against the database. This is a limitation on Laravel itself, since it uses the default validateExists()
Rule behind the scenes.
The only fix is to tell the ValidatesRut
class if the validation against the database will be done using an uppercase K
or lowercase k
.
This cannot be avoided, but since mixing both records in the database is a bad practice (less consistency), it accepted as a solution. Alternatively, the developer can use num_exists
and num_unique
that only validates the number of the RUT.
Revamp
As it says, is a total revamp of the library.
- Formatted rules, removing
is_
from all of them. - Added more flexibility to
RutExists
andRutUnique
. - New rules called
num_exists
andnum_unique
. - Removed Facade
Fixed some methods in the Facade PHPDocs
Merge pull request #8 from DarkGhostHunter/master Fixed some methods in PHPDocs
New Rule "rut_unique"
Merge pull request #7 from DarkGhostHunter/master New rule.
v2.0.1: Merge pull request #6 from DarkGhostHunter/master
Fixed Rut Facade not correctly type-hinting Rut class
Laravel 5.8 compatibility
Merge pull request #5 from DarkGhostHunter/master Updated the RutUtils version
New helper and internal rule enhancement
Merge pull request #4 from DarkGhostHunter/master Helper and rule enhancement
Changed RUT Facade name for better convenience
Merge pull request #3 from DarkGhostHunter/master Changed RUT Facade name for better convenience.
Changed RUT Facade
Now you can access to the Rut instance with Rut
instead of RutFacade
.