<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<input id="password" placeholder="Пароль" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
<?php
$arr[1] = 3;
$arr[2] = 19;
$arr[3] = 7;
$arr[4] = 14;
$arr[5] = 11;
arsort($arr);
var_dump($arr);
/*
array(5) {
[2]=>
int(19)
[4]=>
int(14)
[5]=>
int(11)
[3]=>
int(7)
[1]=>
int(3)
}
*/
(c) ideone