PHP Weekly - PHPWeekly March 14th 2024

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

Hi everyone,

Laravel 11 has finally been released. If you want to read up on some of the new features that come with this update, feel free to browse through our previous newsletters here. This week we also have a topic on streamline configuration files with Laravel 11 in the Articles section below. If you're interested in a guide to debugging errors we have a list of 10 common errors and how to solve them, as well as improving memory usage by utilising PHP generators. In Podcasts we have new episodes from North Meets South on the topic of handling error states, request data objects and much more. Mostly Technical tackles the subject of layoffs from their personal experience, and why they always go bad. Finally in our Reading section we have a post on mastering Magento, and a post on the beauty of simplifying your code. 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


Laravel 11 Streamlined Configuration Files
One of my favorite features in Laravel 11 is the streamlined configuration files. During the development of Laravel 11 all configuration files were removed from the default Laravel installation.

Reducing PHP's CPU usage by nearly 40% by upgrading from Ubuntu 20.04 to 22.04
Over these past few weeks, we've updated our Ubuntu 20.04 LTS uptime servers to Ubuntu 22.04 LTS. The reason was mostly just staying up-to-date, but we had a surprising side-effect that was unexpected but very welcome.

10 everyday PHP errors and their fixes: A definitive guide on PHP debugging
Whether you’re a beginner or an experienced PHP developer, encountering errors is inevitable. However, knowing how to debug and resolve these errors can save you countless hours of frustration and ensure the smooth functioning of your PHP applications.

A way to mock PHP internal functions with xepozz/internal-mocker
Mock functions that have already “loaded” into PHP even before loading Composer Autoloader, any include or other function name(){} declarations.

Processing One Billion Rows in PHP!
PHP is not known for its speed, but as I am working on the PHP profiler I thought I give it a shot and see how fast it can get.

Unlocking PHP Generators: Revolutionizing Memory Efficiency
I have been using PHP for over 20 years, and one of the most common problems I’ve encountered is inefficient memory usage in the code I run.

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


Integrate Cloudflare Turnstile into Laravel and Livewire
Want to integrate Cloudflare Turnstile CAPTCHA into your Laravel or Livewire app? This package from Ryan Chandler makes integration super simple.

Laravel Zero - Let's build a TCP server
A few weeks ago, I began working on a TCP server for an upcoming annual CTF hosted by my team "Securinets ISI". The goal is to enable players to quickly submit flags using a command like...

Deploying Laravel 11 with Reverb Websocket Support
With the release of Laravel 11 comes a brand new first-party websocket package called Reverb.

Building Open Source Form Management tool for Developers
In the vast expanse of the digital universe, where developers tirelessly seek tools that are both powerful and pragmatic, PHPForm emerges as a beacon of innovation.

A Guide to encryption and hashing in Laravel
Every web developer should be aware of hashing and encryption because they are vital security concepts.

Routing implementation using PHP attributes
In this article I want to show an experimental example of routing implementation using PHP attributes.

Easy Polymorphic Relationships in Laravel ! One To One Relationship
Polymorphism in Laravel is a powerful feature that allows a model to belong to multiple other models.

News and Announcements


CakePHP 5.0.6 Released
Improvements include: Fix validation of ChronosTime instances to be considered valid by the time validation method. Fix potentially leaking file descriptor in StubConsoleInput + more!

PHP Annotated – February-March 2024
Welcome to the February–March edition of PHP Annotated! We’ll recap the most interesting developments in the PHP community over the past couple of months, featuring handpicked news, articles, tools, and videos.

Laravel 11 is now released!
Laravel 11 is now released, including a minimum PHP v8.2, a new Laravel Reverb package, streamlined directory structure, and more...

A Week of Symfony #897 (4-10 March 2024)
This week, Symfony 5.4.37, 6.4.5 and 7.0.5 maintenance versions were released. Meanwhile, in preparation for PHP 8.4 release at the end of 2024, we started testing all Symfony versions with it and we already fixed some deprecations.

SymfonyLive Paris 2024: Only 2 weeks to go for the conference!
Join us in 2 weeks at Symfony Live Paris with Workshops & Conferences to Improve your Skills and Have fun Together!

Podcasts and Vlogs


PHP Ugly: 375:Snowflake Developers
This week on the podcast, Eric and John talk about PHP Snake, Picking a Talk, Ollama, Release Manager for PHP 8.4, Verbs, bits, and more...

The Stack Overflow: A leading ML educator on what you need to know about LLMs
Machine learning scientist, author, and LLM developer Maxime Labonne talks with Ben and Ryan about his role as lead machine learning scientist, his contributions to the open-source community, the value of retrieval-augmented generation (RAG), and the process of fine-tuning and unfreezing layers in LLMs.

North Meets South Podcast: Handling error state, reviewing code, and request data objects
Jake and Michael discuss using state machines to handle accurately and predictably handling error state, reviewing code and having your code reviewed, and converting request objects to data objects.

Maintainable Podcast: Irina Nazarova - Investing in Innovation: The Consultancy's Guide to Growth
Robby Russell has a fascinating conversation with Irina Nazarova, the CEO of Evil Martians, a name that resonates with innovation and bold strides in the software development world.

Software Engineering Radio: SE Radio 607: John Frandsen on Geospatial Technologies
John Frandsen, Chief Product officer for Elebase, joins host Jeff Doolittle for an exploration of geospatial technologies.

Developer Tea: Taking Personal Accountability for Systematic Failures
"What actions can I take to get better from here?" This seems like a simple concept, but in practice we often are more interested in protecting our ego.

Shoptalk Show: Web Sustainability with Michelle Barker
We're talking with Michelle Barker about the idea of paying to support bloggers (and podcasters!) via services like Patreon, drumming as a fun side gig from CSS, how big of an issue digital sustainability is.

PHP Architect: Community Corner: ngrok’s Scott McAlister
Scott talks to Scott McAlister from ngrok about some of the features ngrok can provide to its users and Scott’s talk about webhooks at php[tek] 2024.

Mostly Technical: 27: The Layoff
Ian & Aaron discuss being laid off, what comes next for Aaron, why layoffs always go bad, good free tiers vs. bad free tiers, & more.

Syntax: TypeScript Interview Questions - STUMP’d
Wes and Scott quiz each other on advanced TypeScript features and syntax in a segment they call 'Stumped'.

The Changelog: Puter is the internet OS
Puter puts an entire operating system in your web browser, the kapa.ai team write down how to structure your docs for LLMs, Daytona is an open source Codespaces alternative, Gleam v1.0 has been released & Rolldown is a JavaScript bundler written in Rust.

Reading and Viewing


My Reusable GitHub Actions Workflows
As you might know, I'm a big fan of GitHub Actions. I've written a few actions myself and use GitHub's automation platform in all my projects. A neat but lesser-known feature of GitHub Actions is reusable workflows.

From Backend Dev to Front and Center: A First-Time Speaker's Journey to PHP UK 2024
PHP UK is a vibrant, welcoming, developer conference which I have enjoyed attending many times in the past. This year was a little different, as I took to the stage for the first time!

Mastering Magento: A Developer's Guide to Building Powerful eCommerce Stores
This comprehensive guide delves deep into the intricacies of Magento development, equipping aspiring developers with the knowledge and skills to navigate the platform's complexities and unlock its full potential.

Elevate Your PHP Development Game with Composer Tips
If you're knee-deep in PHP code you probably understand the importance of keeping your composer.json file in shipshape. Here's a little gem of wisdom to level up your dependency management game!

From Beginner to Master: The Path to Becoming a PHP Guru
As someone who aspires to become a PHP guru, just like everyone else, I've had my fair share of struggles in the vast sea of code, getting "knocked out" by bugs more times than I can count.

Simplify Your Code
Over the years, I have become very interested in clean code, calisthenics objects, etc. And over time, readings, videos, discussions and katas, my writing of code has changed: less superfluous, more meaningful code (at least for me) and a desire to go to the 'essential.

PHP 8.1.0-Dev Backdoor
On March 28, 2021, PHP version 8.1.0-dev was released with a hidden backdoor over which we can perform RCE. The malicious code was promptly detected and removed.

Interesting Projects, Tools and Libraries


dragon-code/laravel-route-names
Automatic generation of route names.

jeroen/json-dump-reader
Provides line-by-line readers and iterators for Wikibase/Wikidata JSON dumps.

aedart/athenaeum-testing
Testing utilities built on top of Orchestra Testbench and Codeception.

nlac/nlsclientscript
Yii ClientScript extension for prevent reloading javascript and merging/minfying resources.

rickgoemans/laravel-api-response-helpers
A Laravel helper to create uniform API responses.

nitsan/ns-all-chat
One of the only TYPO3 extension which provides to use most popular chat tool at your website.

aedart/athenaeum-validation
Validation rules and utilities for Laravel.

zodiacmedia/drupal-libraries-installer
Install Drupal libraries via a simple listing in your composer.json file.

oidc/core
OpenID Connect Core Library implementation for PHP.

refactoring/time
Facilitates working with intervals.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 14. 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 14. 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 March 6th 2024

Thursday, March 7, 2024

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

PHPWeekly February 29th 2024

Thursday, February 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 February 2024 Hi everyone, This week we have a couple of

PHPWeekly February 22nd 2024

Thursday, February 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 February 2024 Hi everyone, Our Podcast section is stacked with

PHPWeekly February 15th 2024

Monday, February 19, 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 February 2024 Hi everyone, We've added three podcasts on

PHPWeekly February 8th 2024

Thursday, February 8, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 8th February 2024 Hi everyone, Are you looking for a new podcast to

You Might Also Like

📳 Galaxy Z Flip 6 Review — How to Watch the 2024 Summer Olympics for Free

Friday, July 26, 2024

Also: Fixing Spotify's Repeating Ads, and More! How-To Geek Logo July 26, 2024 Did You Know The rectangular area of a flag found in the upper left corner (top hoist corner) of the flag, such as the

Your monthly update has arrived

Friday, July 26, 2024

What's new in Google Play and Android July 2024 The Collections surface engages users with content Introducing Collections, a new on-device surface for your content Collections present users with

iOS Dev Weekly - Issue 671

Friday, July 26, 2024

There are two types of apps on the visionOS App Store. Will you create an app that makes people reach for the headset? 🥽 View on the Web Archives ISSUE 671 July 26th 2024 Comment In the last two weeks

Ranked | The 10 Busiest Ports in the World, by Cargo Traffic 🚢

Friday, July 26, 2024

As critical nodes for trade and commercial activity, we show the top 10 busiest ports in the world by cargo volume. View Online | Subscribe Presented by: Is Your Portfolio Powering the Future? >>

Let the Games Begin

Friday, July 26, 2024

Week of July 22, 2024 Let the Games Begin Week of July 22, 2024 By MG Siegler • 26 Jul 2024 View in browser View in browser Mark Zuckerberg loves two things above all else right now: llamas and

Daily Coding Problem: Problem #1508 [Hard]

Friday, July 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

OpenAI announces SearchGPT - Weekly News Roundup - Issue #477

Friday, July 26, 2024

Plus: Will billionaires live forever; a police robot dog jamming wireless networks; Alphabet to invest $5B into Waymo; warnings about “model collapse”; a new partnership for AI security; and more! ͏ ͏

Using Data as a Product Manager

Friday, July 26, 2024

If you had your choice between a little data or a lot of data on which to guide decisions, which would you pick? ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Last Mile of Blockchains: RPC and Node-as-a-Service

Friday, July 26, 2024

Top Tech Content sent at Noon! Find the hottest jobs from top tech companies Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 26, 2024? The

⚙️ Generative AI is making workers less productive

Friday, July 26, 2024

Plus: Runway trained video generator on thousands of YouTube videos ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌