PHP Weekly - PHPWeekly March 9th 2023

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

Hi everyone,

This week's newsletter covers the various stages in a coder's process. In the podcast section we have the latest episode from No Compromises discussing having an open mind with other languages and tool. How to Code Well, poses the question: What to do when you've finished all your tickets and have time to spare? For those executing their tests, we have a tutorial on setting XDebug's coverage mode and in the Reading section we have a blog about being mindful of the next person reading your code with a list of tips for better code commenting. If you want to boost PHP performance, Generators might provide the answer when handling large data sets. Finally we have an article from Freek Van der Herten about strategies for making Laravel packages customisable. We have all that and more for your weekly fix of PHP news and updates, so we do hope you enjoy this one.   

We would like to thank those who sent over articles to us. 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 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.

Articles


Strategies For Making Laravel Packages Customizable
While attending Laracon India, many people approached me to ask how we handle the maintenance of all our Spatie packages. In this blog post, I'd like to cover some of our best tips to make a Laravel package easy…

Common Function Comparisons in PHP
How do you decide between two functions that, at a glance, seem to do the same thing? Let's pick apart the differences to try and make it easier.

Cross Platform Mobile App Development 2023: The Ultimate Guide
Let’s explore the best tools for creating multi-platform solutions and the advantages and drawbacks of cross platform app development.

Correct Way Of Adding Filter To Laravel 10
If you are working with Laravel, you probably know how powerful and expressive its Eloquent ORM is.

10 PHP Array Functions And How To Use Them
Learning about these functions is essential for any PHP developer who works with arrays regularly, as they can simplify complex array operations and save time when dealing with large datasets.

Single Responsibility Principle(SRP) example using PHP
Do you want to know why it’s good for a class to have one and only one reason to change? if yes this short and well-articulated article will use a real-world example to explain one of the object-oriented design principles by Robert C. Martin.

Feature Flag and Strategy pattern with the Symfony Framework
In this article, we will use the magic of Symfony to make a Feature Flag extendable as you want.

Tutorials and Talks


Sharing PHPCS Rules Across Projects and Teams
At the end of this tutorial, you'll know how to create an organization ruleset you can use to quickly lint all your PHP projects.

Returning Native Types From The Laravel Request Class
A few days ago, while working on a project where I wanted to use strict types and also have Larastan on the highest level, I needed to pass parameters from within the Laravel Request class into methods that expect a specific type...

Upload Files On Laravel 10
Uploading files is one common feature that most of the applications use, and yet is one of the things that I see many people struggling with.

Token-Based Authentication in Laravel 9 Using Laravel Sanctum
Authentication is a fundamental aspect of building any web application, as it ensures that only authorized users can access sensitive data and perform actions within the application.

Test Coverage: Did You set Xdebug's Coverage Mode?
If you are using PestPHP and during the execution of your tests with the coverage option, you are receiving the message.

Mirroring Composer dependencies with Packeton
Mirroring dependencies can be useful for several scenarios.

How To Deploy A Laravel Project To DigitalOcean Droplet Using Github Action
In this article, I will walk you through the step-by-step process of how you can deploy your Laravel application on the digital-ocean droplet.

News and Announcements


PhpStorm 2023.1 Beta: Debugger With Data Flow Analysis
In this build, you can find additions to the PHP debugger that allow you to see conditional values ahead of time and dim out runtime-unreachable code.

Announcing the First Release Candidate of HydePHP: A Laravel-Based Static Site Generator
We're excited to announce the first release candidate of HydePHP, a Laravel-based static site generator! HydePHP is a powerful and flexible tool that allows you to build static websites with ease, using the familiar syntax and functionality of the Laravel framework.

A Week of Symfony #844 (27 February - 5 March 2023)
This week, Symfony 5.4.21 and 6.2.7 maintenance versions were released. Meanwhile, the upcoming Symfony 6.3 version added support for managing command exit code while handling signals. Lastly, the SymfonyOnline June 2023 conference announced that you can submit your papers until March 6.

CakeFest: Call For Speakers Is Open
Don't miss your chance to speak at the one and only CakePHP conference.

Laravel Live UK 2023
Laravel Live UK 2023, the official Laravel conference for the UK, is coming to London for a two-day conference on June 22nd and 23rd 2023. Join hundreds of Laravel and PHP enthusiasts for inspirational talks, engaging networking, and amazing learning opportunities.

php[tek] 2023 - Chicago, IL
Join us for the 15th Annual Web Developer Conference, php[tek] 2023, May 16-18 2023.

Podcasts and Vlogs


How To Code Well: 192 - What To Do When You've Completed Your Work
What do you do when you have finished all your tickets and you have two days remaining in the sprint?

PHP Ugly: 325: Air Cutz
This week on the podcast, Eric, John, and Thomas talk about Lastpass, 2 Factor, Release Manager for PHP 8.3, PHP Tek, and more...

The Stack Overflow: From Writing Code To Teaching Code (Ep. 545)
Writing code that runs without errors—and without all the bugs that only show up when the program runs—is hard enough. But teaching others to write code and understand the underlying concepts takes a deeper understanding. Now imagine doing that for 37 courses.

No Compromises Podcast: Keeping An Open Mind With Other Languages And Tools
Before you vent some frustration on another tool or programming community, take a deep breath and think about why you're irritated? We talk about our own reactions to ...

Maintainable Podcast: Henrik Warne - There is No Software Maintenance
Robby has a chat with Henrik Warne (he/him/his), the Senior Software Engineer at Talos, about the importance of code having structure early on, the importance of engineers being able to read, run, and test code when they join a project.

Software Engineering Radio: Episode 553: Luca Casonato on Deno
Luca Casonato joins SE Radio’s Jeremy Jung for a conversation about Deno and Deno Deploy.

Developer Tea: What Defines a Senior Developer? - Difficult Does Not Equate To Valuable
The traits that define a senior engineer are not catalogued perfectly in one spot. But, nevertheless, we'll try to cover some of the most important traits and habits of a senior engineer.

Shoptalk Show: 555: React Documentary, Front of the Front End, Fast Fallacy, and Best Practices
Reacting to the React.js documentary, is there still jobs for front of the front end anymore? The fast fallacy in frameworks, best practices, dealing with too much or too little isolation, and AI test generation.

WP Builds: 316 – Kevin Geary talks about Automatic CSS
Some of us love working with CSS. It’s fun, pretty easy to learn, and gets the job done. Others… not so much. It’s boring, hard to master, and you end up doing things incorrectly all the time!

Reading and Viewing


Preemptive Pluralization is (Probably) Not Evil
Before you write any code — ask if you could ever possibly want multiple kinds of the thing you are coding. If yes, just do it. Now, not later.

Token-Based Authentication in Laravel 9 Using Laravel Sanctum
In this article, we will explore the Laravel Sanctum package and how it can be used to implement a simple token-based authentication system.

Creating Custom Web Applications with Symfony 6 and Php 8: A Step-by-Step Guide
In this step-by-step guide, we’ll show you how to create a custom web application using Symfony.

Simple Tips for Better Code Commenting
Please, think of the next person who has to read your code.

Boost Your PHP Performance with Generators
With generators, you can generate a sequence of values on-the-fly using the yield keyword.

Unlocking the Power of PHP with the Abstract Syntax Tree (AST)
The PHP Abstract Syntax Tree (AST) is a data structure that represents the syntax of a PHP script.

Interesting Projects, Tools and Libraries


dongnan/microrouter
A mirco & powerful router library for PHP.

mtymek/blast-base-url
PSR-7 middleware and helpers for working with base URL.

coddin-web/oidc-client-laravel-wrapper
A Laravel wrapper of jumbojett's OpenID Connect Client.

mageplaza/module-share-cart-graphql
Magento 2 Share Cart GraphQL Extension.

batchnz/craft-ckeditor
Edit rich text content in Craft CMS using CKEditor.

max13/puphpeteer
A Puppeteer bridge for PHP, supporting the entire API.

laravel-bridge/slim
The Laravel Bridge use on Slim framework.

iphis/finediff
PHP implementation of a Fine granularity Diff engine.

ikechukwukalu/requirepin
A laravel package for pin confirmation and validation before processing requests to a specified route.

hammerstonedev/flaky
Handle intermittent failures caused by unreliable third parties.

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 help us by clicking to our sponsor

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 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 14. Free trial.

Copyright © 2023 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
 

 

Key phrases

Older messages

PHPWeekly March 2nd 2023

Thursday, March 2, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd March 2023 Hi everyone, For our first newsletter for the month

PHPWeekly February 9th 2023

Thursday, February 9, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th February 2023 Hi everyone, We're a week away from the

PHPWeekly February 2nd 2023

Thursday, February 2, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd February 2023 Hi everyone, It's the first newsletter of the

PHPWeekly January 26th 2023

Thursday, January 26, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th January 2023 Hi everyone, This week we have some firsts for

PHPWeekly January 12th 2023

Friday, January 20, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th January 2023 Hi everyone, This week we have a newsletter

You Might Also Like

Programmer Weekly - Issue 199

Thursday, March 28, 2024

View this email in your browser Programmer Weekly Welcome to issue 199 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "Optimization hinders evolution.

wpmail.me issue#660

Thursday, March 28, 2024

wpMail.me wpmail.me issue#660 - The weekly WordPress newsletter. No spam, no nonsense. - March 27, 2024 Is this email not displaying correctly? View it in your browser. News & Articles What's

New attack targets Apple devices

Thursday, March 28, 2024

Eufy's new Mach S1 Pro; Using VR in a car; April solar eclipse FAQ -- ZDNET ZDNET Tech Today - US March 28, 2024 placeholder New password reset attack targets Apple device users - what to do if it

Web Tools #558 - ImageKit Review, JS Libraries, Git/CLI Tools, Jamstack

Thursday, March 28, 2024

WEB VERSION Issue #558 • March 28, 2024 The following is a paid product review for ImageKit's Video API, a developer-friendly toolkit for real-time video optimizations and transformations, to help

An Emmy-winner's guide to AI video

Thursday, March 28, 2024

They built this in 2 months 👀 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

wpmail.me issue#660

Thursday, March 28, 2024

wpMail.me wpmail.me issue#660 - The weekly WordPress newsletter. No spam, no nonsense. - March 27, 2024 Is this email not displaying correctly? View it in your browser. News & Articles What's

Amazon writes Anthropic a $2.75B check

Thursday, March 28, 2024

Amazon has completed its promised $4B investment in the AI company View this email online in your browser By Alex Wilhelm Thursday, March 28, 2024 Welcome to TechCrunch AM! Today we have a giga-round

Airtrain, Pretzel, SpinKube, Glide, GPTScript, and more

Thursday, March 28, 2024

StackShare Weekly Email not displaying correctly? View it in your browser. StackShare Weekly Digest March 28th, 2024 Stop manually typing out what technologies are being used in your repos in README

Web Tools #558 - ImageKit Review, JS Libraries, Git/CLI Tools, Jamstack

Thursday, March 28, 2024

WEB VERSION Issue #558 • March 28, 2024 The following is a paid product review for ImageKit's Video API, a developer-friendly toolkit for real-time video optimizations and transformations, to help

Python Weekly - Issue 644

Thursday, March 28, 2024

View this email in your browser Python Weekly Welcome to issue 644 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly