How to install PHP 8.2 RC on Mac
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment.
Read more [nunomaduro.com]
Posts tagged with php
PHP 8.2 is scheduled to be released on the 24th of Nov, 2022. Of course, meanwhile, you may test the new features, syntax changes, and other improvements in your local environment.
Read more [nunomaduro.com]
– arunas.dev - submitted by Arunas
Before we learn strategies for better software design, we must understand our enemy - complexity. Let’s define complexity, how to spot it, and what causes it.
Read more [arunas.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.
"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."
Composer 2.4 features scanning the installed and new packages for known security vulnerabilities. When a new package is installed, or an existing package is updated, Composer looks up the package version numbers on known security vulnerability announcements, and reports if there are any known vulnerabilities in the list of packages.
Read more [php.watch]
When developing web applications, you probably encounter a lot of places where someone needs to select one or more options in a select or multi-select. These select boxes always need a list of options with labels and values.
In one of our projects, we had options being generated in lots of places. Sometimes these lists of options were the same, leading to a lot of code duplication. Even worse, in some cases, different formats were used to output the same options.
That's why we've created a new package called spatie/laravel-options. It will take a resource which can create options such as an enum, a list of models or even a plain array. And will always create a standardized array of options you can use within your frontend application.
Did you know that DateImmutable isn't really immutable?
Read more [matthiasnoback.nl]
We've released a new package called spatie/laravel-sql-commenter. This one can add comments to SQL queries. These comments allow you to easily pinpoint the origin of a query when looking at your query log.
– rias.be
We've just released laravel-ciphersweet. This package is a wrapper over CipherSweet, which allows you to easily use it with Laravel's Eloquent models.
Read more [rias.be]
– doeken.org - submitted by Doeke Norg
Linked lists are a linear data structure that provides quick insertion and deletion.
Read more [doeken.org]
– stefanzweifel.io - submitted by Stefan Zweifel
A short introduction to sidecar-browsershot package: How it works and for what it can be used for.
Read more [stefanzweifel.io]
Laravel 9 has gained a excellent new way to attach files in mails. Using the Attachable interface, you can specify what should happen when an object gets used as an attachment.
Using our media library package you can easily associate any file with an Eloquent model. We've added support for Laravel's Attachable in the latest version of the package.
In this blog post, I'd like to tell you all about it.
– rias.be
Shiki is a beautiful syntax highlighter powered by the same language engine that many code editors use. We've just released a package that allows you to run Shiki on AWS Lambda through Sidecar.
Read more [rias.be]
– rias.be
Onboarding your users is one of the most important things you can do in your SaaS or application. After all, first impressions matter! Caleb Porzio has created an onboard package for Laravel which we (at Spatie) recently took over development and maintenance on.
Read more [rias.be]
Personally I don't know if this is a good practice, but you (and future me) might like it.
Read more [www.aaronsaray.com]
Tomas Votruba explains how you can refactor old enum classes (from Spatie and MyCLabs) to native PHP enums
Read more [tomasvotruba.com]
Dave Calnan has been using Remix in production for about 6 months now and has decided to add a Laravel backend to the stack. Here's what he's learned from the process.
Read more [davecalnan.blog]
A good overview what you can do with variadic arguments...
Read more [www.exakat.io]
There are a couple of nice ideas there to solve longstanding problems with UUIDs
Read more [www.ietf.org]
Laravel gives you the flexibility to choose the structure of controllers yourself, which is both a blessing and a curse. You won't find any recommendations in the official Laravel docs, so let's try to discuss various options, based on one specific example.
Read more [laravel-news.com]
– stefanzweifel.io - submitted by Stefan Zweifel
Ever needed to work with an SDK and wished you could use Http::fake() in your Laravel tests?
This blog post explains how you can achieve this for the Facebook Business SDK using the Adapter pattern.
Read more [stefanzweifel.io]
I'm proud to announce that our team has launched a new package called spatie/laravel-login-link.
In this blog post, I'd like to tell you all about it.