Hey hey, From my Youtube ChannelLaravel Polymorphic Many-To-Many with Pivot Model: Demo Example
www.youtube.com
A practical example of polymorphic relations with a special pivot model. Laravel Modules as "Internal" Packages? Interesting Demo.
www.youtube.com
I've found an interesting open-source example of how to split Laravel application into modules and load them almost like Laravel packages. Laravel Tip: Route-Model Binding and Invokable Controller
www.youtube.com
A quick video discussing a code snippet from an open-source project. Longer Names for Variables, Methods, Classes: It's OK!
www.youtube.com
I see some developers trying to shorten the code just to fit on the screen. Let me show you a counterexample. So Many New Tools... Gotta Learn Them ALL?
www.youtube.com
With so many frameworks, tools, and APIs released, how to choose which one(s) to learn and adopt? I will give you two examples from the Laravel community. News Around Laravel 11Laravel Reverb
laravel-news.com
Laravel Reverb is a new first-party WebSocket server for Laravel applications, bringing real-time communication between client and server. Some of the features of Reverb include: Introduction To Laravel Reverb
www.youtube.com
Say hi to our new Laravel family member: Laravel Reverb Herd 1.4.0 is now out with a pro version and Windows in the works
laravel-news.com
Herd 1.4.0 is now released, and this update adds new features, improves existing ones, and comes with an optional Herd Pro. Another huge announcement is a brand new Herd for Windows that is due out in March of 2024. Model Casts are moving to methods in Laravel 11
laravel-news.com
Model casts in Laravel 10 are defined via the $casts array property. However, in Laravel 11, you can define a casts() method, which opens the possibility to use static methods on built-in casters as well as define static methods for custom casters: The once() Memoization Helper is Coming to Laravel 11
laravel-news.com
The once() function was originally inspired by this tweet by Taylor Otwell, made into a package by Spatie, and now finds its way into the core of Laravel framework in Laravel 11. This helper ensures that you'll always get the same value no matter how many times you call an object method. New Laravel 11 Apps Include a Health Check Endpoint
laravel-news.com
As part of the release of Laravel 11, new applications include a health /up endpoint. This route is defined in the new bootstrap/app.php file by passing the health parameter—which is defined by default in the Laravel 11 skeleton.
Hey! You like my curated weekly Laravel links?
Check out my Laravel courses! From Laravel CommunityAutomatically Hash Laravel Model Values Using the "Hashed" Cast
ashallendesign.co.uk
Hashing is an important security concept that every web developer should know about. It's what allows us to store passwords securely in our databases. What do you actually do with Laravel?
www.reddit.com
Every time I read a post about Laravel I feel like I'm using it wrong. Everyone seems to be using Docker containers, API routes, API filters (like spaties query builder) and/or Collections, creating SPA's, creating their own service providers, using websockets, running things like Sail or node directly on live servers etc, but pretty much none of those things are part of my projects. PHP 8.3 Performance Improvement with Laravel
www.reddit.com
Has anyone upgraded to PHP 8.3 and seen performance improvements? I'm curious to see how much improvement real-world apps get. According to these benchmarks they got a 38% improvement in requests/second. How to disable Laravel console commands
dcblog.dev
Suppose you find yourself in a situation where you need to disable or intercept a console command in Laravel. This tutorial will primarily focus on how to intercept the php artisan migrate command. We'll delve into the command method app/Console/Kernel. The Ultimate Guide for Using Vue.js with Laravel
vueschool.io
When you combine Vue.js and Laravel, you unlock a dynamic full-stack partnership, unleashing the full potential of JavaScript and PHP. Is it time to ditch MySQL and PostgreSQL for SQLite?
onfold.sh
SQLite is getting all the hype lately, but can it really compete with MySQL and PostgreSQL for production web applications? Alright, I hear you, "SQLite is a toy database", "SQLite is too slow", "SQLite is not scalable", yada yada yada. Using OpenAI to create a Q&A in Laravel/PHP with embedding
www.guywarner.dev
It took me a while to thoroughly do an embedded OpenAI with PHP/Laravel. Most of the examples are in Python or Js. For the future devs ahead, here's what I learned. You can start with the Laravel wrapper openai-php/laravel and follow those instructions on setting up your OpenAI API key. That's it for this week, see you in the next newsletter issue! |