PHP 8.4.0 Beta 5 available for testing
Introducing FetchPHP: A Simple, Powerful HTTP Library for PHP, Inspired by JavaScript’s fetch API; Securing PHP Applications Against SQL Injection Attacks; and Zephir: PHP On Steroids — Extensions Mad
PHP
📚 Introducing FetchPHP: A Simple, Powerful HTTP Library for PHP, Inspired by JavaScript’s fetch API
Today, I’m excited to introduce FetchPHP, a lightweight HTTP library for PHP that takes direct inspiration from JavaScript’s fetch API. If you’ve ever found yourself making HTTP requests in PHP and thinking “I wish this was as simple as JavaScript’s fetch,” then this package is for you!
📚 Converting HTML To PDF With HTML Button
It’s easy to convert HTML into a PDF with the help of libraries. Sometimes starting a download once you’ve navigated to a page is needed; however, let’s give people the option to download the PDF or not. You can do that by adding HTML to your converter. Here’s how.
📚 Exploring Concurrency and Parallelism in PHP: Hands-On Tutorials and Tips
Here’s a step-by-step guide to understanding and implementing concurrency and parallelism in PHP, with hands-on examples and descriptions.
📚 Securing PHP Applications Against SQL Injection Attacks
Blocking SQL injection attacks is crucial for maintaining the security of your PHP applications. SQL injection is a vulnerability that allows attackers to execute arbitrary SQL code on your database, potentially leading to data breaches or loss.
📚 PHP 8.4.0 Beta 5 available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, Beta 5. This is the third beta release, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
📚 PHP Code vs. JavaScript Choosing the Right Tool for Your Project
When building a website or web application, the debate between PHP code and JavaScript comes up sooner or later. Both languages have been around for a long time and are essential in the world of development, but how do you know which one is right for your project?
📚 Zephir: PHP On Steroids — Extensions Made Easy
What if you want to make PHP as fast as possible? Well, the only way to do that is to write PHP Extensions.
📚 Slim and Flight PHP Framework Comparison
On social media, often new PHP devs ask “What framework should I use for my project” and generally the answers given are “Laravel” or “Symfony”. While these are both good options, the right answer to this question should be “What do you need the framework to do?”.
Laravel
Buckle up! We’re diving headfirst into the wild world of Laravel optimizations, climbing the treacherous ladder from “just glad it works” to “your colleagues might call you a wizard” or curse you for turning simple tasks into a dark art.
📚 Maintaining Data Structure in Laravel API Resources: Preserving Collection Keys
When building APIs with Laravel, you often use API resources to transform your models into JSON responses. By default, Laravel resets the keys of resource collections to numerical indexes. However, there are scenarios where preserving the original keys is crucial.
📚 Comparative Load Testing: Laravel on PHP Apache vs PHP Nginx
In this article, we will discuss the results of load testing conducted on two different servers running the Laravel application: one on php:8.1-apache and the other on php:8.1-fpm nginx. The goal is to compare the performance of both servers under load.
Sending emails in Laravel requires the collaboration between three components: Laravel mailer, Laravel mailable classes, and the Mail facade. Each of the three deals with a different aspect of the lifecycle of sending an email.
📚 How to create new project with Laravel Herd?
In this tutorial, we’ll walk you through setting up a Laravel project using Herd, streamlining your development workflow.
📚 Laravel Auth Routes Tutorial
In this article I show you the implications of the standard authentication system and other auth routes systems I navigated in the last ten years of experience with Laravel.
📚 Zero Configuration laravel Role Permission Setup
This package provides an effortless way to manage roles and permissions in your Laravel application. With automatic database configuration, one-command publishing, and easy integration, you can quickly set up robust role-based access control without hassle.
📚 Laravel Herd v1.11 Adds Forge Integration, Dump Updates, and More in v1.11
Laravel Herd released v1.11 this week, a significant update that includes Laravel Forge integration, sharing Herd project configuration across a team, a convenient profiler integration, and more.
Symfony
So I made a user bundle that provides a basic user entity, and repository immediately, which can be used directly after the installation.