Laravel Artisan Command Dependency Injection
You should consider using the handle() method for dependency injection in Artisan commands, rather than __construct().
Read more [ides.dev]
Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.
You should consider using the handle() method for dependency injection in Artisan commands, rather than __construct().
Read more [ides.dev]
Link – – myray.app - submitted by Spatie
Whether you're building a shiny new feature or refactoring a bug deep in a legacy codebase, before you merge your work to production you want to get rid of all those ray() calls you littered the codebase with.
Read more [myray.app]
Stay up to date with all things Laravel, PHP, and JavaScript.
You can follow me on these platforms:
On all these platforms, regularly share programming tips, and what I myself have learned in ongoing projects.
Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.
Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.
Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.
Link – – ahmedshamim.com - submitted by Ahmed Shamim
Laravel provides some excellent 'Retry' mechanisms out of the box for handling transient failures! In this article, we'll learn about these mechanisms to build a reliable system using Laravel!
Read more [ahmedshamim.com]
Link – – srwiez.com - submitted by Eser DENIZ
I like to use the findOrFail() function in Livewire methods that call actions. But I really don't like the default behaviour of Livewire showing a modal view with a 404. Let me show you how to personalise that.
Read more [srwiez.com]
Link – – acairns.co.uk - submitted by Andrew Cairns
Learn about Composition, Inheritance and what Composition over Inheritance means with a little help from some 8-bit friends!
Read more [acairns.co.uk]
Link – – geoligard.com - submitted by Goran Popović
A step-by-step guide on how to utilize the new Assistants and Vision APIs with Laravel.
Read more [geoligard.com]
At PHPUKConference 2024 I saw this excellent talk by Pauline Vos on a pretty powerful git feature: bisect.
Link – – rubenvanassche.com
We've released a new major version of our popular laravel-data package. My colleague Ruben wrote a post mentioning all of the changes.
Read more [rubenvanassche.com]
Here's the recording of the keynote at this year's PHPUKConference.
Link – – fly.io - submitted by Johannes Werbrouck
Having reusable input components is great. Knowing how to make them is even better! Follow along to see how we can create a generic TextInput component with a fluent interface that can be reused everywhere with just a few lines of code. While it won’t be a Livewire component, it can still make use of wire:model
and other Livewire goodies. How is that possible? Read on to find out!
Read more [fly.io]
Link – – qirolab.com - submitted by Harish Kumar
Laravel Clockwork is a powerful debugging and profiling tool seamlessly integrated into the Laravel framework. With its real-time web interface, Clockwork provides developers with instant insights into their application's runtime behavior.
Read more [qirolab.com]
Link – – ashallendesign.co.uk - submitted by Ash Allen
Learn how to automatically hash sensitive data (such as passwords) using the "hashed" model cast in Laravel. This article also covers how to test your field is being hashed correctly.
Read more [ashallendesign.co.uk]
Link – – dcblog.dev - submitted by David Carr
I listen to a lot of podcasts, they keep me inspired, I've compiled a lost of the podcasts I listen to as a PHP developer.
Read more [dcblog.dev]
Link – – wire-elements.dev - submitted by Philo
Livewire's Session Properties is a simple yet powerful feature for enhancing user experience and maintaining state across page refreshes.
Read more [wire-elements.dev]
Link – – onfold.sh - submitted by Nicolas Beauvais
SQLite is getting all the hype lately, but can it really compete with MySQL and PostgreSQL for production web applications?
Read more [onfold.sh]
Link – – doeken.org - submitted by Doeke Norg
The repository pattern is a data source abstraction that behaves like a collection; containing domain (value) objects. In this post we'll be exploring what a repository is, and what it is not.
Read more [doeken.org]
Link – – wire-elements.dev - submitted by Philo
Let's take a look at how we can refresh our component when events occur using the new #[On] attribute.
Read more [wire-elements.dev]
Link – – myray.app - submitted by Spatie
Discover how Pest offers a Ray integration out of the box!
Read more [myray.app]
Link – – ryangjchandler.co.uk - submitted by Ryan Chandler
I've been using Alpine.js for a long time now, these are a few of my favourite plugins.
Read more [ryangjchandler.co.uk]