Laravel Community Tools by Tighten

Tag "5.5" tricks

4 tricks
If you only need the functionality of a custom rule once throughout your application, you may use a Closure instead of a rule object. The Closure receives the attribute's name, the attribute's value, and a $fail callback that should be called if validation fails. Below is the code example:
asifzcpe 5 years ago 21052
if you want to run custom validation having a long function in laravel request file, you can use the following tricks to get the things done using withValidator method.
asifzcpe 5 years ago 20860
5.5
Package that provides easily communicate between bigbluebutton server and laravel framework
joisarjign... 5 years ago 14609
Sometimes you want to perform a chunk of code dependent on the environment. This trick makes it easy to check against multiple environments and returns a boolean.
mattstauff... 8 years ago 3537