I'm using Laravel 5.4 and a MySQL database. In a view I want to display dynamically all my models attributes. ( Key : Value. , for example Name : John )
But these models attributes are the table colums names, so they are not in a nice formatting ( lower case, with some underscore )
What is the best way in Laravel to display nice name instead of database table columns names ?
via RomainV