Filtering Carbon Period For Flexibility And Performance
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
Posts tagged with laravel
Here's a nice way to go about filtering Carbon instances
Read more [tomerbe.co.uk]
– invariance.dev - submitted by Nicolas Beauvais
In some cases, the Laravel validator gives out too many details. What if we want to use the power of the validator without giving anything in the response?
Read more [invariance.dev]
Join 9,500+ smart developers
Get my monthly newsletter with what I learn from running Spatie, building Oh Dear, and maintaining 300+ open source packages. Practical takes on Laravel, PHP, and AI that you can actually use.
No spam. Unsubscribe anytime. You can also follow me on X.
"Always fresh, useful tips and articles. Carefully selected community content. My favorite newsletter, which I look forward to every time."
I'm proud to announce that we've released a new package called Laravel Health. As the name implies, this package can be used to monitor the health of your Laravel application.
It offers many checks out of the box, and an easy way to create custom checks. When something is wrong, you can get a notification, or view the status on a dashboard.
The package also offers deep integration with Oh Dear, allowing for even more robust monitoring
I want to tell you all about it in this blog post. Let's go!

The default Laravel error page now has a dedicated Livewire tab.
Read more [flareapp.io]
– protone.media - submitted by Pascal Baljet
In this fourth post of the series, I've gathered new features added to Jobs and Queues in Laravel 8. Since the original release of 8.0 back in September 2020, Jobs and Queues got a bunch of significant updates that you don't want to miss.
Read more [protone.media]
– chriswhite.is - submitted by Chris White
Choosing between Swoole and Roadrunner in a Laravel Octane deployment can be overwhelming - in this post I compare the advantages and disadvantages of both.
Read more [chriswhite.is]
– aaronfrancis.com - submitted by Aaron Francis
An introduction to using bitmasks in general, and their usage in PHP, Laravel, and MySQL.
Read more [aaronfrancis.com]
I am excited to share that my team and I have just launched v2.0 of our Laravel Package Training video course.
Here's a the introductory video for the course:
Daniel Coulbourne shares some cool Livewire insights.
– protone.media - submitted by Pascal Baljet
In this series, I show you new features and improvements to the Laravel framework since the original release of version 8. This week is about the Database and Eloquent features in Laravel 8.
Read more [protone.media]
– protone.media - submitted by Pascal Baljet
The Laravel team released so many great Laravel 8.x updates over the last year, it's incredible! I wrote a series of blog posts highlighting some of the best new features and improvements. Today: Collections.
Read more [protone.media]
In your tests, you might have used assertDatabaseHas to make sure that a model actual is persisted.
Here are a few best practices for working with a large tables.
Read more [42coders.com]
Here's the recording of the latest edition of the Laravel Worldwide meetup. Philo Hermans showed off two great Livewire packages that he made. Steve McDougall did a cool live coding session on how to build APIs. And at the end, our suprise guest Caneco gave a nice little presentation on Lumen as…
My current setup (end 2021 edition)
After tweeting out a screenshot, it often get questions around which editor, font or color scheme I'm using. Instead of replying to those questions individually I've decided to just write down the settings and apps that I'm using.
In the vast majority of applications you work with data structures. Sometimes that data is described multiple times. Think for instance of a form request that tries to validate a blog post model, and an API transformer class for that same blog post model. Changes are that both classes describe the same properties.
Using our new laravel-data package, those structures only need to be described once.
Liam Hammet explores the inner workings of Blade.
You will find all videos in this playlist on YouTube.
Have you ever had to write an API integration from scratch? Where you're managing the HTTP calls yourself instead of being able to rely on third-party packages?
In this video, which is part of the Testing Laravel video course, I explain the benefits of testing.
Read more [spatie.be]
- submitted by Mateus Guimarães
Mateus Guimaraes show a couple of neat tests powered by Pest.