PHP Weekly - PHPWeekly May 30th 2024

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

Hi everyone,

We've officially hit the mid-year mark and we hope you're all doing well as we deliver the latest weekly PHP news. This week we have an article in the four new array functions that are likely to be coming to PHP 8.4. We also have a list of lesser known PHP tips and tricks, as well as an insightful post on the pros and cons of PHP development tools and things you need to know before starting a new project. In Tutorials, we have guides on using Quill editor with Laravel 10 and Livewire, building a simple referral API with Laravel 11, and a step by step guide on using SQLite, also with Laravel 11. Finally in Podcasts, we have new episodes from the crew at No Compromises and this week they discus Magic methods. Laravel News also released a podcast on ruling and finding arrays and surfacing validation errors. Sytax tackles common components you need on every project, while over at The Changelog they caution against using AI to write your tests. 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


New Array Find Functions in PHP 8.4
Four new array functions are likely coming to PHP 8.4 that are still in the RFC voting stage. We're encouraged that the voting is already 100% "yes" votes thus far, with voting ending May 29, 2024. While the RFC acceptance of these functions is pending, it seems likely that these functions are coming to PHP 8.4.

Laravel 10 API application with necessary functions pt 2.
Necessary prequisites (knowledge): VS Code, Composer, Terminal, Git bash, GitHub, Postman, MarkDown, XAMPP (also serves my MySql database), environmental variables (or .env), Blade, SPA, Sanctum, Passport.

Lesser-Known Tips and Tricks of PHP
PHP has several hidden gems that can make your code cleaner, easier to write, and more efficient. In this post, we’ll explore some of these lesser-known tips and tricks.

Understanding Mock, Dummy, Spy, Stub, and Fake in PHP Unit Testing
In this article, we will explore each of these concepts with practical PHP examples.

Complex Features in Laravel 11 with examples
This article delves into these sophisticated features, exploring how they can be leveraged to build powerful applications.

Pros and Cons of PHP Development Tools You Should Know Before Starting a New Project
This blog post will provide you with detailed insights into the latest PHP development tools and how to start them for your new projects along with their pros and cons.

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


Configuring Laravel With Additional Environment Files
In Laravel, you can configure additional environment files that will load instead of the .env file. This feature is helpful for testing, where you can load a .env.testing environment file instead of the default.

Laravel Immutable Carbon Dates
In this article we're going to look at the Carbon data class in laravel and how we can change the settings of how laravel uses the class to make it immutable.

How to use Quill Editor with Laravel 10 and Livewire v3
Handling image upload on Trix editor was difficult to implement, I couldn't find any rich text editor to help with that until I stumbled on Quill rich text editor.

Self-Hosted WordPress Plugin Updates
So you developed your own plugin and now want to monetize on it. Since it's not free, you can't use the WordPress Plugin Repository for this purpose because it only supports free plugins. You will need to either host it on a marketplace or host it yourself. If you chose the latter and don't know how, then this guide is for you.

Simplify Your PHP Development with a Handy Bash Script
In this article, I'll guide you through the script step by step, explaining how it works and why it's beneficial for your development workflow.

Generate a Laravel CRUD (Create, Read, Update, Delete) in 5 minutes
Are you building your App on Laravel? That's a great choice. You must be planning an Admin panel for it. Well, if you're building one, let me give an overview of how you can make a customizable & functional Admin panel with less effort.

Building a simple Referral System API with Laravel 11
For those who are new to using Laravel 11 and want to handle user referrals through APIs, this tutorial will show you how to create a basic referral system API.

Deploying a PHP Web App with Docker Compose, Nginx, and MariaDB: A Complete Guide
In this tutorial, we will walk you through the process of deploying a PHP web application using Docker Compose, Nginx as the web server, and MariaDB as the database.

Using SQLite with Laravel 11: A Step-by-Step Guide
SQLite is a powerful and lightweight database that's perfect for small to medium-sized applications.

News and Announcements


A New Validation Rule and the Ability to Manually Fail a Command in Laravel 11.8
This week, the Laravel team released v11.8, with a new validation rule, the ability to fail a command outside the handle() method, create a view during make:mail, and more.

A Week of Symfony #908 (20-26 May 2024)
This week, we continued polishing Symfony 7.1 features and fixing some of its deprecations to prepare for its stable release next week. Meanwhile, we introduced a Symfony Jobs section so you can find a great job or post your own job to hire talent from the community. Lastly, we updated the code repository to create the branch for Symfony 7.2, which will be released at the end of November 2024.

SymfonyCon Vienna 2024 - Submit your talk before July 8th
SymfonyCon Vienna 2024, our next annual International Symfony conference, will take place on December 5 & 6! Start preparing for your participation by submitting a paper for a talk or workshop, registering for the conference, or becoming a conference partner.

CakeFest 2024: The Official CakePHP Conference
Our annual conference dedicated to CakePHP. One full workshop day (plus one hybrid day) that is an ideal way to learn as both beginners and advanced users, followed by a full day of presentations, discussions and talks on CakePHP related technologies.

Laracon AU 2024 tickets are now on sale
The first release of Laracon AU tickets are now on sale, with Blind Bird pricing available for $549 per ticket - an early discount of $150 on this year's ticket price - but be quick, as Blind Bird tickets are limited.

Podcasts and Vlogs


PHP Ugly: 384: Multi Level PHP
This week on the podcast, Eric and John talk about Is Slack training their AI with your chat and if so is it really bad?, Winamp opens up its source code, PHP RFCs, and more...

Laravel News Podcast: Ruling arrays, finding arrays, and surfacing validation errors
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: An open-source development paradigm
Temporal is an open-source project focused on durable execution and workflow orchestration.

No Compromises Podcast: Magic methods are okay in the right context
"Magic" methods and properties show up several places in Laravel, as well as third-party packages. They can make certain things easier and less verbose, but there is a...

Maintainable Podcast: Brit Myers - Decoding Product vs. Technical Risk
Join Robby as he welcomes Brit Myers to the podcast. Brit, currently thriving as the VP of Engineering at System Initiative, discusses the intricacies of maintaining software.

Software Engineering Radio: SE Radio 617: Frances Buontempo on Modern C++
Frances Buontempo, author of the new book Learn C++ by Example, discusses the C++ programming language, a widely used general-purpose programming language.

Shoptalk Show: Economic & AI Vibes with Jason Grigsby
We're chatting with Jason Grigsby about what a white-collar recession means, how the sources and methods of consuming news shape our perspectives, whether the current economic conditions represent a market correction and if a rebound is imminent.

WP Builds: 374 – WordPress turns 21. Hear from 21 voices about what WordPress means to them.
A few weeks ago I was on a call with Adam Warner and Marcus Burnette from GoDaddy, and we were trying to come with fun ways to celebrate the 21st birth of WordPress, which is on May 27th 2024.

WP Briefing: Episode 80: Unlocking Your WordPress Potential with Learn WordPress Tools
Welcome to another episode of the WordPress Briefing! In this episode, your host, Josepha Haden Chomphosy, delves into the incredible resources available to help you broaden your WordPress expertise.

Mostly Technical: 36: Business Dad
Ian & Aaron discuss Aaron's DHH interview, Ian's phishing fiasco, and are joined by special guest Sam Rose to talk about high effort content & a lot more.

Over Engineered: Full Stack Javascript w/ Kelvin Omereshone
The internet has been talking (yelling?) about full-stack javascript a lot lately. In today's episode, we sit down and talk about what it means to be "full stack" and whether there are really any truly full-stack javascript frameworks out there (spoiler: there are, but maybe not Next.js or Remix).

Software Unscripted: A Haskeller Tries Smalltalk with Ian Jeffries
Richard talks with Ian Jeffries about his experiences as a Haskeller exploring modern Smalltalk (arguably the original object-oriented programming language), including both the historical context of where Smalltalk came from as well as what it's like using it in a modern context.

Syntax: Components We Need on Every Project
Scott and Wes discuss common components they use across projects such as navigation, headers, toasts, auth forms, admin tables, markdown renderers, icon components, and more.

The Changelog: Why you shouldn't use AI to write your tests
Swizec’s article on not using AI to writes tests, LlamaFs is a self-organizing file system with Llama 3, a Pew Research analysis confirmed that the internet is full of broken links.

Reading and Viewing


The Ability to Prevent Destructive Commands From Running is Coming to Laravel 11
In an upcoming Laravel release, you can prevent commands like database migrations from accidentally running in production environments. The next Laravel release should include the ability to use a framework Prohibitable trait to stop commands from running.

Security Best Practices in Web Development
As web developers, it's crucial to prioritize application security. With increasing cyber threats, implementing robust security measures is essential. This article covers best practices for securing web applications.

Laravel Fundamentals: Components
Components are essentially reusable pieces of code that can help you maintain a clean and efficient codebase.

Building Clean & Maintainable PHP/Laravel Applications with SOLID
SOLID is a set of principles of Object-Oriented Design,which help us to write a clean, maintainable, and extendable code.

Taming the Queue Beast: Mastering Background Jobs with Laravel Horizon
In the bustling world of web applications, background jobs are the unsung heroes that handle asynchronous tasks, keeping your app responsive and efficient.

Exploring Laravel Accessors and Mutators in Laravel
This article delves into how to use accessors and mutators in Laravel, providing insights into their benefits and practical applications.

CSRF Protection in Laravel: Shielding Your App from Unintended Actions
In this blog post, we’ll delve into CSRF attacks, their implications, and how Laravel’s built-in CSRF protection safeguards your web applications. We’ll also provide a step-by-step tutorial to ensure your forms are CSRF-protected.

Interesting Projects, Tools and Libraries


ajtarragona/web-components
A collection of view components for your laravel application.

automattic/jetpack-sync
Everything needed to allow syncing to the WP.com infrastructure.

zanichelli/healthcheck
Health check package provides security target for the project.

samsonasik/mezzio-authentication-with-authorization
Laminas skeleton with authenticaton and authorization example, featuring crsf, flash, prg.

nyco/wp-stat-collector
A developer plugin for WordPress that adds hooks to enable the logging of data from the site to a specified MySQL database.

dennisdigital/behat-drupal-features
Drupal Features Behat Context.

fei/api-entities
Entities descriptors and helpers for objective-php/gateway.

retinens/laravel-bootstrap-toasts
This package provides an easy interface for using Bootstrap 5+ toast messages in a Laravel app.

christianbarkowsky/contao-protectedselect
Adds a new form select widget which hides the internal field values in the frontend.

alcodo/powerimage
Laravel Package to create a dynamic image handler.

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 May 23rd 2024

Thursday, May 23, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd May 2024 Hi everyone, It's a week of comebacks in this

PHPWeekly May 16th 2024

Friday, May 17, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 16th May 2024 Hi everyone, New PHP updates, news and guides

PHPWeekly May 9th 2024

Thursday, May 9, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th May 2024 Hi everyone, Stacked and packed is this week's

PHPWeekly May 2nd 2024

Thursday, May 2, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd May 2024 Hi everyone, Hope you're all well. This week we

PHPWeekly April 18th 2024

Thursday, April 18, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 18th April 2024 Hi everyone, If it's the latest news and

You Might Also Like

📧 Simple Messaging in .NET With Redis Pub/Sub

Saturday, July 27, 2024

​ Simple Messaging in .NET With Redis Pub/Sub Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ API Collaboration Has Never Been Easier ​ ​API Collaboration has never been easier with

📳 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