Discovering PHP's yield Keyword After 10 Years
An article explaining PHP's yield keyword and how it can be use in place of return to easily build iterators.
Read more [ides.dev]
Posts tagged with php
An article explaining PHP's yield keyword and how it can be use in place of return to easily build iterators.
Read more [ides.dev]
Here's how you can use our Laravel Data package.
Read more [matthiasweiss.at]
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.
"If you are one of the *millions* who have downloaded a Spatie package, then you understand the quality that Freek aims for. The newsletter is of the same quality of any Spatie package you're using."
– stephenjude.me - submitted by STEPHEN JUDE
Read more [stephenjude.me]
Some very cool numbers on the PHP ecosystem, gathered by Jean-François Lépin.
Read more [blog.lepine.pro]
– ashallendesign.co.uk - submitted by Ash Allen
Read about how to use the Illuminate\Console\Prohibitable trait to prevent destructive commands from running in your Laravel application. We'll also look at how to prevent your own custom Artisan commands from running using this trait.
Read more [ashallendesign.co.uk]
– tighten.com - submitted by Kayla Helmick
Learn how to install and configure Typesense in a Laravel app, then optimize search by sorting records, using filters, adjusting typo tolerance, accessing raw responses, and leveraging facets for better filtering.
Read more [tighten.com]
– stefanzweifel.dev - submitted by Stefan Zweifel
A new Laravel package to protect sensitive routes or actions with a confirmation-screen and ask for the two-factor authentication code of a user.
Read more [stefanzweifel.dev]
– jonathanpurvis.co.uk - submitted by Jon Purvis
Inspired by a Tweet from Christoph Rumpel asking for best practises for importing huge CSV files, I did a write up about how I've imported (so far) 1.7 billion rows of CSV data from Stripe using their API.
Read more [jonathanpurvis.co.uk]
– medium.com - submitted by Mazen Touati
Tackling scalability challenges unorthodoxly in large monoliths with strategies like multi-application infrastructure, circuit fuse, and hybrid DB optimization.
Read more [medium.com]
– tighten.com - submitted by Kayla Helmick
This article covers installing Rich Text Laravel and Trix in a Laravel app, adding rich text attributes to models, migrating existing content from plain text, and integrating Trix’s file attachment feature with Laravel.
Read more [tighten.com]
Pseudo-types like callable and iterable may seem convenient at first glance, but they introduce ambiguities and make code harder to analyze.
Read more [f2r.github.io]
Brent is back with an update of the PHP version stats.
Read more [stitcher.io]
The new finally method simplifies how you handle post-pipeline operations, whether your pipeline succeeds or fails.
Read more [www.harrisrafto.eu]
– infinitypaul.medium.com - submitted by Paul Edward
Here's how a unsuspicious validation rule can wind up making your app slower.
Read more [infinitypaul.medium.com]
Tony Lea created a new Chrome extension that will add a PHP tab in Chrome DevTools. Nice!
Read more [amitmerchant.com]
– flareapp.io - submitted by Spatie
Here's why and how we added a mini container in a framework agnostic package.
Read more [flareapp.io]
PHP Fibers, introduced in PHP 8.1, enable asynchronous programming by allowing functions to pause and resume execution. Here are some good examples on how to use them.
Read more [byteblog.medium.com]
Here's another nifty Laravel method
Read more [medium.com]
Using a Laravel pipeline is always nice to structure a process like this.
Read more [www.geocod.io]
– tighten.com - submitted by Kayla Helmick
Learn to create a customizable admin panel in minutes with our Filament Crash-Course.
Read more [tighten.com]