Enum Best Practices in PHP 8.3, and NativePHP in Windows
PHP 8.3.7 & PHP 8.2.19 Released!; Machine Learning Application Development for PHP Developers; PHP Primer: A Beginner's Guide; and Statamic 5 is released!
PHP
📚 Enum Best Practices in PHP 8.3
In this blog post, I want to address my experience so far with enums and give some advices, after having a little recap of how to use enums.
📚 Making Life Difficult For Intruders: Installing PHP Intrusion Detection System
Today we will learn how to install and configure PHPIDS on a LAMP server. It is simple to use and adds an additional security brick to your application.
📚 A Big Step for PHP Developers: NativePHP’s Windows Support
Here are the exciting details of this development and a guide on how to use it.
📚 Building Dynamic Forms with PHP: A Comprehensive Tutorial
In this tutorial, we will walk you through the process of building PHP forms from scratch.
📚 PHP - Creating a pretty printing JMS Serializer at runtime
I needed to create a pretty printing JMS Serializer for a unit test, and couldn't find a good example. So here's one for the next person.
📚 Building a Secured User Authentication System with PHP, MySQL, PDO and hashed password
This tutorial will guide you through creating a user management system with a focus on security best practices and user experience.
📚 How to Validate Emails in PHP: regex, filter_var(), and API Explained
Be it marketing or transactional emails, email address validation is a necessity, or you could risk the reputation of your email domain.
📚 Protecting your email address via SVG instead of JS
Email addresses published on webpages usually need to be protected from email-harvesting spambots.
📚 PHP 8.3.7 & PHP 8.2.19 Released!
The PHP development team announces the immediate availability of PHP 8.3.7 & PHP 8.2.19. This is a bug fix release.
📚 Statamic 5 is released!
The Statamic team released Statamic 5 this week. This major release focuses on performance improvements, developer experience, and continued modernization of the code base.
📚 PHP Primer: A Beginner's Guide
Whether you're new to programming or looking to expand your skills, getting started with PHP can be an exciting journey. In this blog, I'll cover the basics of PHP, from understanding its syntax to handling data types.
📚 How to Prevent Cross-Site Scripting in PHP
User input forms on our website can be vulnerable to cross-site scripting (XSS) attacks if we aren’t extremely careful.
Laravel
📚 Boost Your Laravel Performance: The Ultimate Guide Laravel Caching
Unlock the full potential of your Laravel applications by mastering caching techniques. Learn how to implement and optimize cache strategies to enhance speed and efficiency.
📚 Transforming API requests and responses in Laravel 11 - The easy way
I've been working on an application using Next.js on the front-end and Laravel on the back-end as a traditional REST API. As you may know, snake_case is the naming convention for variable and function names in PHP.
📚 Laravel Relationship Recipes: Simplify Querying with hasManyThrough
In today's edition of Laravel Relationship Recipes, we'll explore the hasManyThrough relationship method, a powerful feature that simplifies querying related models through an intermediate model.
📚 How to create Wireables in Livewire?
Use Wireable Objects (like DataTransferObject) in Livewire. Our example will be Laravel Settings (from Spatie’s package).
📚 How to add dark mode in Laravel (with toggle button)
As a die-hard fan of dark mode from day one, I’ll show you how to use it in your Laravel project with a button that lets you switch between light and dark mode.
📚 Rule::array() and whereJsonOverlaps() for MySQL in Laravel 11.7
This week, the Laravel team released v11.7, with a Rule::array() validation method, a whereJsonOverlaps() method for MySQL, a Slack OpenID provider for Laravel Socialite, and more.
📚 Optimize Your Eloquent Queries with AI
The Laravel Slower package is designed for Laravel developers who want to enhance the performance of their applications. This package identifies slow queries and suggests optimizations such as indexing and other improvements.
📚 Digging into Laravel's Conditionable trait
Conditionable is a trait that adds two methods to any class: when and unless. They are essentially syntactic sugar.
📚 PHP Opcode caching for Laravel
Opcode caching in PHP is an optimisation method that enhances PHP’s performance by reducing the repetitive loading and parsing of scripts for each request.
📚 Observers in Laravel 11
In this article, we will delve into the concept of observers, their implementation, and best practices, particularly focusing on the newly released Laravel 11.
📚 PHP, Laravel and RubixML — Machine Learning Application Development for PHP Developers
Laravel’s intuitive API design and conventions make it easier to build RESTful APIs quickly. You can utilize Laravel’s API endpoints to send and receive data to and from your machine learning models, making predictions or performing training tasks.
Nativephp is an awesome project, how great that it has reached Windows!