Every week we collect the best articles, guides, podcasts and news from the world of PHP and this week is no different. On this week's newsletter we have loads of tutorials like how to optimise PHP performance on Google cloud run as well as a guide on how to speed up queries in a Laravel project. In podcasts we have a new episode from Laravel News on streaming jets, wrapping words and Acid compliant operations. Over at Stack Overflow the topic this week is about Founder vs Investor. Finally in our Reading section we have articles on how fast database queries aren't always better, along with understanding Laravel transactions and a new series on the magic behind PHP. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.
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.
All the best,
Please help us by clicking to our sponsor:
Get Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.
The Source of Readability
Readability is often treated as a subjective thing. When someone says code is more readable, what they really mean is they can more easily read it. The straw-man goes, this is all taste and convention, just follow the team’s rules and use the auto-formatter.
Why does a backslash prefix improve PHP function call performance
Have you ever noticed developers putting backslashes (\) in front of their PHP function calls? Many developers (including myself) do this, however few developers actually know why.
Validating SSH keys on Laravel
When we're called to develop an application, we should keep in mind that we might have to deal with various types of problems, some of which we may never have imagined facing. However, sometimes we need to step out of our comfort zone.
Top Laravel PHP Packages to Use in Your Project
In this article, we’ll explore the top 20 Laravel PHP packages that can supercharge your projects and make your development process smoother than ever.
LRU Cache in PHP
Here’s a high-level overview of how an LRU cache works and how you can implement one in PHP.
PHP and Multithreading: A Lighthearted Look at Concurrency
Have you ever found yourself daydreaming about PHP and multithreading? Well, maybe not. But if you’re curious about how PHP handles concurrency, you’re in for a treat!
Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.
Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.
Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.
Tutorials and Talks
Symfony's DomCrawler with Laravel HTTP Tests
Have you ever needed to assert part of an HTML response from within an HTTP test in Laravel? I recently needed to validate parts of a response to verify an important piece of content was rendered.
Bun as an NPM replacement in your Laravel projects
Welcome to our latest tutorial on using Bun as an NPM replacement in your Laravel projects! As a Laravel developer with a keen interest in web development specifics, this video is tailored to your needs.
Understanding the Request Lifecycle, Service Container, and Facades
This article provides an overview of the official documentation, emphasizing the simplification of essential concepts for better understanding.
4 Ways To Call Python From PHP
Need to call a Python script from PHP? No problem, there are quite a few alternatives.
How to Optimize PHP Performance on Google Cloud Run
The API uses PHP 7.4, Laravel 8.0 and MySQL on Cloud SQL (the managed database on Google Cloud). The API needs to handle at least 10,000 concurrent users. The container image we deploy to Cloud Run has nginx and PHP-FPM.
How to handle JSON Data in Laravel with Eloquent and JSON Columns: Complete guide 2023
In this article, let’s explore how to work with JSON data in Laravel, focusing on JSON columns in your database and using Laravel’s powerful Eloquent ORM to interact with this data.
The easy way to install Symfony with Docker
I’m just sharing with you my super method to install Symfony 6.x with Docker.
How to Speed Up Queries in a Laravel Project
This article outlines several strategies to optimize your queries and make your Laravel application perform at its best.
News and Announcements
Support for Bun lands in Laravel Sail and Forge
Final release of Laracon AU 2023 tickets now on sale!
Unprecedented interest toward the biggest Laracon AU ever saw ticket allocation at ARA Darling Quarter Theatre exhausted three months ahead of the event date.
A Week of Symfony #871 (4-10 September 2023)
This week, Symfony launched a new initiative to help third-party packages and libraries with the new PHP types added in Symfony 7.0. In addition, it made a call for IT student volunteers for the SymfonyCon Brussels 2023 conference. Finally, we announced the countdown to SymfonyLive Berlin 2023 conference and to the API Platform Conference 2023.
Laracon EU 2024 - Save the date!
The flagship Laravel event in Europe returns to Amsterdam for 2024. Join us in Amsterdam for two days of fantastic talks and community networking with the most talented Laravel developers in the world.
CakeFest The Cakephp Conference
Los Angeles, Ca - Sep 28th - 30th 2023
Podcasts and Vlogs
PHP Ugly: 351: PHPitcing a tent
This week on the podcast, Eric, John, and Thomas talk about php[tek], htmx, magic PHP, PhpStorm Keyboad Shortcuts, and more...
Laravel News Podcast: Streaming jets, wrapping words, and ACID-compliant operations
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: Founder vs Investor: What VCs are really looking for
Ben talks with startup founder and advisor Elizabeth Zalman about what makes the founder-investor relationship unique in the world of capital, what changes with technical founders, and what VCs are really looking for.
Software Engineering Radio: SE Radio 580: Josh Doody on Mastering Business Communication for Software Engineers
Josh Doody, author of Mastering Business Email, speaks with host Brijesh Ammanath about how software engineers can master business communication.
Shoptalk Show: 582: Lifetime Plan, Pricing #HotDrama, and CSS Resets
Getting tripped up on audio at conferences, announcing the ShopTalk Show Lifetime Plan, some Once pricing #hotdrama, remembering Molly Holzschlag, web components, Luro launch day thoughts, and a question about using a normalize or sanitize in 2023 prompts a run through of Andy Bell's Modern CSS Reset.
WP Builds: 340 – Akshat Choudhary on the utility of WordPress firewalls and malware scanners. Security mini series 2/4
A little while ago there was some news in the WordPress space about the merits of using plugins for securing your WordPress website. Researchers (see the previous episode for more on this) had discovered ways in which the effectiveness of the plugins might be compromised.
Workbench App for Packages
Maintaining an open-source package requires a lot of effort. One problem I see in maintaining Turbo Laravel (and the other packages) is having an easy way to reproduce the reported issues.
Fast Database Queries Are Not Always Better
You probably think fast database queries are good. You also probably think slow database queries are bad.
Laravel Resource Reducer: optimizes your API responses
Ever thinking about how to speed up your application by optimizing the response?
Understanding Laravel Transactions
Laravel provides a built-in transaction manager that makes it easy to use transactions in your applications.
The Magic Behind PHP
It is a question in my mind, “How does PHP work internally?”. These are my notes to understand PHP better and it will be a series. In the next chapters, I will cover OPCache, Preloading, and also JIT. But firstly let’s start with non-optimized PHP.
Interesting Projects, Tools and Libraries
Create a snippet of text highlighting a given string.
Bandrek is password recovery token generation using number as code for Laravel 5.4.x based.
Replay comes in allowing you to plan re-tries and fallbacks strategies for your functions.
Symfony2 Pagination Bundle Extended.
Simple linear regressions and multiple linear regressions.
Symfony integration for Reindexer.
Classes for manipulate dates and intervals with microseconds precision.
Yii shortify hashes a string into a smaller string.
SilverStripe front end admin bar module.
Sandbox Plugin for CakePHP.
Please help us by clicking to our sponsor:
Protect 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.
So, how did you like this issue?