Clean Code — Writing Readable and Maintainable Code
PHP 8.4.0 RC2 available for testing; The Difference Between pluck() and select() in Laravel 11; Automating Laravel Translation Extraction with a Custom Artisan Command; and more.
🐙 Know Octopus
Create a custom AI agent and chat with +500 files at the same time. Legal documents, technical documentation, and more. NO subscription needed. (ad)
PHP
📚 Common PHP Errors: Solutions to Frequently Encountered Issues
While some errors are simple and easy to fix, others may be a little more complex. This article covers some of the most common PHP errors and offers solutions to help you resolve them quickly.
📚 Creating a CRUD Application with PHP, MySQL, and Lithe
This step-by-step guide will teach you how to build a CRUD application using PHP, MySQL, and the Lithe framework. We will cover everything from setting up the database to implementing controllers to manage CRUD operations.
📚 Filament: Generate Resource from Existing DB Schema
In Filament, you can generate a Filament Resource with the make:filament-resource Artisan command. This command will generate an empty resource, that you can configure it as you like.
📚 How to enable/disable PHP native functions – php.ini Tutorial
In this article I want to give you the step by step procedure to enable or disable php native functions editing the “disable_functions” directive in the php.ini file.
📚 Live Chat System in PHP with Free Source Code
The Live Chat system in PHP is an interactive tool. It can quickly narrow your choices and contact multiple vendors, customers, etc. Also, it can give your business a significant impact on user experience.
📚 How to Efficiently Manage PHP Dependencies with Composer
In this comprehensive guide, we’ll cover everything you need to know about Composer, from basic setup to advanced usage for dependency management.
📚 PHP 8.4.0 RC2 available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, RC2. This is the second release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
📚 PHP Libraries for PDF Handling: Evaluation and Use Case Guide
In this article, we will evaluate the most popular PHP libraries for PDF handling, breaking down their pros and cons, and advising when each library is best suited for specific use cases.
📚 Clean Code — Writing Readable and Maintainable Code
Clean Code is a highly regarded book by Robert C. Martin focused on the principles and practices of writing cleaner, more maintainable code. The book emphasizes how small changes in coding habits can lead to better readability, easier maintenance, and fewer bugs.
Laravel
📚 Understanding the Difference Between pluck() and select() in Laravel 11
In this article, we’ll explore the differences between these two methods, explain when to use each, and provide practical coding examples to demonstrate their usage in Laravel 11.
📚 Streamlining Laravel Middleware: Mastering Middleware Groups
In this post, we’ll explore how to leverage middleware groups to keep your route definitions clean and your application structure organized.
📚 A real-world example on using sub-queries in Laravel to optimize performance
A subquery, often known as a nested query or sub-SELECT, is a SQL query that resides within another query. This nested structure allows for a dynamic and versatile approach to querying data, where the result of the inner query is used as a part of the outer query’s condition or calculation.
📚 Automating Laravel Translation Extraction with a Custom Artisan Command
In this blog post, I will walk you through creating a custom Artisan command that scans your Laravel codebase, extracts all text used within the __() helper, and outputs the translations to a locale-specific JSON file.
📚 Laravel + React project with Authentication & User Panel in less than a minute
In this guide, I’ll show you how to quickly set up a new Laravel project with a React frontend and built-in authentication, all using Laravel Breeze. We’ll have a functional user panel with profile editing in just a few steps.
📚 Unraveling Laravel’s Request Host Methods: A Comprehensive Guide
In this post, we’ll explore the host(), httpHost(), and schemeAndHttpHost() methods, their differences, and when to use each one.
📚 The Inertia.js v2 Beta is Here
The first beta version of Inertia.js v2 was released this week. The core library has been rewritten to support asynchronous requests; unlocking some impressive features, you can now get your hands on!
📚 Mastering Laravel, No Compromises, and SourceDive with Joel Clermont
In this conversation, Joel Clermont shares insights into his work within the Laravel ecosystem, including his educational initiatives through Mastering Laravel, the impact of daily tips, and the community he has built. He discusses his unique consulting model with No Compromises, emphasizing a flat fee structure that simplifies client relationships.
📚 Laravel Route Names: How to Check If You’re in the Right Place
Ever needed to know if you’re on a specific route in your Laravel app? The named method is your new best friend! Let’s dive into how this nifty little feature can make your route handling smoother.