PHP Weekly - PHPWeekly June 6th 2024

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

Hi everyone,

If you're looking for after Symfony content, you're in luck. In this week's newsletter we have some articles on Symfony along with news on a new update on 7.1. We have a tutorial on how to extend your Symfony console app with events and attributes, along with a guide on how to use the new Symfony Maker command to work with GitHub webhooks. We also have an article on parameter replacement in Symfony. In podcasts we have new episodes from North Meets South and they chat about what they're into. Taylor Otwell joins the Mostly Technical team to discuss the Laravel vs JS Twitter wars, and on the Laravel podcast Taylor is with Matt to cover topics suggested by their listeners. Finally in our Reading section we have lesser known yet useful Composer commands, as well as an article on Architecture testing in Laravel with pest. 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


The Ultimate Guide To Laravel Validation
Validation is an important part of any web application. It can help to prevent security vulnerabilities, data corruption, and a whole host of other issues that can arise when you're working with user input.

Product’s Nested Categories Display in PHP and MySQL
Are you working on an E commerce Project or any other project which has the hierarchical structure of records in the database?

Top repositories for Laravel developers 2024 edition
Are you ready to dive into the Top 10 repositories for learning and exploring Laravel?

Replace parameters in Symfony
In my previous post i talked about Multi-tenant. But there is another way to replace configuration, and do almost the same things, but with replacing the parameters.yml.

Top 10 PHP Vulnerabilities You Need to Know: Beyond SQL Injection, XSS, and CSRF
The second article shifts focus to vulnerabilities that can alter server-side logic. We discuss Server-Side Template Injection (SSTI), where attackers exploit server template features to execute arbitrary code.

Tips for writing a better code in PHP
Here i will be guiding you through some of the important steps to achieve that, to keep your PHP code efficient and reliable .

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


Using Eloquent Factories With PHPUnit Data Providers
There are a few ways to work with Laravel's factories in feature tests, such as creating a model during setUp() when you want to use it for multiple tests or directly in an individual test case.

Monitor Code Processing Time in PHP with Time Warden
Time Warden is a lightweight PHP library that enables you to monitor the processing time of tasks and take actions on thresholds exceeding defined execution time limits. It's probably best illustrated with an example from the readme.

Automate your database backups with Laravel: A comprehensive guide
Today, we'll explore how to automate database backups using Laravel.

How to use the new Symfony Maker command to work with GitHub Webhooks
Recently I've been working on a tool that would gather some open-source contribution metrics from our teams.

Simulating Web requests with custom User-Agent using PHP
Today we are going to create a tool to simulate web requests using a custom User-Agent. It will be useful for the following cases (the ones I considered when creating it).

Implementing Custom Admin Auth Middleware in Laravel Filament
I would like to assume you have followed the Filament setup at https://filamentphp.com/docs/3.x/panels/installation

How to Parse Date & Time Info from Natural Language Input in PHP
We can easily parse natural language date & time strings into neatly formatted data using just a few lines of PHP code.

Extend your Symfony Console app with events and attributes
You can easily build a console application using the Symfony Console component, but did you know that you could extend it just as easily?

QuickPay Integration in Laravel PHP
So, I was looking for some tutorial or anything but couldn’t find it.. So, here it is for someone who are trying to find it’s integration.

Code quality tools : PHP-CS-Fixer
In this tutorial we will try to set up PHP-CS-fixer on Visual Studio Code.

News and Announcements


PHP Annotated – May 2024
Welcome to the May 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.

A New Minimal Default Exception Page With Dark Mode Support in Laravel 11.9
This week, the Laravel team released v11.9, which includes a new default exception page, a way to prevent destructive commands from running, a withoutDelay() queue method, and more.

Symfony 7.1.1 released
Symfony 7.1.1 has just been released. Here is the list of the most important changes since 7.1.0.

A Week of Symfony #909 (27 May - 2 June 2024)
This week, Symfony 7.1.0 was released. We also upgraded the official Symfony book to Symfony 6.4. Meanwhile, we published more details about the SymfonyOnline June 2024 conference that will take place next week and about the accommodation for the next SymfonyCon Vienna 2024.

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.

Podcasts and Vlogs


The Stack Overflow: How to prevent your new chatbot from giving away company secrets
This week we chat with Kamakshi Narayan, Director of Product Management at SnapLogic, who is focused on how APIs can apply fine-grained controls for privacy and governance to the LLM-powered AI apps vacuuming up our data.

North Meets South Podcast: Music, feature flags, and making the new one do what the old one did
In this episode, Jake and Michael discuss music we're into at the moment, using Pennant for feature flags in Laravel, and the age old set of requirements: "it needs to do everything the old one did".

Maintainable Podcast: Stig Brautaset: Understanding Alien Artifacts in Legacy Code
In this episode of Maintainable, Robby chats with Stig Brautaset, Staff Software Engineer at CircleCI. Stig shares his insights on maintaining well-documented but complex legacy code, the impact of team dynamics on software maintenance, and his experiences with the SBJSON library.

Software Engineering Radio: SE Radio 618: Andreas Møller on No-Code Platforms
Andreas Møller, founder of Toddle, a no-code tool for building scalable performant web applications, speaks with SE Radio’s Brijesh Ammanath about no-code platforms.

Developer Tea: Managing Using Core Indicators of Team Outcomes
In this episode, we use the Start / Stop / Continue framework in a new way. As leaders, we should always know what outcome indicators a given discussion is based on. In this episode, we discuss the three core outcome indicators for managers to pay close attention to.

Shoptalk Show: Matt Visiwig on SVGBackgrounds
Matt Visiwig stops by to chat with us about his site, SVGBackgrounds.com, a membership site for copy-and-paste website graphics built around SVG. We talk about why he built the site, how he decided to monetize it, competing with AI garbage on the web, pricing membership options, and how he's running the site.

WP Builds: 375 – Insights from Marcel Bootsman on static site hosting with Kinsta
Today we’re talking to Marcel Bootsman from Kinsta, discussing Kinsta’s static site hosting. We get into the benefits, technical nuances, and environmental sustainability of static site hosting, highlighting its potential to enhance WordPress website speed and efficiency.

Laravel Podcast: An Open-Source Panel, the Future of PHP, and Delegation in Business
In this episode of the Laravel podcast, Matt and Taylor explore a variety of topics, including ones suggested by listeners! Taylor shares insights from his recent trip to San Francisco, where he participated in an open-source discussion panel hosted by the venture capital firm, Accel.

Mostly Technical: 37: S-Tier Software with Taylor Otwell
Ian and Aaron are joined this week by Taylor Otwell, founder & CEO of Laravel, to discuss the Laravel vs. JS Twitter wars, new stuff coming down the road from Laravel, writing off Lambos (just kidding), and more.

Software Unscripted: Fuzz Testing with Brendan Hansknecht
Richard talks with Brendan Hansknecht, an AI compiler engineer at Modular, about various testing techniques, including fuzzing, property-based tests, database tests, tests involving network requests, and more!

Syntax: The Modern Dev CMS - Pocketbase
Pocketbase provides a full backend with database, authentication, file storage, and more in an easy to use interface.

The Changelog: Microsoft is all-in on AI: Part 2
Mark Russinovich, Eric Boyd & Neha Batra join us to discuss the state of AI for Microsoft and OpenAI at Microsoft Build 2024. It’s safe to say that Microsoft is all-in on AI.

Reading and Viewing


Laravel Advanced: Lesser-Known, Yet Useful Composer Commands
Composer also offers some commands that are lesser-known but helpful while working on your Laravel app.

minimal-mvc: Frugal PHP micro-framework with basic routing and templating
Today, I want to introduce you to minimal-mvc, an extremely tiny micro framework with just two core scripts viz. routing.php for handling the routing and util.php for working with templates containing few other generic utilities.

Architecture Testing in Laravel with Pest
Architecture testing allows you to automatically enforce code standards such as naming conventions, method usage, directory structure, and more.

Toggleable Laravel Routes with Attributes
In this article, we will explore how to use toggleable routes with attributes in Laravel.

Mastering Advanced Laravel Routing: Build Cleaner, More Scalable Applications
We’ll delve into these advanced features, transforming you from a routing novice to a master architect.

Develop Your First Web App with Lando — Beginner Guide
Lando is becoming a popular local development environment. It is a cross-platform, free, and open-source tool built upon Docker container technology. Let’s see how fast we can start with Lando.

Interesting Projects, Tools and Libraries


radioactivehamster/yaml
An extended variant of the Symfony PHP YAML library.

getdkan/rooted-json-data
Access and modify JSON-based data objects while enforcing JSON Schema.

bilyiv/request-data-bundle
Represents request data in a structured and useful way.

99designs/graphql-bundle
Symfony GraphQl Bundle.

damanmokha/otp-verification
A Laravel package for sending and verifying OTPs (One-Time Passwords) using Twilio.

currencystack/currencystack-php
Real-time and historical exchange rates for 168 world currencies provided in JSON format and works for any programming environment.

kna/money-bundle
This bundle integrates moneyphp/money into symfony.

flowdee/paapi5-php-sdk
Providing the official of Amazon Product Advertising API v5 SDK for PHP as composer package.

unitkit/uk-hash-bundle
library for form antispam protection.

foodkit/openapi-dto
A simple library that allows you to define OpenAPI specifications via Data Transfer Objects.

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 newsletters

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 30th 2024

Monday, June 3, 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

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

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