The state of the PHP Developer ecosystem in 2021
JetBrains ran their yearly survey on all the things that devs like and use. Here are the results for the PHP ecosystems
Read more [www.jetbrains.com]
JetBrains ran their yearly survey on all the things that devs like and use. Here are the results for the PHP ecosystems
Read more [www.jetbrains.com]
Here's a cool technique by Bram Van Damme
Read more [www.bram.us]
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.
"Freek’s newsletter is one of the best ways to stay updated with the Laravel and PHP ecosystem. It consistently highlights useful packages, tools, and ideas from the community, especially the amazing work coming from Spatie. As a Laravel developer building SaaS and web platforms, I find it extremely helpful to discover practical tools and insights that improve my development workflow."
– doeken.org - submitted by Doeke Norg
Yield better results by iterating over generators. Learn more about these supercharged arrays that can preserve memory.
Read more [doeken.org]
I came across this cool package that helped me debug a weird request performed by Guzzle.
Read more [github.com]
When reading technical blogpost around the web, you might have noticed that code highlighting is not always perfect.
Shiki is the code highlighter that uses the textmate parser VSCode uses under the hood. The code highlighting it provides is near perfect, even when using modern syntax. It supports 100+ languages (via our package Blade is supported too), and all VS Code themes.
I'm proud to announce that we have released three new Spatie packages that make it easy to use Shiki in your PHP projects:
We're already using this package to render all our documentation pages, our guidelines, and this very blog you are reading.
Learn how to use Laravel Spotlight to supercharge your web application with an easy-to-use command palette that your users will love.
Read more [philo.dev]
In the second part of this stream, I'll walk you through the inner workings of our new spatie/laravel-artisan-dispatchable package.
Here are the update stats on PHP usage (Jordi passed the baton to my colleague Brent)
Read more [stitcher.io]
PHP Contributor Larry Garfield walks us through a couple of neat ideas and RFC's for PHP he's been working on. I would very much welcome a pipe operator in PHP.
Read more [peakd.com]
Anna Filina shares how she goes about organizing small functions.
Read more [afilina.com]
In this article Lennart Carstens-Behrens explains a very impressive PR he recently submitted at the Laravel repo.
Read more [lennartcb.me]
Claudio Dekker runs you through the GitHub action he created to automatically handle code styling issues at Laravel
Read more [dekker.io]
Knowing how to compile PHP will open one of the few doors necessary for contributing to the PHP language. Once you get familiar with this it will be much easier for you to contribute in many ways such as running tests and uploading reports, writing new tests by yourself and bug reporting/fixing.
Read more [thephp.website]
– dev.to
Erika Heidi created a nice solution to generate and update cover images on your Twitter account. In this blog post she explains it all.
Read more [dev.to]
Alex explains how we use Satis to give users of paid Spatie products access to private repos.
Read more [alexvanderbist.com]
My colleague Brent shares some thoughts on possible improvements to handling config values.
Read more [stitcher.io]
– www.juststeveking.uk - submitted by Steve McDougall
Laravel transporter is an easy to use wrapper around Laravel PendingRequest that allows you to define requests as classes, and override options at run time when you need to.
Read more [www.juststeveking.uk]
Matthias Noback wrote down some good testing advice.
Read more [matthiasnoback.nl]
Our team has released a new Laravel package: spatie/laravel-artisan-dispatchable. This package allows you to dispatch any job from an artisan command.
In this blog post, I'd like to explain why we created the package and how you can use it.
Regular expressions are powerful, PHP but they are not known to be readable, and more often than not, maintaining a regular expression is not a straight-forward task. Here are some tips to improve and write better regular expressions in PHP.
Read more [php.watch]