Upgrading to Eloquent accessors & mutators from Laravel 9
– blog.genijaho.dev - submitted by Geni Jaho
You can upgrade your attributes by hand, or you can use a single Rector rule to do it for you.
Read more [blog.genijaho.dev]
In this section you'll find links submitted by others.
Did you write or stumbled across a blog post, tutorial or video that might be interesting for others?
To be able to submit a link you need to log in first.
Log in– blog.genijaho.dev - submitted by Geni Jaho
You can upgrade your attributes by hand, or you can use a single Rector rule to do it for you.
Read more [blog.genijaho.dev]
– tighten.com - submitted by Jamison Valenta
Have you ever heard of a “kill switch”—a device meant to disable machinery if its owner is incapacitated? Turns out you can also build kill switches into your code. Tony shares four kill switch examples for Laravel applications.
Read more [tighten.com]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how you can use Vonage's "Messages API" to send WhatsApp messages from your Laravel application. The article also covers things to be aware of and how to send files, locations, audio, and video messages.
Read more [ashallendesign.co.uk]
– stefrouschop.nl - submitted by Stef Rouschop
With a proper implementation of global scopes instead of local scopes, the code and security would be greatly improved. Let me illustrate this with a simple example.
Read more [stefrouschop.nl]
– protone.media - submitted by Pascal Baljet
Today is another step in improving the Splade ecosystem by releasing the Jetstream Starter Kit for Splade. The Starter Kit is mostly the same as the first-party variant. It's got all the authentication features like two-factor authentication and session management, as well as API support and team management.
Read more [protone.media]
– medium.com - submitted by CODE AXION
Instead of writing image upload code for every model, just create 1 single service and use it across all the controllers dynamically !
Read more [medium.com]
– gdebrauwer.dev - submitted by Günther Debrauwer
A tutorial on how to configure Laravel Sail and Vite when combining those tools with Laravel Valet's proxy command.
Read more [gdebrauwer.dev]
– tighten.com - submitted by Jamison Valenta
Did you know it's possible to use Laravel's validation tools even when you're validating a part of your request that wasn't provided by the user? In our latest post, Andrew Morgan shares four approaches to validating the "other" bits of your requests.
Read more [tighten.com]
– github.com - submitted by Ash Allen
Laravel Exchange Rates v6.1.0 adds support for the "exchangerate.host" API.
Read more [github.com]
– github.com - submitted by Ricardo Čerljenko
Laravel validation Rule using [OpenAI Moderation API](https://platform.openai.com/docs/guides/moderation). Gives you a way to validate your form requests for inappropriate content.
Read more [github.com]
– github.com - submitted by Ash Allen
Laravel Exchange Rates v6 now has support for multiple exchange rate APIs, improved types, and much more.
Read more [github.com]
– adithya.dev - submitted by Adithya
How to find and replace text in Statamic Bard using Statamic Bard Mutator addon
Read more [adithya.dev]
– mellor.pizza - submitted by Chris Mellor
A guide on how to utilise the TALL stack with Model Broadcasting and Websockets to build a simple public chat room app.
Read more [mellor.pizza]
– stefrouschop.nl - submitted by Stef Rouschop
One caveat in Livewire (version 1 and 2) is that only public properties remain state between Livewire interactions. This shouldn’t be a problem, at least not if you’re aware of how a potential hacker would abuse this.
Read more [stefrouschop.nl]
– jonassiewertsen.com - submitted by Jonas Siewertsen
By default, your logs on the Google Cloud Platform will all have the same severity level. Let me show you how to change that.
Read more [jonassiewertsen.com]
– youtu.be - submitted by Andrew Schmelyun
A short 6 minute video explaining what invokable controllers are in Laravel, how to create them, and why you'd want to use them.
Read more [youtu.be]
– blog.genijaho.dev - submitted by Geni Jaho
As developers, we lose a lot of benefits by testing after the fact.
Read more [blog.genijaho.dev]
– ryangjchandler.co.uk - submitted by Ryan Chandler
A quick way of disabling Composer's default script process timeout of 300 seconds (5 minutes). Easy to overlook in the docs.
Read more [ryangjchandler.co.uk]
– medium.com - submitted by Mazen Touati
We will crack the controversy of the repository pattern in Laravel. The good and the bad, and what alternatives we can use to build a maintainable codebase.
Read more [medium.com]
– www.eloquentarchitecture.com - submitted by John Freeman
The LoB principle dictates that the behavior of a unit of code should be as obvious as possible by looking only at that unit of code. But I think something is missing from this discussion.
Read more [www.eloquentarchitecture.com]