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

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to

Why Nvidia's CEO loves NotebookLM

Friday, November 22, 2024

I love my Alexa-enabled microwave; Best early Black Friday deals -- ZDNET ZDNET Tech Today - US November 22, 2024 Jensen Huang Even Nvidia's CEO is obsessed with Google's NotebookLM AI tool