Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[5.8] Adds even and odd flags to the Loop variable #27883
The Loop Variable is an exceptionally helpful and underutilized feature within Blade. This adds a few convenience properties of
Having these explicit variables is beneficial when designing repeated UI elements (e.g. zebra stripes), and prevents using otherwise dense syntax (e.g.
If merged, will open a PR to update the Docs as well.