laragear / rut Goto Github PK
View Code? Open in Web Editor NEWGracefully handle RUTs from within your Laravel application
Home Page: https://patreon.com/packagesforlaravel
License: MIT License
Gracefully handle RUTs from within your Laravel application
Home Page: https://patreon.com/packagesforlaravel
License: MIT License
According to the guidelines of the Ministry of Education, since 2016, migrant students awaiting regularization are assigned a RUT over 100 million. This RUT is temporary and allows them access to services provided by the ministry, known as the Temporary School Identifier (Identificador Provisorio Escolar, IPE).
A few months ago, I had to implement a system that registers children. There were a couple of cases with RUTs over 100 million, which the system considered invalid.
This would entail:
isTemporary
, isDefinitive
).$rut = Rut::parse('100.765.432-5');
$rut->isValid(); //returns true
$rut->isPerson(); //returns true
$rut->isCompany(); //returns false
$rut->isTemporary(); //returns true
$rut->isDefinitive(); //returns false
8.1.3
9.3.0
Livewire validation passes (or fails) the rut
property/cast if a model uses the HasRut
trait.
Laravel/Livewire returns a ErrorException
indicating Undefined array key "rut"
when attempting real-time validation ($this->validateOnly()
), and clears the <rut>
input field when the $this->validate()
method is executed on form submit.
// https://github.com/noquierouser/laragear-rut-livewire-bug
No response
No, don't give priority to this
N/A
9.8.0
Macro extensions pick up public OR static methods. Should take only those static AND public.
Should use a collection and then filter the methods.
// https://github.com/Laragear/Rut/blob/fd970df14f2a027f5be0fd3a9ae0527c5a2974ee/src/Scopes/RutScope.php#L70
No response
Yes, with my username
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.