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!

August 18, 2022

Hi everyone,

People usually have a preference with how they absorb information. Some prefer to read, some like to listen to podcasts while others prefer to watch videos. Whatever medium you prefer to take in content about the goings on in the PHP community, we have you covered. This week, we've added Free The Geek to our podcast list and they have the voice of the PHP community, Cal Evens, discussing an essential skill every developer needs. Doeke Norg has a new blog post about testing Event Dispatchers & Event Listeners. Finally, we have an article sent in by our friend, Reuben over at Symfony Station about local PHP development tools. We do hope you enjoy them as well as the rest of 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:

Get your free 5GBGet Your Free 5GB PlanetScale Database
Speed, reliability, scale, and a familiar branching workflow. Sign up and let the engineers that have scaled today's largest databases manage yours for you.

Articles

Catching Up Laravel: How to Safely and Efficiently Upgrade an Out-of-Date Laravel App
Is Your Laravel App ... a Little Behind?

Dream Universal, Develop Local: A look at PHP Local Development Tools
As a content creator and web designer who has to do some coding periodically, I look for simplicity. So, out-of-the-box functionality is vital. Specificity is another one. Some local dev tools have these, and others don’t. But all of them are striving for it.

Stop Mocking About: Event Dispatcher
I don't like mocks in unit testing (I use them, but don't like them). It often results in tests that only assure some specific method was called with certain parameters. It is this approach that may lead some to think that writing tests is writing the code twice, and therefore a waste of time.

Testing PHP Applications
Lately, there has been a lot of movement around new and exciting php testing tools. While this is great news, stepping back a little and understanding the underlying concepts before jumping in would be helpful.

7 Useful PHP Libraries You Should Use in Your Next ProjectーPart- 4
I believe a good project makes use of some of the best libraries available. PHP is a popular and widely used server-side scripting language that is…

Tutorials and Talks

Zero Hassle CLI Application with Laravel Zero
Laravel Zero describes itself as a "micro-framework for console application" - which is pretty accurate.

CakePHP 4 Tutorial 2022 - Add with Associations (Part 9)
In this part we are going to create entities in multiple models at once.

Simple Routing System for a PHP MVC Application
You don't want to use a framework and yet you want to get rid of messy URLs and complex routing systems? Maybe I have the solution for you.

Installing PHP and MariaDB for OpenLiteSpeed. PT2
Next we shall install PHP and MariaDB for our OpenLiteSpeed web server, these two will be needed for our WordPress website.

Implementing LRU cache in PHP
“Least Recently Used” is a practical caching technique that holds frequently accessed data and discards unused items.

Web Scraping with PHP: a Step-By-Step Tutorial
From basic to advanced techniques through a complete example

News and Announcements

CakePHP Queue 0.1.8 released!
Queue plugin for CakePHP.

Composer 2.4 Release
Composer 2.4 is out! It adds auditing of dependencies for security, bash completions and many smaller additions!

PhpStorm 2022.2.1 Release Candidate
PhpStorm 2022.2.1 Release Candidate is now available, and it’s the final build before the stable release.

The Cakephp Conference
Virtual - Sep 29th - 30th 2022 12:00 PM UTC

A Week of Symfony #815 (8-14 August 2022)
This week, the biggest new feature added to the upcoming Symfony 6.2 version was an access token authenticator. This security authenticator is able to fetch a token in the request header and retrieve the associated user identifier. It supports custom tokens and self-contained tokens such as JWT, Paseto, and SAML.

Podcasts and Vlogs

How To Code Well 169 - 5 Things Every Contract Web Developer Needs
Choose to go sole trader or LTD. Most larger companies need you to be a Limited company, get insurance, get an accountant, get a website.

PHP Ugly: 298: Hire Tom
This week on the podcast, Eric, John, and Thomas talk about PHP RFC Asymmetric-visibility, blue vs green bubbles, new Laravel release, Xdebug with Vim, and more...

Laravel News Podcast: Redesigning Artisan, Tinkering With Vim, And Building Your Own Packages
Michael and Tim discuss all the latest Laravel releases, tutorials, and happenings in the community.

Laravel Podcast: League CSV (and URI & Period), with Ignace Nyamagana Butera
In this episode we talk with Ignace Nyamagana Butera, a Software Developer, about the PHP League packages that he's created.

The Stack Overflow : A history of open-source licensing from a lawyer who helped blaze the trail (Ep. 473)
The home team is joined by Heather Meeker, a specialist with a deep history in the world of open-source software licensing.

North Meets South Podcast: Iterating On Large Features, Bubbling Exceptions, And Composable Actions
Jake and Michael discuss approaches to building multi-week features, leaning on Laravel to handle bubbling up of exceptions, and using composable actions to provide multiple entry points to the same application behaviours.

WP Builds: 291 – The Launch
We are on episode 6 (the last) of season 3, where we are looking at the technical build, and today we are discussing ‘The launch’, (whatever that is).

Software Engineering Radio: Episode 524: Abi Noda on Developer Experience
In this episode, Abi Noda, founder of Pull Panda and DX, discusses developer experience with SE Radio host Brijesh Ammanath.

Laracast Snippet: Laracasts Q&A: 2022 Edition
It's hard to believe, but the last Laracasts Q&A episode was published over two years ago. Let's fix that with a new 2022 edition.

Shoptalk Show 527: Shaky Foundations, Tricky A11y Topics, & Dependency Follow Up
A quick Luro update, working in a coffee shop, when do you know it's time to leave a working but shakey system behind and start fresh, teaching tricky A11y tips, dependency follow up, how big are the node modules, and we dream up a media service app.

Developer Tea: Common Excuses for Not Setting Goals
Today, we'll dismantle a few common excuses often provided for not setting goals. We also briefly discuss the SMART goal-setting framework.

Free The Geek: Episode 41 - With Cal Evans. How to Be a Better Communicator & WordPress Fun
Come listen to this rousing chat with Cal Evans, voice of the PHP community, talk about how to be a better communicator, which is an essential skill as a developer, plus fun things you can do with WordPress.

Reading and Viewing

Clean Code Made Simple - Part 3
Further to my last posts Part 1 and Part 2 of Clean Code Made Simple, in this post I'm going to continue introducing techniques from Robert C. Martin’s Clean Code book.

How To Get Unstuck And Make Progress
Developers spend an enormous amount of time being stuck. I've been a developer and an engineering manager myself for many years, and I think being stuck is the default state.

Is COUNT(*) slow in MySQL?
You have probably read in a bunch of different places that you shouldn't use SELECT(*) in MySQL when you don't need all the data.

Composer in Docker
When you are PHP developer I am sure you use Composer. In this article I will not explain here what Composer is (I assume you know it). But how to use Composer without installing PHP in your operating system? The answer is simple - use Docker.

Name Convention for PHP & Laravel
This article is about the best practices for naming classes, methods, functions, variables in PHP and Laravel.

Stop Using “extends” in PHP
Do you use abstract classes or extend classes in your domain code? Hopefully, you will stop doing that from this day on.

Interesting Projects, Tools and Libraries

iopcodesio/log-viewer
Fast and easy-to-use log viewer for your Laravel application.

cdvcol/yii2-widget-video
Yii2 widget video.

fuzz/http-exception
A library containing a set of RESTful HTTP exceptions that use a consistent interface.

dereuromark/cakephp-flash
A CakePHP plugin around powerful flash message handling.

depsimon/fractal-vuetable-serializer
A fractal serializer that works fine with vuetable.

ybert/imagify-bundle
Symfony bundle for Imagify.

t20n/holder
A placeholder image generator.

vint3/widgetify-divi-layouts
Use Divi layouts as widgets.

spomky-labs/aes-key-wrap
AES Key Wrap for PHP.

rollbar/rollbar
Monitors errors and exceptions and reports them to Rollbar.

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