I found the solution in Laravel Accessors and Mutators. Link below:
https://laracasts.com/discuss/channels/tips/checkbox-showing-0-and-1-instead-of-yes-or-no
Thanks for the user @bashy
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community