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!

March 10, 2022

Hi everyone,

It seems like the community has been busy has been busy this past week and we have been gifted with a lot of content for this week's newsletter. We have new releases from Laravel, Symfony and CakePHP among others. We have new podcasts from PHP Internals News, How to Code Well and a new interview on Voices of the ElePHPant. And if you're looking for something good to watch the people at Laravel recently released Laravel Origins: The Documentary, featuring Laravel creator Taylor Otwell.  

We hope you enjoy this week's issue. Lastly, we would like to give a quick shoutout to our friends at the Spanish PHP Twitter community. If you're into discussing the latest on frameworks, libraries, best practises etc. in Spanish, head on over to their group.  

If you want to be featured 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

Generics in PHP #1: The Basics
This is the first of a four-part mini series on generics in PHP: what they are, how you can use them today, and what's possible in the future.

7 Quick Laravel Tips
Here are 7 quick wins for your next Laravel project.

Retaining Your Talented Developers
It used to be that there was no secret to retaining good employees. Company men and women stayed with the company, worked their way up the corporate ladder, and retired with a pension, party, and gold watch.

10 Latest Tips about Laravel that you should know in 2022
In this blog, I've collected some awesome tips and tricks related to Laravel that can assist you in upgrading your code and app performance.

This Is Why Most Programmers Fail to Become Senior Developer
5 habits that prove you are not ready for a next-level role.

Jobs

Junior PHP Developer - $2,000/month
We have a vacancy for a remote PHP developer to work for a company in the UK. Please click the above link to view the full specification.
------

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]

Tutorials and Talks

Laravel Basic | Laravel Multiple Image Upload Tutorial
In this tutorial, I will explain to you multiple image uploads in laravel 6.

Create Make: Custom Commands
Laravel comes with a feature that allows us to scaffold some commonly used classes, like models, factories, notifications, etc.

PHP IntelliSense on the Web
Have you heard about the Visual Studio Code for the Web? It's the code editor running in your browser. In case of the PHP language, the VS Code for the Web is perfect for quick edits on small projects, due to its limitations.

PHP Codeigniter 4 Morris Bar & Stacked Chart Tutorial
Codeigniter 4 morris bar and stacked charts example. In this step by step guide, we will explain how to implement morris stacked and bar chart in the Codeigniter application.

Running PHPUnit tests in parallel using GitHub actions
One of our projects has a really large test suite that isn't optimised to run with Laravel's parallel testing. It was starting to take more than 15 minutes to have the whole test suite run inside Github Actions, which is when I searched for a better way to do this.

Testing the homepage of a Laravel app using Pest
Getting started with testing is not that hard. Here's a free video taken from the Testing Laravel course that will show you how you can make sure you homepage works.

Deep dive into Laravel Pagination — PHP IteratorAggregate
Regarding to Laravel pagination doc, when calling the paginate method, you will receive an instance of Illuminate\Pagination\LengthAwarePaginator.

A pro tip when using arrays in PHP
Every developer worth their salt has been using arrays since they learned to program.

News and Announcements

Symfony 6.0.6 released
Symfony 6.0.6 has just been released. Here is the list of the most important changes since 6.0.5

PHPUnit 9.5.18 has been released
The PHP Unit Testing Framework.

CodeIgniter Version 3.1.13 Released
CodeIgniter 3.1.13 documentation.

CakePHP 4.3.6
Changes include: Fixed typing errors when routes converted passed parameters into objects. Improved #API documentation.

PhpStorm 2022.1 EAP #4
The fourth build of our Early Access Program for PhpStorm 2022.1 is now available!

Xdebug Update: February 2022
In this monthly update I explain what happened with Xdebug development in this past month. These are normally published on the first Tuesday after the 5th of each month.

Podcasts and Vlogs

PHP Internals News: Episode 98: Deprecating utf8_encode and utf8_decode
In this episode of "PHP Internals News" I chat with Rowan Tommins (GitHub, Website, Twitter) about the "Deprecate and Remove utf8_encode and utf8_decode" RFC.

Voices of the ElePHPant: Interview with Michelangelo van Dam
Cal Evans hosts his long time friend and the Don of the PHP community, Mr Michelangelo van Dam. They talk about GDPR, tracking, and of course, the PHP community.

Laravel Podcast: Fortify, Breeze, Jetstream, & Spark, with Taylor Otwell
In the first episode of season 5, Taylor Otwell joins us to talk about the packages Fortify, Breeze, Jetstream, and Spark. We discuss the differences between each one and which package is a great place to start.

PHP Ugly 276: Semi-Successful
This week on the podcast, Eric, John, and Thomas talk about Laravel Documentary, No RailsConf, Issues with Laravel Issues, and more...

How To Code Well: 149 - Sugar that syntax
This is a term used to describe code that is meant to be more readable and helpful to humans. It’s sometimes called Candygramming.

Laravel News Podcast: Documentaries, Emmet's Emerald, and telegraphing robots
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

No Compromises Podcast: Should I use an event/listener or a model observer?
We share a few rules that help guide us to determine when to manually fire an event versus when to wire up a model observer.

The Stack Overflow Podcast: Who says HTML and CSS aren’t real programming? (Ep. 421)
For our relaunch episode, the home team covers code scanning for security vulnerabilities in open-source registries, whether high-profile skills training programs from Google and Amazon really address systemic inequity in tech (spoiler: probably not), and how a James Bond character sparked Matt’s interest in security.

The Rabbit Hole: The Definitive Developer's Podcast 246. Pair Programming Antipatterns
There are a lot of ways pair programming can go wrong. Thankfully, it’s possible to pair well simply by avoiding pairing poorly and, by steering clear of some of the common mistakes that we outline in this episode, you’ll automatically up your chances of success!

WP Builds 268 – What is the HeroPress Network with Cate and Topher DeRosia
Today on the podcast we have Cate and Topher DeRosia, the founders and curators of HeroPress as they talk about their plans to expand.

Reading and Viewing

A Week of Symfony #792 (28 February - 6 March 2022)
This week, Symfony 4.4.39, 5.4.6 and 6.0.6 maintenance versions were released. In addition, the entire schedule of SymfonyLive Paris 2022 conference was published. 

Intro To PSR (PHP standards recommendations)
This article is a simple introduction to a very large topic, so this article will provide you with a quick introduction and resources, to give you the starting point to dive deeper into this interesting topic.

Laravel Origins: The Documentary
Featuring Laravel creator Taylor Otwell and many others who’ve contributed to making Laravel the technology and community that it is today, Laravel Origins tells the story of why Laravel came to be, how it's grown over the last 10 years and what the future may hold for Taylor and the wider Laravel community.

Use a Message Envelope
Event-driven architectures have various styles of communication. In my previous post I described a couple of event types you may see in these kinds of architectures. 

11 Security tips to protect your website
You may not think your site has anything worth being hacked for, but websites are compromised all the time.

How to Setup a PHP Development Environment on Ubuntu Using the Latest PHP, VS Code, Apache, PhpMyAdmin 5
After going through a bajillion resources on how to do every little thing, I have developed a decent idea for the easiest and most sustainable way to set up the basic tools you need to get started.

Interesting Projects, Tools and Libraries

worksome/envy
Keep your .env.example file up to date.

blade-emerald
Emmet like Abbreviation to generate and wrap Laravel Blade Component with markup.

laravel-monolog-kinesis
Simply forward Laravel application logs to an AWS Kinesis stream.

global-ray
Enable Ray in all PHP files on your system.

yiisoft/aliases
Named paths and URLs storage.

laravel-heyman
Declarative style of authorization and validation in laravel.

klein.php
A fast & flexible router.

php-vcr
A library for recording and replaying HTTP requests.

Imagine
An image manipulation library.

Mondrian
A static php code analysis tool using the Graph Theory.

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