Feb 10, 2014 Table of contents: The Problem of repetition What is a View Composer? Class View Composers in Laravel 4 Hooking it up with the database Conclusion Two important mantras of writing good quality code are Don’t Repeat Yourself and Abstraction. Every component in a computer system should only have one representation. If you find that you are repeating yourself, it’s time to perform an abs