I want to output the time in and time out from this database.
[![enter image description here](https://i.stack.imgur.com/DZAH0.png)](https://i.stack.imgur.com/DZAH0.png)

So i want to get the first data and last data in date 2017-06-13 and 2017-06-15.
How can i do that using Laravel 5.3?