PHP Weekly - PHPWeekly September 19th 2024

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 20th September 2024

Hi everyone,

We hope you're all doing well. First of all we would like to thank you for all the support that you've given us weekly as we present the latest news and updates on the world of PHP. This week we have the third beta release for PHP 8.4 as well as the release of CakePHP 5.1. In Podcasts this week we have new episodes from No Compromises, and this week the team tackles what it really means when you say you know a particular technology. The untold power of using enums in PHP and other topics are being discussed by Jake and Michael at North Meets South podcast. There's also a new PHP Roundtable episode and this month they chat about the power of command-line and text-based interfaces in PHP. Finally in Tutorials we have guides to understanding and implementing concurrency and parallelism in PHP, as well as how to clock SQL injection attacks to maintain the security of you PHP applications. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.

If you have an article, tutorial or podcast that you would like to be featured in our newsletter, feel free to reach out to us at articles@phpweekly.com.

Do follow us on our social media channels on Twitter and Facebook

All the best,
Adrian


Please help us by clicking to our sponsor:

encrypt php scriptsGet Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.

Articles


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?".

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!

The 7 Levels of Laravel Optimization: From Rookie to Optimization Overlord — with Benchmark — 98% reduction
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.

Jobs

Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.

Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.



Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.

Tutorials and Talks


Laravel Mailable Tutorial
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.

Linking Private GitHub Repositories as Composer Dependencies
When you work with multiple Composer-based repositories, you might find the need to share some PHP code between them. If these were public repositories, this article would be a lot shorter. However, since they're private, you can't just add them to the composer.json and expect it to work.

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.

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.

Step-by-Step: Deploy Laravel App to Cloud (AWS, Google, Azure, DigitalOcean) with CI/CD Using GitHub Actions/GitLab CI
Below is a hands-on example and step-by-step guide for deploying a Laravel app to a cloud server like AWS, Google Cloud, Azure, or DigitalOcean using CI/CD pipelines.

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.

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.

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.

News and Announcements


CakePHP 5.1.0 officially RELEASED
The CakePHP core team is happy to announce the immediate availability of CakePHP 5.1.0. 5.1.0 provides a number improvements to CakePHP. 5.1.0 introduces a small number of deprecation warnings. Any deprecations introduced now will continue to have consistent behavior until their removal in 6.0.0. There is no scheduled date for 6.0.0 at this time.

Chaperone, Defer, Cache::flexible, and more are now available in Laravel 11.23
The Laravel team released v11.23 this week, with the Laracon US 2024 open-source updates like defer(), concurrency, contextual container attritubes, and more.

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.

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.

A Week of Symfony #924 (9-15 September 2024)
This week, Symfony development activity focused on fixing bugs on existing branches: we provided a workaround for a parse_url() bug, updated the wcswidth data in the String component to Unicode 16, and updated ICU data to version 75.1. In addition, we published a security release to solve a potential Twig sandbox bypass. Finally, we published the full schedule of the SymfonyCon Vienna 2024 conference.

Podcasts and Vlogs


PHP Ugly: 397: Little Legs
This week on the podcast, Eric and John talk about New Laravel Features, New Coding Projects, New PHP Annotated, Tailwind Plugin, and more...

The Stack Overflow: Looking under the hood at the tech stack that powers multimodal AI
Ryan chats with Russ d’Sa, cofounder and CEO of LiveKit, about multimodal AI and the technology that makes it possible.

No Compromises Podcast: What does it mean to "know" something?
What does it really mean when you say you know a particular technology? On today's episode, we discuss this using TypeScript as a specific example.

North Meets South Podcast: Tenanted files, testing batch jobs, and enhanced enumerations
In this episode, Jake and Michael discuss potential security considerations around segmenting file uploads per tenant, approaches to testing batch jobs in Laravel, and perhaps the untold power of using enums in PHP.

Software Engineering Radio: SE Radio 633: Itamar Friedman on Automated Testing with Generative AI
Itamar Friedman, the CEO and co-founder of CodiumAI, speaks with host Gregory M. Kapfhammer about how to use generative AI techniques to support automated software testing.

Shoptalk Show: Thomas Steiner on AI in Chrome and the Web
Thomas Steiner from Project Fugu talks with us about AI in Chrome, the small large language model in use, how features like this are rolled out, the ethics and concerns around sending and sharing data, on device vs web APIs, and ideas for use cases and ways to explore AI on the web.

WP Builds: 389 – All New ‘The Community Show’ with Courtney Robertson. Episode 1.
So this is fun! A new show! This is the next one that I’m announcing… The Community Show! It’s with Courtney Robertson, who knows more about the WordPress community than almost anyone else I can think of.

WP Briefing: Episode 86: My First WordPress Experience
Join us this week as Josepha takes a personal journey down memory lane to her first encounters with WordPress. In this episode, she shares the story of her very first WordPress website, the excitement of getting involved with WordCamps, and how those early discoveries shaped her rewarding path in the WordPress community.

Laravel Podcast: Listener Q&A with Taylor Otwell After Accel Investment Announcement
In this episode of the Laravel podcast, we address some listener-submitted questions regarding the recent investment in Laravel and the announcement of Laravel Cloud.

The PHP Roundtable: 093: PHPRoundtable September 2024
Unlock the power of command-line interfaces and text-based user interfaces with PHP in our latest PHPRoundtable episode: ‘CLIs and TUIs with PHP for Fun and Profit’.

Frontmatter Podcast: Michael Feathers, Author of AI Assisted Programming
In this episode of the FrontMatter podcast, host Len Epp interviews Michael Feathers, founder of R7K Research and Conveyance. Michael delves into his career journey, from his early interest in technology to becoming a prominent voice in software design and the challenges of working with legacy code.

Syntax: Receipt Printer with JavaScript
Wes explains how he built a receipt printer with JS during Hack Week at Sentry, including connecting it, encoding printer commands, taking screenshots to print complex layouts when alerts come in from Sentry.

The Changelog: Why GitHub actually won
Scott Chacon writes up his insider take on GitHub’s success, Sentry wants other companies to take the Open Source Pledge, Benj Edwards used AI to reproduce his late father’s handwriting, Dave Kiss explains the current hype that PHP is getting & Taylor Otwell raises $57 million series A from Accel.

Reading and Viewing


Ben Holmen: Building Connections and Friendships through Pair Programming with Strangers
Collaboration can be a powerful catalyst for growth. Ben Holman, a passionate advocate of pair programming, has taken this idea to the next level with his new project, The Pair-amid Scheme. The initiative is designed to connect programmers with strangers, creating opportunities to work together on coding projects in a collaborative and meaningful way.

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?

Build Your Own Assistant with Laravel Livewire — using your Data and Streamed Content
Have you ever dreamed of having your very own AI assistant? You know, like Jarvis from Iron Man or Alexa, but tailored specifically to your needs? Well, the good news is, with the power of Laravel Livewire, you can turn this dream into reality.

User bundle for Symfony
So I made a user bundle that provides a basic user entity, and repository immediately, which can be used directly after the installation.

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.

Creating Custom Casts in Laravel: Tailoring Data Transformations
Laravel’s Eloquent ORM provides a powerful casting system out of the box, but sometimes you need more specialized data transformations. This is where custom casts come into play, allowing you to define your own casting logic for model attributes.

Interesting Projects, Tools and Libraries


bfg/admin
Laravel Admin by BFG.

savannabits/kuali-companion
A Companion Package to enable laravel apps post transactions in real time or via Enterprise Feed to Kuali Finance.

erickskrauch/phpstan-yii2
Yii2 extension for PHPStan.

red-explosion/undefined
API error handling for Laravel.

bartlettinteractive/wordpress-coding-standards
The Bartlett Interactive WordPress coding standard.

flipboxfactory/craft-salesforce
Salesforce Integration for Craft CMS.

raaquino/amadeus-sdk-php
Amadeus SDK for PHP - Use Amadeus Web Services in your PHP project.

cosninix/cos
Very legacy collection of various utility functions.

soufiene-slimi/star-field-for-backpack
Easily rate items with stars using this new field type.

illuminated/db-profiler
Database Profiler for Laravel Web and Console Applications.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 15. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.



Sponsor this newsletter

So, how did you like this issue?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks
Also, if you have a site or blog related to PHP then please link through to our site.
unsubscribe from this list  
 

Protect your PHP code with SourceGuardian 15. Free trial.

Copyright © 2024 PHP Weekly, All rights reserved.
Because you signed for it!
Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom
 

 

Older messages

PHPWeekly September 12th 2024

Thursday, September 12, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th September 2024 Hi everyone, It's a great week for Laravel.

PHPWeekly September 5th 2024

Thursday, September 5, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 5th September 2024 Hi everyone, It's the first newsletter of

PHPWeekly August 29th 2024

Thursday, August 29, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 29th August 2024 Hi everyone, Another week has passed and it's

PHPWeekly August 22nd 2024

Thursday, August 22, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 22nd August 2024 Hi everyone, In this week's newsletter we have

PHPWeekly August 15th 2024

Tuesday, August 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 15th August 2024 Hi everyone, We live in a world where things seem

You Might Also Like

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power