in Laravel

Creating View Classes In Laravel

In this tutorial we're going to investigate creating view objects in Laravel. This functionality is very useful if you have multiple routes that return the same view in different ways. For example if you have a blog you'll have a page that displays a list of posts. Depending on the route this will display different content but in the same view. On the home page you will display a list of the latest posts but on a category page you'll display a list of posts for the specific category. This mea

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email