A guide to Laravel Model Events, API Versioning in Laravel 11, and more! №522

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Your Laravel week in review

Week 522

A guide to Laravel's model events

πŸš€ Laravel’s model events make handling model lifecycle changes a breeze! Hook into events like created, updated, and deleted for cleaner, more modular code. Ideal for logging, notifications, and more.

Sponsor

Porkbun β€” the best domain registrar for Laravel pros

Porkbun was named the #1 domain registrar by USA Today two years in a row and is the favorite registrar for developers, web designers, and everyone in the tech industry. We lead the way with low prices on domains, powerful hosting products like our Easy PHP hosting plans, and personalized support 365 days a year!

Why pay for things that should be free, right? Every domain name at Porkbun comes with tons of freebies like SSL certificates, WHOIS privacy, DNS & URL forwarding, web and email hosting trials, and more.

Right now, save $1 off your next domain name by clicking the link or using code LARAVEL24 at checkout.

▢️

Generic Eloquent, resize observers, and mastering query scopes

This week Jake and Michael discuss Generic Eloquent, resize observers, and mastering query scopes

API Versioning in Laravel 11

Catch up quick: Laravel 11 introduces built-in support for API versioning, streamlining the process of managing multiple versions of an API within the same application.

Why it matters: API versioning is essential for maintaining backward compatibility while rolling out new features. It allows developers to iterate and improve APIs without disrupting existing consumers.

  • Routing: Laravel 11 makes it easy to define versioned routes.
  • Controllers: Separate controllers for different versions can be maintained.
  • Flexibility: Developers can gradually migrate clients to newer versions without breaking existing integrations.

VS Code Snippets for Livewire and Alpine.js

Utilizing these VS Code snippets for Livewire and Alpine.js can significantly speed up development, allowing you to focus more on functionality and less on boilerplate code.

A Resize Plugin for Alpine.js

Caleb Porzio, creator of Alpine.js, just released a resize plugin that allows you to react easily when an element changes. This is useful for custom size-based animations, intelligent sticky positioning, and more.

How to Migrate MySQL from DBngin to Laravel Herd

Migrating databases can be complex and time-consuming. here is an efficient solution, minimizing downtime and ensuring data integrity during the migration process.

Laravel Jobs

The official Laravel job board connecting the best jobs with top talent.

Now hiring

Post a job on LaraJobs and it'll be featured here next week.

The Archives

Laravel News PO Box 196 Cramerton NC, 28032
Send us a postcard! You are receiving this because you joined the Laravel News weekly digest. If you know someone who would enjoy this newsletter please consider sharing it.

View Online | Preferences | Unsubscribe

Facebook Instagram LinkedIn Twitter YouTube

Older messages

🐘 PHP 8.4 Alpha 1, Laravel v11.15, and more! - №521

Sunday, July 14, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel v11.14, Auth Screens for Your Laravel Apps, and more! - №520

Sunday, July 7, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel v11.12, Inertia Table, Laravel Cart Package, and more! - №519

Sunday, June 30, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel 11.7, Statamic 5, and more! - №512

Sunday, May 12, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

NativePHP now supports Windows! - №511

Sunday, May 5, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

You Might Also Like

Mastering our mind for better ideas & Setapp Mobile beta is here

Sunday, September 22, 2024

Team messaging is broken, unlock your full potential today, Linear launches mobile apps, eight ways to banish misery, and a lot more in this week's issue of Creativerly. Creativerly Mastering our

Daily Coding Problem: Problem #1564 [Hard]

Sunday, September 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Let A be an N by M matrix in which every row and every column is sorted. Given i

Data Migration from Dell ECS to MinIO

Sunday, September 22, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today

Sunday Digest | Featuring 'Mapped: U.S. States With the Most Million-Dollar Homes' 📊

Sunday, September 22, 2024

Every visualization published this week, in one place. Visual Capitalist Sunday Digest logo Sep 22, 2024 | View Online | Subscribe | VC+ | Download Our App The Best of This Week's Visuals Presented

Android Weekly #641 🤖

Sunday, September 22, 2024

View in web browser 641 September 22nd, 2024 Articles & Tutorials Sponsored Genius Scan SDK: a document scanner in your app Embed a reliable document scanner with OCR in your app, enabling your

From Oil to AI: The Middle East's Rise as a New AI and Tech Hub - Sync #485

Sunday, September 22, 2024

Plus: Google to flag AI-generated images; new AI laws in California; Cruise is back in Bay Area; drones to fly between hospitals in London; 23andMe independent board directors resigns; and more! ͏ ͏ ͏

From Oil to AI: The Middle East's Rise as a New AI and Tech Hub - Sync #485

Sunday, September 22, 2024

Plus: Google to flag AI-generated images; new AI laws in California; Cruise is back in Bay Area; drones to fly between hospitals in London; 23andMe independent board directors resigns; and more! ͏ ͏ ͏

Laravel 11.23, Pest v3, Laravel Herd, and more! №531

Sunday, September 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This Week's Daily Tip Roundup

Sunday, September 22, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

The Big Bucks in Gen AI Investments

Sunday, September 22, 2024

Two massive strategic VC funds were announced this week. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏