I found the solution in Laravel Accessors and Mutators. Link below:
https://laracasts.com/discuss/channels/tips/checkbox-showing-0...
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