Key Updates in PHP 8.4
PHP 8.4 is set to bring a variety of new features and enhancements that aim to improve the developer experience, optimize performance, and simplify coding practices.
PHP
📚 Exploring the Key Updates in PHP 8.4
PHP 8.4 is set to bring a variety of new features and enhancements that aim to improve the developer experience, optimize performance, and simplify coding practices. Here’s an overview of the most significant updates.
📚 Unlocking PHP’s Hidden Gems: 7 SPL Data Structures You Need to Know
Are you ready to take your PHP skills to the next level? Let’s dive into the world of SPL (Standard PHP Library) and discover seven powerful data structures that can make your code more efficient and elegant.
📚 The Magic of PHP Getters, Setters, and Readonly Classes: Crafting Clean and Efficient Code
Let’s dive deep into this trifecta of PHP’s object-oriented magic, which will ultimately help you write more maintainable and secure code.
📚 A Beginner’s Guide to Testing PHP Code with PHPUnit
How to Start Testing in PHP with PHPUnit with a step-by-step guide.
📚 Installing and Configuring Apache as a service in Windows
Download Apache binary files from reliable sources. One reliable source is Apache Lounge. Choose the binary files that will work for your system architecture i.e either Win64 or Win32.
📚 PHP Deprecation Warnings Explained: Update Your Code and Handle Deprecated Functions Efficiently
In this tutorial, we will explore how to handle deprecation notices in PHP, how to update your code to mitigate these warnings, and strategies for managing deprecated features.
📚 PHP 8.4.0 RC 1 now available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, RC 1. This is the first release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
📚 PHP 8.1.30, PHP 8.2.24 & PHP 8.3.12 Released
The PHP development team announces the immediate availability of PHPPHP 8.1.30, PHP 8.2.24 & PHP 8.3.12. This is a security release.
📚 Have you ever thought about how Storage:link works?!
Let’s have a little chat, my friend. When you store files in the storage directory, it’s because it’s more secure. But when you need to display those files, you have to use the following command to create a shortcut from storage to public.
Abstraction in programming is a principle that allows you to reduce complexity by hiding unnecessary details and showing only the essential features of an object or concept.
📚 Mastering PHP: Type Hinting techniques
Type hinting is considered by some to be the holy grail of features. One that all programming languages must have. PHP for the longest time didn’t have such a system but has now been adopted widely by most developers.
📚 PHP and LLMs with Alfred Nutile
Alfred Nutile dives deep into the intersection of Laravel and the growing influence of Large Language Models (LLMs) in development.
Laravel
📚 Split Log Levels Between Stdout and Stderr With Laravel
Have you ever wanted to log specific levels in Laravel? Sure, you can use the level config option to specify the minimum level to log, but what if you only want Debug and Info logs to go in a specific logger?
📚 Using Redis for Caching in Laravel: A Step-by-Step Guide
In this article we’ll see how to set up Redis in a Laravel application and what is to be considered when handling cache keys.
📚 Creating a Testable Facade in Laravel
Here’s a cheat sheet on how to make your simple service class more useful by adding dependency injection, a facade, and a way to easily swap in a fake.
📚 Working with multiple Route files in Laravel
In this episode of the Quick Win Wednesday series, we’re taking a look at how you can use multiple route files in a elegant way.
📚 Setting Up Laravel on Your Own Server: A DIY Guide
Before you go through the pain and challenge of configuring your own server you should perhaps consider Laravel forge. I trust they would know better how to deploy a laravel app.
📚 Laravel MongoDB releases version 5.0
Version 5.0 of the official Laravel MongoDB integration is now available. This major update introduces breaking changes to better align the MongoDB integration with Laravel’s conventions and behaviors, simplifying MongoDB usage for developers already familiar with Eloquent.
📚 Mastering Eloquent: Simplify Access to Latest and Oldest Related Models
In the world of Laravel and Eloquent, dealing with relationships is a common task. But what if you need to consistently retrieve the most recent or the oldest related model? Enter Laravel’s latestOfMany() and oldestOfMany() methods – powerful tools that simplify this process and make your code more expressive.
📚 Laravel Multiple Database Setup with Dynamic Database Switching
Implement a multi-tenant architecture in Laravel where users or organizations (like schools) are dynamically connected to their own database upon login.
Tools
📦 Harper
Like Grammarly, but local. Available as a language server for IDE integration. Also available as an Obsidian or Zed plugin. Low-latency linting with minimal memory usage. WebAssembly build also available for embedding into apps. Customizable dictionary with config.