I have a Vue application and I want to capitalize the user's name and type.

Also, I would like to change the date format like `5-May-2019`.

How can I do it in Laravel? Is there any function? It's showing the date in [this manner](https://ibb.co/2kffMvF).

```
  <tr v-for="user in users" :key="user.id">
                <td>{{user.id}}</td>
                <td>{{user.name}}</td>
                <td>{{user.email}}</td>
                <td>{{user.type}}</td>
                <td>{{user.created_at}}</td>
  </tr>

```

I want [this result](https://ibb.co/n0QkD0R).