Laravel 11.11, weekly updates, and 🔥 deals

Laravel 11.11

No release last week, so lots in this week's release of Laravel 11.11.

  • Add get, write, and forget cache events in #51560
  • Add id to Session facade in #51732
  • Add before and after to Collection in #51752
  • Improve Queue::assertNothingPushed() error message in #51814
  • Add getMorphAlias to Relation in #51809
  • Display third-party relations for model:show command in #51807

You may review the full branch diff on GitHub for a complete list of changes.

This version bump and update is automated for subscribers to a Shifty Plan. If you don't have one of those, be sure to bump your constraint and run composer update to get the latest features.

Weekly Journal

First, some fun math for today (6/18/24): 6 + 18 = 24

Also, today's Laravel version (11.11.0): 11 - 11 = 0

Anyway, no release last week. The girls were out of daycare Wednesday. So with that combination I broke my weekly newsletter streak. Crazy I started this newsletter almost 4 years ago and rarely miss a week.

I have mostly been completing Human Shifts and working to update the laravel-shift/factory-generator for Laravel 11. This package isn't really used publicly. But it is used internally by the Tests Generator. Which was beginning to fail for Laravel 11 projects. There's more I want to do for the Tests Generator, but this is a start.

Otherwise, I've been making tweaks to the older Shifts. Some of these were from the Human Shifts. But others were things I improved in the Laravel 11.x Shift that I wanted to backport. Namely the comment about customized ENV variables. I think that's a nice one and aligns with the future progression of the framework configuration.

I hope to finish those today. I'll live stream tomorrow. With the rest of the week I'll switch back to WPPM.

🔥 Tip

Take a minute to clean up your Composer dependencies. I had been ignoring those yellow lines output when running composer update. I finally took a minute to fix the PSR-4 warnings, as well as any abandoned packages.

When they aren't packages you include directly, run composer why to find out what includes it. Often, it's a package that, while compatible, has a newer version.

View Archives →