Thanks! Hopefully it might come in handy for one of your projects in the future π€π
29.07.2025 08:14 β π 1 π 0 π¬ 0 π 0@ashallendesign.co.uk
π Freelance Laravel Web Developer and Blogger β‘ https://battle-ready-laravel.com π₯ https://consuming-apis-in-laravel.com β¨ https://web-dev-freelancing.com
Thanks! Hopefully it might come in handy for one of your projects in the future π€π
29.07.2025 08:14 β π 1 π 0 π¬ 0 π 0Favicon Fetcher 3.9.0 released! π
On Friday, I tagged and released a new version of my Favicon Fetcher package. You can now grab favicons in your Laravel apps using DuckDuckGo's icon API π
β‘ You can use the "never" type as a return type in PHP!
This indicates that the function/method will never return. This is useful if your method always throws an exception or uses something like "exit" π
Check if a Signed URL is Valid in Laravel Tests by @ashallendesign.co.uk
https://laravel.io/articles/check-if-a-signed-url-is-valid-in-laravel-tests-1
The "never" Type in PHP by @ashallendesign.co.uk
https://laravel.io/articles/the-never-type-in-php-1
The "never" Type in PHP π
ashallendesign.co.uk/blog/php-nev...
I'm loving the new "Operating Sytem" tab on my Fathom dashboard! π₯
01.07.2025 16:12 β π 0 π 0 π¬ 0 π 0Check if a Signed URL is Valid in Laravel Tests π
ashallendesign.co.uk/blog/check-i...
Woohoo! That's awesome, thanks π
30.06.2025 08:06 β π 1 π 0 π¬ 0 π 0Congrats to @ashallendesign.co.uk for becoming our first verified author! π₯³
laravel.io/user/ash-jc-...
Thanks to GitHub user AbdulrahmanReda70 we now have the ability to verify article authors! Verified authors will get the ability to publish without a review. To get verified, regularly submit quality articles that get approved.
Here's the PR: github.com/laravelio/la...
Pass a Query Builder to "whereIn" to Reduce Your DB Queries by @ashallendesign.co.uk
https://laravel.io/articles/pass-a-query-builder-to-wherein-to-reduce-your-db-queries
Pass a Query Builder to "whereIn" to Reduce Your DB Queries π
ashallendesign.co.uk/blog/laravel...
Asymmetric Property Visibility in PHP by @ashallendesign.co.uk
https://laravel.io/articles/asymmetric-property-visibility-in-php
Asymmetric Property Visibility in PHP π
ashallendesign.co.uk/blog/php-asy...
Nice! Yeah, I think that sounds like a fair approach π
13.06.2025 16:14 β π 2 π 0 π¬ 0 π 0There's nothing wrong with only supporting 8.4! At the end of the day, it's you that's got to maintain and update the package. So you've got to make sure it's not going to be too much of a burden for you haha π
13.06.2025 16:14 β π 1 π 0 π¬ 0 π 0Nice! I think that sounds like a sensible approach π
13.06.2025 16:13 β π 1 π 0 π¬ 0 π 0Purely hypothetical question...
Say you're creating a new PHP package/library. All the code in it is 100% compatible with PHP 8.0 - 8.4.
What's the minimum PHP version you'd support? π€
Formatting Monetary Values in JavaScript π
ashallendesign.co.uk/blog/formatt...
I've just finished writing an article about Asymmetric Visibility in PHP!
I'm hoping to publish it tomorrow π
π Question: Have you used asymmetric visibility in your PHP code yet?
Check Every Key Exists in a PHP Array with Arr::hasAll() by @ashallendesign.co.uk
https://laravel.io/articles/check-every-key-exists-in-a-php-array-with-arrhasall
Cast Laravel Model Fields to "Illuminate\Support\Uri" with "AsUri" by @ashallendesign.co.uk
https://laravel.io/articles/cast-laravel-model-fields-to-illuminatesupporturi-with-asuri
I love that analogy! π
12.06.2025 15:56 β π 0 π 0 π¬ 0 π 0There's nothing wrong with that haha! I really enjoy writing the articles, so I'm always happy to do them as much as possible π
12.06.2025 15:56 β π 1 π 0 π¬ 0 π 0Thanks Ron! You have no idea how much that means to me π
12.06.2025 15:55 β π 1 π 0 π¬ 1 π 0β‘ As of Laravel 12.18, you can use the new "UsePolicy" attribute to explicitly define the policy that should be used for a model.
This can be useful if you don't store your policies in the default directories π
Check Every Key Exists in a PHP Array with Arr::hasAll() π
ashallendesign.co.uk/blog/arr-has...
As of Laravel 12.18, you can use the new "encrypt" and "decrypt" methods on the Illuminate\Support\Stringable class π₯
This will be useful if you're chaining any string operations!
A cool contribution by Hristijan Manasijev π
I've just hit SEND on my latest newsletter issue!
It should be landing in your inbox any minute now π