PHP Weekly - PHPWeekly June 30th 2022

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

Hi everyone,

This week has been a fun week in terms of gathering the latest news and updates from the PHP community. What better was to close out the month than to send out a newsletter packed with the best articles, tutorials and resources the community has to offer this week.  

We have new episodes from your favourite podcasts including an interview with George Peter Banyard in the latest PHP Internals podcast. PHP 8.2.0, Alpha 2 has been released and ready for testing, as well as new tutorials from the recently released Vite from Laravel. If you want to know which PHP versions are used across the community this year, check out Brent Roose's article on PHP Version Stats. Those are just the tip of the proverbial iceberg, so we hope you check check out rest of this week's newsletter. 

We hope you enjoy this week's issue, and If you want to be featured feel free to reach out to us at articles@phpweekly.com. 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


PHP Version Stats: July, 2022
It's that time again: my bi-yearly summary of which PHP versions are used across the community.

Fastest ever Laravel deployments via GitHub? You decide.
The best way to round off a satisfying coding session without killing your creative spark is a ridiculously fast and simple deployment experience for testing and production.

Why TypeScript and PHP Are Good Friends
I am going to explain helpful tips on how to do object-oriented programming (OOP) in both of them.

Laravel Frontend Without Depending on Node
There are many options these days when it comes to bundling assets. In Laravel, we had Laravel Mix, which was a wrapper around webpack, and now we're getting a newer take on this which uses Vue's Vite to bundle our frontend.

Making Vite and Valet Play Nice Together
Yesterday, the Laravel team launched the official vite-plugin. From now on, Vite will be the standard build tool for Laravel.

10 Best Code Editors in 2022: The Guide to the Top Options
The best code editors can have a huge impact on your productivity and workflow.

Tutorials and Talks


Eloquent Attribute Casting
Eloquent Castable attributes are one of the more powerful features of Laravel; some people use them religiously while others tend to shy away from them.

Skip Webpack when Testing
Let’s talk about getting rid of NodeJS in your CI pipelines.

How to build a Docker development setup for PHP Projects
In this part of my tutorial series on developing PHP on Docker we'll lay the fundamentals to build a complete development infrastructure and explain how to "structure" the Docker setup as part of a PHP project.

Custom Commands & Scheduled Tasks in Laravel
Creating Custom commands using Artisan makes your life so much easier.

Test Laravel Packages with PestPHP
In order to test a Laravel package, a package called testbench is required.

PHP Recursive Function To Generate A Parent/Child Tree
In this article, we will discuss how to generate “Parent Child Tree PHP Recursion”.

Moving A Laravel Webpack Project To Vite
Vite is the new front-end tooling for Laravel. Let's see how we can move a given Laravel project to Vite together.

CakePHP 4 Tutorial 2022 - Templates and Elements (Part 5)
In this part we are going through the default template folders, how elements work and how to create custom static pages.

News and Announcements


PHP 8.2.0 Alpha 2 Available for Testing
The PHP team is pleased to announce the second testing release of PHP 8.2.0, Alpha 2. This continues the PHP 8.2 release cycle, the rough outline of which is specified in the PHP Wiki.

Laravel Pint Released
The long-awaited hype train is finally over, Laravels latest open source CLI app has been released to the world, and we got our hands on it to tell you all about it.

Symfony 6.1.2 released
Symfony 6.1.2 has just been released. Here is the list of the most important changes since 6.1.1

PhpStorm 2022.2 EAP #5: @var in Return Statements, Enhanced HTTP Client, Docker Updates
You can now add an @var docblock before a return statement to specify the concrete return value of a function, without having to introduce a temporary variable.

A Week of Symfony #808 (20-26 June 2022)
This week, Symfony officially introduced ux.symfony.com website alongside four new UX components (including a way to render React components and Ajax-powered autocomplete fields). In addition, it improved lazy services to allow using ghost objects and improved the usage of Enums in YAML config files.

Podcasts and Vlogs


PHP Internals News: Episode 103: Disjunctive Normal Form (DNF) Types
In this episode of "PHP Internals News" I talk with George Peter Banyard (Website, Twitter, GitHub, GitLab) about the "Disjunctive Normal Form Types" RFC that he has proposed with Larry Garfield.

How To Code Well 162 - Why I'm learning TypeScript
I’ve noticed more demand for Typescript jobs than JavaScript jobs.

PHP Ugly: 291: Artificial Stupidity
This week on the podcast, Eric, John, and Thomas talk about PHP and AI, new elePHPants, RIP IE, New PHPStorm now for all, and more...

Laravel News Podcast: Grabbing A Pint, Dry Requests, And Supercharging Your Pipelines
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

Laravel Podcast: Pest, with Nuno Maduro
In this episode we talk with Nuno Maduro about the PHP testing framework Pest, a PHP testing framework that focuses on bringing you a more simplified, fluent, and powerful way of writing automated tests.

Maintainable Podcast: Greg Foster - A Pattern for Smaller, Faster, and Frequent Code Reviews
Robby has a chat with Greg Foster, the Co-founder and CTO of Graphite, an open-source CLI and code review dashboard built for engineers who want to write and review smaller pull requests, stay unblocked, and ship faster.

No Compromises Podcast: Learning from other communities
Can a Laravel developer learn something from the Rails or Erlang communities? We share some perspective on how to broaden your horizons, and when might be a good time in your career to do that.

The Stack Overflow Podcast: GitHub Copilot is here. But what’s the price? (Ep. 457)
The home team convenes to discuss the full public release of AI pair programmer GitHub Copilot, the VPN company that turned off subscriptions to protect its customers’ privacy, and the moral hazard of “free-to-play” apps and games.

North Meets South Web Podcast: Keeping review time down, deleting your .env.example file, and securing your secrets
Jake and Michael discuss some approaches to keeping pull request review times short, and using 1Password to free you of having to keep track of your environment variables.

The Rabbit Hole: The Definitive Developer's Podcast : 261. Psychological Safety (Replay)
We’ll go into what is psychological safety and how important is it in the work space.

WP Builds: 284 – Strattic and Elementor Talk About The Recent Acquisition
Last week it was announced that Elementor (the page builder) had bought Strattic (the headless hosting company). I thought that this was an interesting purchase and I wanted to know more.

Reading and Viewing


Macros in Laravel
Laravel's Illuminate\Support\Macroable trait allows you extend classes at runtime with custom methods.

Developer Mentality and Soft Skills to Succeed
The developer mindset and soft skills have differences compared to people from different industries.

Not So Obvious PHP Vulnerabilities
Today I am going to blog about 2 vulnerability types which are tough to detect and hence often overlooked.

Helpers Methods In Laravel 9 — New way for Global functions
Most of the time we need some functions to available in whole application it type of thing can be possible with singleton design pattern but there is easy and nicer way to do.

Complete Guide To Hire Laravel Programmers With The Right Skill Set
In the digital era, working requires remaining aware of the competition, which is frequently more fierce than you think.

Laravel Tricks You Should Know
Let’s dive in and learn some more tricks of Laravel.

Ten Tips to Make Conference Talks Suck Less
These tips are also useful for any kind of presentation, whether on a conference, or an internal presentation for your company.

Interesting Projects, Tools and Libraries


dominiquevienne/laravel-magic
Laravel helpers classes such as Controllers / Models / Requests.

ereminmdev/yii2-crud
Crud module for Yii framework.

novay/nue
Complete Boilerplate for Laravel.

thotam/bs4-aw-starter
Bootstrap 4 - Appwork - Starter Kits.

xeriab/laravel-enumeration
Yet another simple, extensible and powerful enumeration implementation for Laravel.

lions-software/lions-software-database-manager
A simple library for managing database connections, results pagination and building queries in PHP.

manyou/workerman-symfony-runtime
Run Symfony applications with Workerman.

colinmollenhour/php-redis-session-abstract
A Redis-based session handler with optimistic locking.

tightenco/collect
Collect - Illuminate Collections as a separate package.

barryvdh/laravel-snappy
Snappy PDF/Image for Laravel.

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 articles@phpweekly.com

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.



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

Copyright © 2022 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 June 23rd 2022

Thursday, June 23, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd June 2022 Hi everyone, First of all we would like to thank the

PHPWeekly June 16th 2022

Friday, June 17, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 16th June 2022 Hi everyone, There are days when I seriously

PHPWeekly June 9th 2022

Thursday, June 9, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 9th June 2022 Hi everyone, Quick update on our Book Giveaway. We

PHPWeekly June 2nd 2022

Thursday, June 2, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 2nd June 2022 Hi everyone, We've reached the halfway point of

PHPWeekly May 25th 2022

Thursday, May 26, 2022

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th May 2022 Hi everyone, We've reached the end of our Book

You Might Also Like

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

iOS Dev Weekly - Issue 659

Friday, May 3, 2024

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! 😬 View on the Web Archives ISSUE 659 May 3rd 2024 Comment Naming things is one of the two hard

Daily Coding Problem: Problem #1430 [Easy]

Friday, May 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. You have a large array with most of the elements as zero. Use a more space-

Making sense of product management

Friday, May 3, 2024

​ Getting a sense of product sense Whenever I hear the term product sense, I think back to a Seinfeld episode about write-offs (with a little artistic license). Jerry: “You don't even know what

Charted | The Carbon Footprint of Major Travel Methods 🌐

Friday, May 3, 2024

Transport accounts for nearly one-quarter of global energy-related CO2 emissions. This chart shows the carbon footprint of travel methods. View Online | Subscribe Presented by: Morningstar Discover the

Apple's AI Strategy, At Your Service

Friday, May 3, 2024

The relative calm before the "AI, AI, AI, AI, AI" storm... Apple's AI Strategy, At Your Service By MG Siegler • 3 May 2024 View in browser View in browser At one point during Apple's

5 gadgets I never fly without

Friday, May 3, 2024

How to save on internet; BYO AI; Gemini features we need; Prime Day 2024 -- ZDNET ZDNET Tech Today - US May 3, 2024 placeholder I fly 10 times a year. These 5 tech gadgets are lifesavers From recording