Another week stacked with the latest news and happenings in the PHP community. In this week's newsletter we have new updates from Laravel 10.19. Nuno Maduro also announced the release of Laravel Volt and Folio beta 5. In tutorials, we have a post on Debugging Gateway errors, How to set up Ajax requests on Laravel 10, and we also have a guide on how smart report engines can add reporting features to your projects. If you're stuck trying to prioritise things you need to do, you may want to listen to this week's episode of Developer Tea to help you manage your schedule. The Guys at PHPUgly this week gives a rundown on the latest news about the Laravel community and a slew of other topics that will surely keep you entertained. Finally in our Reading section we have an article on the best debugging tools for PHP, and Brent's latest RFC Vote project in his goal of understanding the community's stance on RFCs. 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.
Laravel Volt Realtime Live Stats
Hey! So Livewire 3 and Volt are out. I’ve been playing around with them and they’re pretty cool. My favorite part? Definitely the long polling feature in Livewire.
What's New in PHP 8.3
PHP 8.3 will be released on November 23, 2023; it has improvements to readonly classes, the new json_validate() function, additions to the recently added Randomizer class, stack overflow detection, and more.
console.log() and var_dump() are the most important tools used by developers to understand their code and how it works, especially when looking for errors and debugging them, they also help when working with APIs to understand the structure of their response.
The Best Way to Handle Api Response in Laravel
In this blog post, we'll explore the importance of having a standard API response format and specifically delve into why using status codes like 200 for success and 400 for error.
Mastering Clean Code in PHP: Principles, Best Practices, and Real-world Examples
In this comprehensive guide, we’ll dive deep into the principles of clean code in PHP, supported by practical examples that vividly demonstrate each concept.
The Ultimate Guide to 5 Top IDEs and Code Editors for PHP Development
In this article, we’ll explore five of the top IDEs and code editors for PHP, highlighting their features, advantages, and use cases.
8 Questions on PHP Memory Usage
I endeavored to discover the most efficient ways to utilize memory while working with PHP. This led me to question whether these methods are effective or not. Let’s redirect these inquiries towards PHP’s memory usage and explore them through a series of questions.
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
Debugging Gateway Errors
These are errors Nginx returns when it sends a request to PHP but PHP is returning some error saying it can't process the request. Typically these are NOT errors occuring in your application, but instead are (usually) errors hit before the application even processes a request.
Chat Widget with Livewire 3's Persist
We’re going to create a new app, add Livewire 3, and show how to persist a chat widget while navigating through the app.
Reinforce the type safety of your PHP arrays
Welcome to this post where I will show you how to bring more type safety to your arrays in PHP.
Laravel - Separate Routes into Custom Route Files
Have you ever lost your train of thought while looking for a route in your Laravel project?
CakePHP plugin for usage of RabbitMQ
CakePHP is a PHP web application framework that can be used to build web applications that interact with RabbitMQ. Here's an example of how to use CakePHP with RabbitMQ.
Playing with Model Attribute Visibility
In this episode of the Quick Win Wednesday series, we're taking a look at how we can play around with the visibility of our Model Attributes.
Laravel 10 How To Setup Ajax Request Tutorial
We will walk you through the process of configuring Ajax requests in Laravel 10 in this tutorial.
Generating Dynamic PHP Reports with Smart Report Engine: A Comprehensive Tutorial
In this tutorial, you’ll learn how Smart Report Engine can add reporting features to your project.
Formatting API response in PHP Laravel
When building APIs, we need to transform the actual model used in the backend. We need to hide some properties/attributes used in the model. We also might have to generate some manipulated results in the output so that consumers of APIs don’t have to worry about business logic used in the computation or manipulation of those properties.
News and Announcements
Laravel 10.19 Released
This week, the Laravel team released v10.19 with a collection percentage method, custom event discovery class resolution, dynamic queue listener delay, and more.
Cachet v3 Announcement
James Brooks, the original creator of Cachet, an open-source status page system, shares an update about its journey.
Laravel Volt / Folio Beta 5 Is Out, Now With Named Routes
Nuno Maduro just announced on platform X that Volt / Folio beta 5 is now released.
A Week of Symfony #867 (7-13 August 2023)
This week, the upcoming Symfony 6.4 deprecated some config option related to security, improved performance a bit by removing unnecessary calls for services and improved the newly introduced Workflow profiler panel. In addition, the SymfonyLive Berlin 2023 conference announced its workshops.
SymfonyCon Brussels 2023 - Submit your talk before August 28!
SymfonyCon Brussels 2023, our annual International Symfony conference, will take place on December 7 & 8! Start preparing for your participation by submitting a paper for a talk or workshop, registering for the conference, or becoming a conference partner.
Podcasts and Vlogs
PHP Ugly: 347: PePHPetual Honeymoon
This week on the podcast, Eric, John, and Thomas talk about San Francisco Rooftop Parks, Laravel Community, Twitter DMs, Zoom brings employees back to the office, and more...
Laravel News Podcast: Filament, stormy pints, and sushi
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: Want better answers from your data? Ask better questions
Tim Tutt, CEO and cofounder of Night Shift Development, tells the home team about his work in deploying large-scale search and discovery analytics, why he’s working to help nontechnical users understand and utilize their business data, and how GenAI is teaching people to ask better questions.
Software Engineering Radio: SE Radio 576: Jens Neuse on Back Ends for Front Ends
Jens Neuse, founder of Wundergraph, joins SE Radio host Jeff Doolittle for a conversation about back ends for front ends, or BFF. Jens begins by explaining how a heavy integration burden is often placed on front-end development teams.
Developer Tea: Schedule Carving
Are you stuck trying to prioritize your long list of things you need to do? Maybe you're trying to establish a habitual routine or areas of investment in your schedule, budget, or decision making.
Shoptalk Show: Customer Support, P3 Color, Dave on Productivity, and Mobile vs Desktop
Is Apple's Numbers amazing or the worst? Customer support at various levels of software, Figma and P3 color, imagining a colorspace property in CSS, what's Dave doing for productivity, how has offloading CSS Tricks affected Chris, and should we build different websites for mobile vs desktop?
Pull Request Descriptions
I used to leave pull request descriptions empty. "Let the code speak for itself" or "let the commits speak for themselves" are the perfect getaway from the extra work of documenting your thought process.
The RFC Vote project
Two weeks ago, I had a chat with my colleague Roman about how PHP is evolving: we both want to get a better understanding of how the community feels about RFCs.
Use custom PHP Collection instead of Array
In this article we will see how to define a custom PHP collection.
Exploring the Distinctions Between Value Objects and Entities in Object-Oriented Programming
Understanding the differences between value objects and entities is crucial for crafting maintainable, scalable, and flexible software solutions. In this article, we will delve into the nuances of these two concepts, provide real-world examples, and illustrate them using PHP.
Debugging PHP Code: Best Tools and Techniques
In this post, we’ll explore some of the best tools and techniques for debugging PHP code, so you can solve problems quickly and get back to creating amazing web applications.
Laravel101: The Role of Mass Assignment in Eloquent Model
In our previous article, we discussed the REST Architecture which with its template enhance our code readability inside our controllers. Now, let’s explore the concept of mass assignment and the a tool called Request.
Integrate PayUMoney Payment Gateway in PHP
In order to integrate payment gateways for ecommerce shopping sites, the company must be a registered legal entity a Sole Proprietorship or Pvt.
Interesting Projects, Tools and Libraries
Minimal unofficial Laravel authentication scaffolding with Svelte and Tailwind.
File System Watcher made with ReactPHP EventLoop and ChildProcess.
Array-like class with only strings used as keys.
Boilerplate for fully maintenable PHP CLI applications packaged in PHAR.
A package to allow laravel/passport use with jenssegers/laravel-mongodb.
Integrate paytm wallet easily with this package. This package uses official Paytm PHP SDK's.
A Symfony bundle for Chameleon System.
Http Basic authentication.
A laravel friendly wrapper around the Aylien PHP SDK.
A Symfony bundle that creates Thumbnails on the fly using the GD library.
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?