Hi everyone,
We're one week before the release of PHP 8.4, and for those of you who want to know about the new features and updates on the upcoming release we have our archive issues that you can browse to check them out. You can also take the fourth PHP 8.4 release candidate for a test drive in our News section. This week we also have the latest Xdebug update from Derick Rethans, as well as new updates from PHPStan and Laravel Nightwatch. In Tutorials we have guides for understanding Shortcodes in WordPress, an effective caching strategies in Laravel with Redis, Best Practices and Techniques for optimising PHP performance for high-traffic websites, and a 5-star guide for securing your PHP, MySQL, cPanel & WHM Server Against Malware. Finally in our Reading section we have articles on the magic behind Laravel's new defer() helper, PHP Blunders You Can’t Afford to Make and what to do when you do, and, Cross-Process Lock Management in Laravel. We have all that and more, so we do hope you enjoy this week's newsletter.
We would like to give a shoutout to our sponsor, Sevalla for their support. If you want seamless scaling with Kubernetes, Cloudflare, and more, check out their link below.
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 articles@phpweekly.com.
All the best,
Adrian
Please help us by clicking to our sponsor:
Supercharge Your PHP Projects with Sevalla Cloud Platform!
Unleash your projects' potential! Scale seamlessly with Kubernetes and Cloudflare, and watch your apps, databases, and static sites thrive at Sevalla.
|
Articles Securing Laravel Applications with Stephen Rees-Carter Join us as Stephen Rees-Carter delves into Laravel security, discussing security consulting, the importance of penetration testing, and common vulnerabilities found in Laravel applications.
Implementing a DDD Use Case in PHP This article explores a Domain-Driven Design (DDD) Use Case model in PHP, demonstrating how to utilize interfaces and domain-specific classes to manage data persistence. We'll examine the TaxPersistUseCase class, which uses a persistence manager (TaxManagerInterface) to save an entity of type Tax, representing a tax.
That Strange PHP Code in Frameworks and CMSs This article discusses a PHP code snippet that you’ve likely seen at the top of your favorite CMS or framework. You've probably read that you should always include it at the beginning of every PHP file you develop, for security reasons, although without a very clear explanation of why.
Upgrade your PHP projects using these tools & tips The PHP ecosystem is full of tools that can help you write better code and have a more robust project, use them!
Mastering Architectural Rules in PHP Projects with PHP Arkitect How to Use PHP Arkitect to Define, Enforce, and Maintain Clean Code Structures.
|
Tutorials and Talks Understanding Shortcodes in WordPress: A Beginner’s Guide If you're just starting with WordPress development, this guide will help you understand what shortcodes are, how they work, and how to create your own!
Best Redis Caching Strategy in Laravel: A Guide to Fast and Efficient Caching In this guide, we'll look at effective caching strategies in Laravel with Redis. We'll cover how to cache data, manage expiration times, and efficiently clear caches.
Working with multiple image select in Laravel Livewire In this article, I am going to show you a simple idea to fix the loss of previously selected image/images whenever you want to select more images using livewire with laravel.
Monitoring Cache Operations in Laravel: Events Guide Want to track what’s happening with your cache? Laravel’s cache events let you monitor every operation! Let’s explore how to leverage these powerful events.
How to implement a global transaction for all routes in laravel Let’s say you have a Create Order API. The first thing you will do is store the order in the orders table in your database then store the products of that order in a separate table,order_products table for example.
Optimizing PHP Performance for High-Traffic Websites: Best Practices and Techniques This guide will walk you through the most effective strategies to boost PHP performance for high-traffic websites.
How to Speed Up Bulk Email Sending in PHP with Queues, Workers, and Cron Jobs In this post, we’ll explore how to handle bulk email sending efficiently using queues, workers, and cron jobs.
Manipulating Strings with PHP: A Comprehensive Guide PHP offers a rich set of built-in functions and techniques for working with strings, enabling developers to process, transform, and extract information from textual data effectively.
5-Star Guide to Securing Your PHP, MySQL, cPanel & WHM Server Against Malware Is your server truly protected against malware? With the increasing threats facing online platforms today, a single weak point can compromise your entire site, disrupt services, or open the door to unauthorized access. But where do you start with server security, and how do you prioritize each action?
|
News and Announcements Xdebug Update: October 2024 In this monthly update I explain what happened with Xdebug development,
PHPStan 2.0 is Here PHPStan just released v2.0.0 this week! This massive update is three years in the making, consisting of over 180 items in the release. Creator Ondřej Mirtes had this to say about the release of PHPStan 1.0 over three years ago and now releasing 2.0.
Laravel Nightwatch Laracon AU has begun and with it comes exciting news from Taylor and the rest of the Laravel team. Announcing Laravel Nightwatch! First-class monitoring designed for Laravel.
PHP 8.4.0 RC4 available for testing The PHP team is pleased to announce the release of PHP 8.4.0, RC4. This is the fourth release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
A Week of Symfony #932 (4-10 November 2024) This week, Symfony 5.4.46, 6.4.14, and 7.1.7, maintenance versions were released. In addition, we released the second beta version of Symfony 7.2 ahead of its final release at the end of November 2024. Lastly, we published eight security advisories to fix some reported security issues in Symfony and Twig.
SymfonyCon Vienna 2024 | December 5 – 6, 2024 Vienna (Austria) We are thrilled to welcome you at SymfonyCon Vienna 2024! We will meet you at the Austria Center Vienna for the annual international Symfony conference.
|
Podcasts and Vlogs The Stack Overflow: One of the world’s biggest web scrapers has some thoughts on data ownership Or Lenchner, CEO of Bright Data, joins Ben and Ryan for a deep-dive conversation about the evolving landscape of web data.
No Compromises Podcast: How to deal with things outside your control on a dev project Have you ever struggled working with a third party on one of your developer projects? How do you handle that, keeping it professional and also still able to meet your commitments?
Maintainable Podcast: Justine Gehring: Refactoring Software at Scale with AI Robby sits down with Justine Gehring, an AI Research Engineer at Moderne, to explore how AI tools are transforming code maintenance and scalability.
Software Engineering Radio: SE Radio 641: Catherine Nelson on Machine Learning in Data Science Catherine Nelson, author of the new O’Reilly book, Software Engineering for Data Scientists, discusses the collaboration between data scientists and software engineers — an increasingly common pairing on machine learning and AI projects.
Developer Tea: Coaching Yourself: Career Coaching Personas for Everyday Engineers, Part Two - The Overoptimizer In today's episode we discuss the concept of adopting self-coaching personas, and discuss the second persona, the over-optimizer.
Shoptalk Show: Passkey Usage, Writing Code with a Bot, and What’s Up With Java? We've got a few leftovers from Halloween to process, what's been happening with Passkeys in late 2024, have you tried to write HTML faster than a bot can suggest it to you, CSS anchor positioning and popover polyfills, scroll driven animation thoughts, CSS nesting, and what's the reason for Java?
WP Builds: 397 – Ben Butler on turning WordPress static with Headless Hostman In this episode of WP Builds, I’m joined by Ben Butler, who runs the Headless Hostman static WordPress hosting solution. Ben shares insights on their approach to enhancing security and performance for WordPress sites.
PHP Architect: The php[podcast] 2024.11.7 This week on the php podcast, Eric and John discuss PHP Event Sourcing with Laravel Verbs, CascadiaPHP, PHPTek 2025, whats new in the latest magazine release, potentially moving the podcast to another server for hosting, and more…
Frontmatter Podcast: Special Guest Leah Paulos, Founder of Press Shop PR and Book Publicity School In this episode of the FrontMatter podcast, Len Epp interviews Leah Paulos, founder of Press Shop PR and Book Publicity School.
Mostly Technical: 58: The Multi-Select with Caleb Porzio Ian is joined by Caleb Porzio and we talk about recent consumer product acquisitions, a dive deep into Flux's multi-select and more advanced components like charts, and we do a Business Dad corner about hiring.
Syntax: Talking EVs: Range Anxiety, Charging, and Tech Wes Boss and Scott Tolinski have a casual conversation sharing their real-world experiences of owning and driving electric vehicles.
The Changelog: The democratization of spreadsheets Changelog Merch is now on sale, IronCalc sets out to democratize spreadsheets, Grant Slatton writes about algorithms we develop software by, Mark Rainey gives respect to the ultimate in debugging, Gitpod is leaving Kubernetes & Johannes Kaufmann’s html-to-markdown converts entire websites into Markdown.
|
Reading and Viewing The magic behind Laravel's new defer() helper Laravel has recently been shipped with a new helper called defer() which can be used to defer the execution of a callback until after a successful response has been sent.
Unfair Advantage Someone asked me: why Tempest? What areas do I expect Tempest to be better in than Laravel or Symfony? What gives me certainty that Laravel or Symfony won't just be able to copy what makes Tempest currently unique? What is Tempest's unfair advantage compared to existing PHP frameworks?
Cross-Process Lock Management in Laravel Working with locks across different processes? Laravel’s Cache lock system lets you acquire, restore, and release locks seamlessly across requests and jobs! Let’s explore this powerful feature.
PHP Blunders You Can’t Afford to Make - Here’s What to Do Instead! Working with PHP can feel like tiptoeing through a minefield sometimes. Its versatility is unmatched, but it has quirks that can trip you up in frustrating, time-sucking ways.
Laravel — New defer() Function The game-changer you didn’t know you needed! Laravel 11 introduced an exited function called defer() that will probably change the way you perform time-consuming actions . Let’s understand what this function does and which problems it solves.
Drupal: Dynamic routes We know that starting with Drupal 8 we have a good Routing system. But I am faced with one limitation, I cannot define the route with the parameter in the first position (“/{param_1}/some/path”). And in this article I want to share a solution for this case.
|
Interesting Projects, Tools and Libraries moon/fakemiddleware A small Laravel 5 package to disable a middleware in testing environment.
kaystrobach/visualsearch Package to handle advanced facetted searches.
netinfluence/upload-bundle Get a multiple file AJAX upload done in minutes.
mitsuru793/symfony-parallel-process Simple wrapper to enable parallel processing using Symfony Process component.
fond-of-spryker/conditional-availability-cart-connector Conditional availability cart connector module.
mane-olawale/superban A Laravel package for for banning suspicious HTTP clients.
calebdw/larastan-livewire A Larastan / PHPStan extension for Livewire.
elseyyid/laravel-json-mysql-locations-manager Laravel Json Locations Manager. Import all app language strings from lang folder.
rmt/authorization-bundle Bundle used for exporting access controls for entities and a custom voter to use with redis for accessing entities.
rakshitbharat/queuefy This package will take care of Queue from Cron Job it self.
|
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:
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.
Sponsor this newsletters
|
So, how did you like this issue?
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 15. Free trial.
|
|
|
|
|
|