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 30, 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 [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

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
[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