Laravel Route to Class

The laravel-route-to-class Developer Hub

Welcome to the laravel-route-to-class developer hub. You'll find comprehensive guides and documentation to help you start working with laravel-route-to-class as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Dynamic Body Classes for Laravel

Quickly add body classes to your Laravel app based on rules you set.

Example implementations:

  • Browsing as a guest might add user-isGuest as a class.
  • Browsing an admin panel might add admin-panel as a class.
  • All user profile routes might have user-profile as a class.

It's easy to write your own rules!


Welcome