sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

June 6, 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 [email protected].

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.

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 | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com