Mastering PHP Generators
Value Objects in PHP can protect you from bad data; PHP 8.2.20 and PHP 8.3.8 Released!; and Level Up Your Laravel Development with Facades: A Friendly Guide
PHP
📚 Value Objects in PHP can protect you from bad data
One of the things that we need to care about when working with object oriented programming is that the data we are working with is valid at every moment.
📚 Mastering PHP Generators
In this article, we’ll look at what PHP generators are, how they work, and why you should consider using them in your next project.
📚 Factory Pattern can encapsulate complexity in PHP
Sometimes I hear comments against the Factory Pattern, meaning that it just introduces complexity with no real value, and I want to explore at least one use case in which I think it’s beneficial.
📚 A Quickstart Tutorial on PHP Generators
To optimize memory usage, the crwlr/crawler library leverages PHP's Generators. If you want to write a custom step for your crawler, the step must return a Generator. Since working with generators can be a bit tricky if you're new to them, this post offers an intro on how to use them and highlights common pitfalls to avoid.
📚 How do you add page links and manage changes to a page by changing a single file in PHP?
Today I have learned to add page links in PHP project. And also know how to manage files that contains the data of pages.
📚 Nginx: Doing IP Geolocation Right In Nginx
Knowing the geolocation of your site's users is handy thing. maybe you want to force your canadian users into a degraded, second-rate version of your ecommerce site, or maybe you want to redirect people from brazil to a frontend you ran through google translate.
📚 Directory Templates: How to Pick the Best One for Your Project
This guide will help you dig deeper into Larafast Directories Boilerplate, by discussing the key factors to consider and the benefits of using customizable templates.
📚 How to Remove HTML Markup from Text in PHP
Removing HTML from text is an easy and effective way to sanitize client-side text inputs.
📚 Apartment Management System Project in PHP with Source Code
Apartment Management System Project in PHP is used to help people in apartments pay bills like maintenance bills and water bills, make a complaint, and update their information.
📚 PHP 8.2.20 and PHP 8.3.8 Released!
The PHP development team announces the immediate availability of PHP 8.2.20 and PHP 8.3.8. This is a security release.
📚 Xdebug Update: May 2024
In this monthly update I explain what happened with Xdebug development in the past month. These are normally published on the first Tuesday on or after the 5th of each month.
📚 Updates for security issue affecting IntelliJ-based IDEs 2023.1+ and JetBrains GitHub Plugin
A new security issue was discovered that affects the JetBrains GitHub plugin on the IntelliJ Platform, which could lead to disclosure of access tokens to third-party sites. The issue affects all IntelliJ-based IDEs as of 2023.1 onwards that have the JetBrains GitHub plugin enabled and configured/in-use.
📚 Using Models as Flags
One thing I've been experimenting with lately, with positive results, is using models as flags. When you need to flag one of your models somehow, you might add a boolean to your table to indicate a certain status.
📚 Introduction to gRPC: Building a Golang Server and a PHP Client
In this article, we will explore the basics of gRPC, and walk through a practical example of implementing a gRPC server in Golang and a client in PHP.
📚 Critical PHP Flaw Puts Windows Servers at RCE Risk
In recent cybersecurity news, a critical vulnerability in the PHP programming language has been identified, posing significant risks to Windows servers worldwide.
Laravel
📚 Mastering Laravel Development with the PHP Scratchpad
By providing a fast and efficient way to write, test, and debug PHP code, the Scratchpad allows you to iterate quickly and focus on building your application.
📚 Level Up Your Laravel Development with Facades: A Friendly Guide
In this post, we’ll break down Facades in a way that’s easy to understand, even for beginners.
📚 Automate comment system in Laravel: A comprehensive guide
Today, let's delve into the world of Laravel comments using the fantastic package from beyondcode.
📚 Handling JSON Data In Laravel with Eloquent And JSON Columns: Complete Guide
In this post, we’ll look at how to work with JSON data in Laravel, specifically concentrating on JSON columns in your database and utilizing the Eloquent Model in Laravel to manipulate this data.
📚 Use a Closure with updateOrInsert() in Laravel 11.10
This week, the Laravel team released v11.10, with the ability to pass a callback to updateOrInsert, support for soft-deleted models with explicit route model binding, and more.
📚 "Fast Projects" by Larafast: Real life, ready to use Laravel based Boilerplates
Larafast continues to extend its boilerplates list. Introducing Larafast Fast Projects, a new collection of ready-to-go boilerplates designed to accelerate your Laravel development journey.
📚 Eloquent ORM, Query Builder, Raw SQL: When To Use Which?
In this article, we’ll be reviewing each of them in terms of its definition and how to implement them. I’m gonna be using Laravel as the framework to demonstrate everything for the sake of simplicity and understandability.
Symfony
📚 A Week of Symfony #910 (3-9 June 2024)
This week, Symfony 5.4.40, 6.4.8, 7.0.8 and 7.1.1 maintenance versions were released. In addition, we organized the SymfonyOnline June 2024 conference and merged the first features of Symfony 7.2, to be released at the end of November 2024.
Tools
📦 bjerke/laravel-enums
Helpers for handling enums and enum translations in Laravel.
📦 fastknife/ajcaptcha
This is a behavior verification code PHP back-end implementation package.
📦 sunkan/aws-auth-policy
Library to help with generating auth policies for AWS Gateway API Authorizers.
📦 kentaroutakeda/laravel-safe-routing
Yaml based type safe routing for laravel.