This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
Releases: DarkGhostHunter/Lararut
Releases · DarkGhostHunter/Lararut
Final release, transition to new package
Package superseded by Laragear/Rut
The new package offers better functionality, testing, and latest Laravel support.
Fixes translations
What's fixed?
- For some (old) reasons, translation for validation message was not registered. Now it is. Documented on README.md
Uses casts for RUT attribute
This implementation is cleaner, and more modular. You can add the RUT casts yourself, or use the HasRut
. Additionally, further checks are done when routing the model by RUT, as it needs the HasRut
trait to properly get the model from the database.
Since the getter deletion is BC, a new mayor version has to come up. Next time i'll give more thought to these changes.
Fixed Rut PHPDoc for `findRutOrNew`.
Merge pull request #20 from DarkGhostHunter/master Fixed Rut PHPDoc for `findRutOrNew`.
New trait and scopes
- Modernized to PHP 7.4
QueriesRut
andFindsByRut
have been deprecated in favour ofHasRut
andRoutesRut
traits.- New
RutScope
.
Revised for Laravel Octane Compatibility
Merge pull request #18 from DarkGhostHunter/master Revised for Laravel Octane Compatibility
Laravel 8.x and PHP 8.x compatibility
Merge pull request #16 from DarkGhostHunter/master Laravel 8.x and PHP 8.x compatibility
Added Laravel 7 Support
Merge pull request #15 from DarkGhostHunter/master Added Laravel 7 Support
More helpers
Added find()
and query scope helpers.
Added Collection as callback in Rut main class
Now, every time you use Rut::many
or Rut::manyOrThrow
you will receive a Collection instance.