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!

December 1, 2022

Hi everyone,

December is upon us, and this time next week we'll be expecting the launch of PHP 8.2. This week though, we have a lot of content for you to read through including the ones sent over by our readers like Leo Losoviz's method for running automated integration tests for his popular GraphQL API plugin for WordPress. For tutorials we have one from Laravel News about password generation, and installing Xdebug 3 on MacOS in under 5 minutes. The tech industry's been hit by a lot of layoffs this quarter, so we have collated a couple of articles in the reading section that might be useful for those taking the next step in their career path. Finally, For those of you who are starting to feel the end of year crunch and want to avoid December burnout, Nicole Janz's post has the answer  for people who are trying to accomplish everything in their to-do list this year. 

We do hope you enjoy this week's newsletter. 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. You can connect with me on LinkedIn:
https://www.linkedin.com/in/adrianteasdale/

All the best,
Adrian

Please help us by clicking to our sponsor:

encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 13. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

Articles

Laravel Blade Tips & Tricks
These tips are extracted from laravel’s official documentation. Read it for more details.

Securing File Uploads in PHP
File uploads are one of the most dangerous operations in the lifecycle of a web application. Keep them secure — otherwise, you are asking for trouble!

Callback in PHP Explained
A callback is a function that gets passed into another function as an argument where it is executed when the parent function wants it to be executed.

Online PHP & SQL Sandbox
PHPize is an online environment in which you can quickly create and query an SQL database using one of most popular options such as MySQL, MariaDB, PostgreSQL, SQLite, Oracle and Microsoft SQL Server and write and execute PHP code that can query the database.

JIT Compiler in PHP
Here are my notes about the JIT compiler in PHP.

Laravel — Your Controllers Should Look Like This
Clean up the mess using service classes.

Tutorials and Talks

Creating a Password Generator
Password generation is something we all think about doing at some point, but how can we go about doing it - and making these passwords easy to remember and secure?

How to force Composer to use a specific PHP-version
Sometimes you just want Composer to create a lock-file for a specific PHP-version.

Adding CORS headers to Laravel Valet
When working on a project with subdomains, you can run into CORS issues locally when using Laravel Valet when your assets are on the main domain.

Installing Xdebug 3 on MacOS and Debug in VS Code
I always found setting up Xdebug as one of the most difficult job. But today, I did it under 5 minutes.

How to solve PHP parse/syntax errors
As a beginning PHP developer, you will encounter an error message from your PHP code, I remember when I kick-started as a PHP developer.

How To Dockerize Symfony Project 
This quickstart guide tutorial provides a basic introduction to the Symfony framework running on docker.

News and Announcements

PHP 8.0.26 Released!
The PHP development team announces the immediate availability of PHP 8.0.26. This is a bug fix release.

Laravel 9.41 Released
The Laravel team released 9.41 this week with validation rules for soft-deleted models, additional rule builder convenience methods, a "when missing" request method, and more.

PhpStorm 2022.3 RC2
The second release candidate for PhpStorm 2022.3 is now available. It’s the final build before the stable release.

Symfony 6.2.0-RC2 released
Symfony 6.2.0-RC2 has just been released. Here is the list of the most important changes since 6.2.0-RC1.

A Week of Symfony #830 (21-27 November 2022)
This week, the first release candidate of Symfony 6.2 was published in preparation for the final version release in a few days. Meanwhile, Symfony announced its Black Friday 2022 discounts and the program for the upcoming SymfonyWorld Online 2022 conference.

Podcasts and Vlogs

How To Code Well 184 - Get Better Code Reviews
How to Make Good Code Reviews Better.

The Stack Overflow: Here’s what it’s like to develop VR at Meta (Ep. 508)
We chat with a Platform Engineer and Reality Labs Advocate about the expanding toolkit available for crafting virtual reality experiences.

No Compromises Podcast: Avoid Painting Yourself Into A Corner
We've all been there: a thorny piece of code works, but it seems like there must be a better way to simplify it or make it more readable. We share one example when this happened to us, and how code review led to a better solution.

Developer Tea: Focus on Activities With Asymmetrical Upside
Focus on Things that provide asymmetrical upside. This is a personalized ROI evaluation. This is how you invest your time wisely.

Shoptalk Show: 543: Zach Leatherman on Eleventy, Mastodon, Twitter, and is-land
Zach Leatherman talks with us about what's new with Eleventy, setting up on Mastodon, what's happened with Twitter, and is-land.

WP Builds: 305 – How Hosting Has Changed
Today we are talking about ‘How hosting has changed’.

WP Briefing: Episode 44: Minors, Majors, and Why We Have So Many Releases
In the forty-fourth episode of the WordPress Briefing, our host Josepha Haden Chomphosy highlights the role of major and minor releases in the WordPress open source project.

Reading and Viewing

How I run Integration Tests for my WP plugin using Lando and InstaWP
Leo Losoviz shares his method for running automated integration tests for his popular GraphQL API plugin for WordPress.

Always use [closed, open) intervals
Intervals or ranges pop-up everywhere in the programming world. The classic example is picking a start and end date, like you would when booking an AirBnB or a flight.

How MVC Framework Works (Basics)
In this post, I’ll show you what MVC architecture is, and how to use it.

Finding mutual relationships with PHP
So I struggled with a rather general problem this weekend. I needed an elegant and fast way to find mutual relationships in a Laravel collection.

Soft(ware) Skills That Matter More Than Writing Code
I think the tech world shared a moment of collective frowning when Twitter employees were allegedly judged by the number of lines of code written by the sink-carrier in chief.

How to Avoid December Burnout
Most people burn out in December. They try to finish everything on their to-do list while planning gift shopping, travels, and family holidays at the same time.

What Gets You Recruited?
Most job interviews, irrespective of how scholarly or odd the job is — the anatomy of the interview is more or less the same. I

Interesting Projects, Tools and Libraries

mevdschee/php-crud-api
Single file PHP script that adds a REST API to a SQL database.

spekulatius/PHPScraper
It's been a while until PHPScraper reached v1. But now it's here!

codesaur/raptor
An elegant object-oriented application development framework for PHP 7.2 or newer.

tnegeli/m2clitools
Some nice commands to cleanup media files and tables on production systems.

c0ntax/parsley-bundle
A bridge between Symfony and Parsley.js

thomas-squall/php-magic-annotations
Annotations system for PHP.

rodyhaddad/datetimepicker-bundle
Symfony bundle for Bootstrap DateTime picker.

vantoozz/phpcdm
PHP Code Density Meter (PHPCDM).

willypuzzle/laravel-slim
This is package to manage slim requests on laravel.

easymvc/httprequest
PHP Class HttpRequest for the EasyMVC Framework.

schiggi/gls-cee-shipping-api
API for GLS Shipping & Tracking in Eastern Europe

Jobs

------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert.  Please let me know if you are interested by emailing me at
[email protected]

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect your PHP Code
Why not try SourceGuardian 13. 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