Use this generator to create random users for testing purposes.
Go Back
Optional Includes:
{!! Form::open(['url' => 'user', 'class' => 'pure-form pure-form-aligned'] ) !!}
{!! Form::label('birthday', 'Birthday') !!}
{!! Form::checkbox('birthday', 1) !!}
{!! Form::label('company', 'Employer') !!}
{!! Form::checkbox('company', 1) !!}
{!! Form::label('phrase', 'Phrase') !!}
{!! Form::checkbox('phrase', 1) !!}
{!! Form::label('numUsers', 'Number of Users') !!}
{!! Form::selectRange('numUsers', 1,5) !!}
{!! Form::submit('Generate', ['class' => 'pure-button pure-button-primary']) !!}
Show JSON
{!! Form::close() !!}
@for ( $i=0; $i <= count($userAr)-1; $i++ )
@endfor
- {!!$userAr[$i]['Name']!!}
- {!!$userAr[$i]['Email']!!}
- {!!$userAr[$i]['Address']!!}
- {!!$userAr[$i]['Phone']!!} @if ($userAr[$i]['Birthday'] != 'Null')
- {!!$userAr[$i]['Birthday']!!} @endif @if ($userAr[$i]['Employer'] != 'Null')
- {!!$userAr[$i]['Employer']!!} @endif @if ($userAr[$i]['Phrase'] != 'Null')
- {!!$userAr[$i]['Phrase']!!} @endif
@endfor
{!!$jsonAr!!}