PHP Weekly - PHPWeekly February 15th 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 our list this week. The Changelog, Syntax and Over Engineered. We do hope you enjoy their content along with other podcasts we feature weekly in our newsletter. We also have new episodes from Laravel Podcast and this week they talk about the newly hired head of engineering  at Laravel and its impact on the future. North Meets South dicsuss the differences between transactional and campaign emails, while at Maintainable, the topic this week is a deep dive into the basics of software project maintenance. In our Articles section we have Brent Roose tackling how to automate unit testing using AI Assistant in PHP. We also have a compilation of CLI tools that will make you a better and more productive developer on the command line. Finally in our Reading section we have a list of tools to make working with Git more productive, along with using Ecotone for real life solutions for Laravel multi-tenant 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


AI for PHP: How To Automate Unit Testing Using AI Assistant?
Testing. If you’re anything like me, you’ll agree that it’s equal parts important and boring. It’s one of those things that isn’t much fun while you’re doing it, but you know it’ll pay dividends later on.

Five Tools That Will Make You More Productive on the Command Line
I’ve compiled a list of some of the CLI tools I think will make you a better, more productive developer on the command line. This isn’t an exhaustive list, but I’ve picked five CLI tools that I regard as some of my favorite productivity boosters when working with files and code on the command line.

DTO vs VO in PHP
Data Transfer Objects (DTOs) and Value Objects (VOs) are particularly useful when working with dynamically typed languages like PHP, where switching to the use of more structured types is essential to improve the quality of our applications, as well as the readability of the code.

Writing Code like a Senior Developer in Laravel
This article delves into best practices, and common pitfalls, and provides both wrong and right coding examples to guide you in writing clean, efficient, and scalable code in Laravel.

PHP: 7 tricks to help with upgrading Composer packages
Recently I had the pleasure of taking an enterprise app and upgrading it from Laravel 9 to Laravel 10. Like a lot of applications we also had a good number of dependencies to upgrade.

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


Reusable Input Components without Livewire, with Livewire
Follow along to see how we can create a generic TextInput component with a fluent interface that can be reused everywhere with just a few lines of code.

Renaming a Column in Laravel: A Step-by-Step Guide
In this article, we'll explore a step-by-step guide on how to rename a column in Laravel.

Storing classes with user configurable parameters in the database (with Laravel)
In a current Laravel-based software project I'm developing, I was confronted with a small challenge that kept me thinking more than perhaps it should have: how to efficiently store an "abstraction" of certain classes in the database.

Asynchronous state machine with Symfony Workflows
The Symfony Workflow component enables the creation and management of state machines. Let’s explore how it can prove extremely beneficial in constructing complex business logic.

Comparing Function API & Class-based Components in Laravel Livewire Volt
In this video, we're transforming a Livewire Component into a Volt Component. There are 2 options for this, that is a Functional API Component or a Class-based Component. We'll be creating both and comparing them.

Building a Blogging Site with React and PHP: A Step-by-Step Guide
Welcome to our comprehensive tutorial on building a React PHP Blogging Site. This step-by-step guide takes you through creating a fully functional blog using the powerful combination of React for the front end and PHP for the back end.

Mastering Date and Time Operations in PHP with My New PHP Date Formatter Package
I'm thrilled to announce the release of our newly developed PHP Date Formatter package!

News and Announcements


New Laravel 11 Apps Include a Health Check Endpoint
As part of the release of Laravel 11, new applications include a health /up endpoint. This route is defined in the new bootstrap/app.php file by passing the health parameter—which is defined by default in the Laravel 11 skeleton.

Streamed JSON Responses Added to Laravel 10.43
The Laravel team released v10.43 with support for streamed JSON responses, passing a class name to register a global eloquent scope, a new insertOrIgnoreUsing Eloquent method, and more.

A Week of Symfony #893 (5-11 February 2024)
This week, Symfony maintained versions focused on fixing bugs and updating the translation of validation messages to many of the supported languages. Meanwhile, the upcoming Symfony 7.1 version improved the parsing/linting methods of ExpressionLanguage and also improved the BinaryFileResponse. Lastly, we published more details about the talks of the upcoming SymfonyLive Paris 2024 conference.

CakeFest 2024 Talk submissions are officially open
Interested in being a speaker for CakeFest 2024? Talk submissions are officially open. The event will be in Luxembourg August 7-9!

Save the date: Laracon US is coming to Dallas TX Aug 27-28, 2024
Laracon is back for 2024. The flagship Laravel event of the year and the largest PHP conference in the United States is heading to Deep Ellum, Dallas, for two days of learning and networking with the Laravel community.

Podcasts and Vlogs


The Changelog: Changelog News #81 We can dance if we want to...
Changelog Beats drops a new Dance Party album, Will McGugan’s new Toolong (tl) terminal app, Mitchell Baker is out as Mozilla CEO, Microsoft’s Jordi Adoumie announces sudo for Windows, Tatu Ylonen tells the tale of how they got SSH to be port 22 & Jack Lindamood gives an “Endorse” or “Regret” rating for ~50 different services, tools & processes he used over the 4 years he led infrastructure at a startup.

Syntax: CSS Native Scope
This episode covers the new native CSS scoping feature using the @scope rule, how it works, what problems it solves, and browser support status.

Over Engineered: Handling complicated view logic w/ Skyler Katz & Bogdan Kharchenko
Complex view logic can be hard to get right—particularly in server-rendered templates like Blade. We recently had to decide just how much a Laravel Blade component should do, and decided to hash it out on the podcast.

PHP Ugly: 371:Herding Lando
This week on the podcast, Eric and John talk about Laravel Herd, LandoDev, drawbacks to the M2 as a developer, Harry Mack is selling cars, and more...

The Stack Overflow: Exploring the inclusive tech revolution
On this sponsored episode of the podcast, Ben and Ryan chat with Maya Sellon, inclusive design and digital accessibility principal at Shell, about how she’s scaling accessibility and inclusive design practice across an organization the size of Shell.

North Meets South Podcast: The one about sending email
In this episode, Jake and Michael discuss the differences between transactional and campaign email and some approaches to sending them. We also touch on Jake speaking on PHP[TEK] 2024 on the topic of state machines.

Maintainable Podcast: John Nunemaker-How Scary Is This Change?
Robby has a conversation with John Nunemaker, the Owner at "Box Out Sports" and "Fewer & Faster". They dive into the basics of maintaining software projects, highlighting the crucial importance of keeping dependencies and versions up to date.

Developer Tea: Delegation, Ownership, Responsibility, and Agency
In this week's episode we will discuss Delegation, Ownership, Responsibility, and Agency.

Shoptalk Show: 602: What Does Accessibility Really Mean?
Voiceover pays us a visit, we talk about what accessibility really means, the difficulty of closing a dialogue element, web components at work, and jQuery 4 is out.

WP Builds: 360 – Synchronising data and design with Jorge Casals from DataPocket
Jorge chats about how DataPocket serves as a conduit for synchronising data from various platforms to design tools, offering a better flow of information for e-commerce teams.

Laravel Podcast: Hiring at Laravel, Laracons & Laravel Lives, and Typesense
In this episode of the Laravel Podcast, we talk about the recent announcement of hiring a new head of engineering at Laravel and the impact it will have on the future of Laravel.

Reading and Viewing


Five Ways to Be More Productive with Git
In this post, I've gathered some of my favorite tools to make working with Git more productive. I'll cover different types of tools, ranging from git aliases, git tools, git workflows, and more.

Ask AI Questions About Your Codebase from the CLI With Laragenie
Laragenie is an AI chatbot with an Artisan console integration for your Laravel applications. It can understand your source code by indexing directory/file paths. You can then ask questions about your code such as "Describe all the model associations for the App\Models\Post model".

Laravel Multi-Tenant Applications with Ecotone
In this article we will focus on real life solutions, which we can apply in any PHP Application using Ecotone with Laravel.

Return type declarations in PHP
In this blogpost, we will be discussing a very important concept in PHP. This concept helps us write predictable and less error prone code.

Using Laravel to interact with OpenAI’s Assistant API (with Vision)
A couple of months ago Open AI released their Assistant API which is at the time of writing this article still in beta. In short, Assistants are a new and (hopefully) better way of utilizing OpenAI models.

Singleton Design Pattern
In this article, we will talk about another creational design pattern with some examples and real-life analogies for a better understanding.

Interesting Projects, Tools and Libraries


jleagle/curl-wrapper
An object oriented wrapper around cURL.

krejcon3/checkboxtree
Easy checkboxtree.

3ch3r46/yii2-bootui
The Bootstrap 3 widget for yii 2 framework.

bombenprodukt/laravel-package-powerpack
A package to supercharge your packages with Laravel.

davin-bao/statistics
this is a statistics package for laravel.

yii2-module/yii2-insee-sirene
A module that structures the data of the SIRENE database from the INSEE.

citrus-framework/sqlmap
php sqlmap database mapper library.

hmphu/m2-lazyload-native
Implement the native lazy load attribute 'loading' for all images.

riimu/kit-fileresponse
Library for supporting byte ranges, mime types and conditional get.

digital-creative/nova-pill-filter
A Laravel Nova filter that renders into clickable pills.

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 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

PHPWeekly February 1st 2024

Thursday, February 1, 2024

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

PHPWeekly January 25th 2024

Thursday, January 25, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 25th January 2024 Hi everyone, New week, new edition of PHPWeekly.

PHPWeekly January 18th 2024

Thursday, January 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 January 2024 Hi everyone, Some people are resistant to change

PHPWeekly January 11th 2024

Friday, January 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 11th January 2024 Hi everyone, It's a brand new newsletter and

You Might Also Like

Dell turns 40: How a teen founded a tech giant

Monday, May 6, 2024

Samsung's new entry-level OLED TV; Google Threat Intelligence -- ZDNET ZDNET Tech Today - US May 6, 2024 placeholder Dell turns 40: How a teenager transformed $1000 worth of PC parts into a tech

😸 Talk to your data

Monday, May 6, 2024

🍎 Apple saw a 10% drop in iPhone sales during its earnings call. 🎵 Spotify has quietly moved its lyrics function behind... Product Hunt Read in browser This newsletter is brought to you by YOU MIGHT

GCP Newsletter #397

Monday, May 6, 2024

Welcome to issue #397 May 6th, 2024 News AI Cloud Storage Official Blog PyTorch Introducing Dataflux Dataset for Cloud Storage to accelerate PyTorch AI training Google Kubernetes Engine Official Blog

Jack Dorsey leaves Bluesky

Monday, May 6, 2024

View this email online in your browser By Alex Wilhelm Monday, May 6, 2024 Welcome to TechCrunch AM! It's Monday morning, and the news is already heating up. Today we have notes on Jack Dorsey once

Notion 3.0 "AI Everything App" | Free Template | Task & Project Management System

Monday, May 6, 2024

Your weekly Notion digest with the last updates, useful articles and free and premium templates 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Digest #136: Terraform Generation with LLM, FinOps for K8s, Postgres Hacking and CronJobs with AWS Lambda

Monday, May 6, 2024

Boost Lambda Performance, SOC 2 CI/CD, Docker Build Caching, Cloud Cost Optimization Tips! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Our verdict on the Rabbit R1

Monday, May 6, 2024

The Morning After It's Monday, May 06, 2024. When I first saw the Rabbit R1, it was more appealing than the Humane AI Pin. The R1 had an actual screen, not a dim projector, and it had a twee

Microsoft Outlook Flaw Exploited by Russia's APT28 to Hack Czech, German Entities

Monday, May 6, 2024

THN Daily Updates Newsletter cover Webinar -- Data Security is Different at the Petabyte Scale Discover the secrets to securing fast-moving, massive data sets with insights from industry titans

Import AI 371: CCP vs Finetuning; why people are skeptical of AI policy; a synthesizer for a LLM

Monday, May 6, 2024

Welcome to Import AI, a newsletter about AI research. Import AI runs on lattes, ramen, and feedback from readers. If you'd like to support this (and comment on posts!) please subscribe. Why are

Post from Syncfusion Blogs on 05/06/2024

Monday, May 6, 2024

New blogs from Syncfusion Exporting DataGrid to PDF Made Easy in .NET MAUI By Farjana Parveen This blog explains how to export the Syncfusion .NET MAUI DataGrid control to a PDF document with code