Laravel V5.4.28 is now released
In this post we will give you information about Laravel V5.4.28 is now released. Hear we will give you detail about Laravel V5.4.28 is now releasedAnd how to use it also give you demo for it if it is necessary.
The laravel team released laravel version 5.4.28 yesterday and add some new funtion like array_random() and some bugs fixed and remove role attribute from forms in stubs
The first of these is a new array_random helper that allows you do something like this
array_random(['one', 'two', 'three']);
// "two"
Or you can specify the number of random items you’d like returned:
array_random(['one', 'two', 'three'], 2);
// array:2 [▼
0 => "one"
1 => "three"
]
[ADDCODE]
Another new feature is an unless method on the query builder and Collections which allows you to make your code more expressive. For example, on a Collection:
collect()->when(! true, function () {});
// is the same as:
collect()->unless(true, function () {});
Hope this code and post will helped you for implement Laravel V5.4.28 is now released. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs