Hi everyone,
We are a few days away from the launch of Laravel 12, and if you want to review some of the upcoming features with its release, just head on to our archive section where you can find older editions of our newsletter. This week we have tutorials on Laravel's full-text search, validating image dimensions and building a secure API with Laravel. In Podcasts this week we have new episodes from Laravel News on Laravel 12, No Compromises talks about dealing with learning new technology, while Maintainable chats about the sustainability of open-source projects. Finally in our Reading section we have Mastering DTOs, Simple image testing and the 8 best PHP Web scraping libraries.
We have all that and more, so we do hope you enjoy 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].
All the best,
Adrian
|
Please help us by clicking to our sponsors:
|
Articles
Cache Poisoning in Laravel: Preventing Common Vulnerabilities
This blog will walk you through what cache poisoning is, how it works in Laravel, and most importantly, how to prevent it with coding examples.
Preventing Destructive Commands from Running in Laravel
I recently stumbled upon a cool Laravel feature I hadn't come across before: the ability to prevent destructive commands from running in production.
Optimizing PHP Applications: Why Separate Read and Write Models Matter
Models are a great tool to communicate with a data storage. We can define how the data looks like, and that makes sure that it’s compatible with the data storage, typically a database.
Solving Problems the Right Way: Leveraging Frameworks Over Quick Fixes
We have a feature that allows importing CSV files into a database. The CSV rows can contain date fields as well, so we implemented a date parser before inserting the data into the database.
Why State of PHP 2024 is all about Laravel
The latest State of PHP post, was more, well, very Laravel-heavy. Let me explain why.
9 Tips for Building and Developing Secure PHP
Secure coding isn’t just about patching vulnerabilities. It’s a mindset: anticipating risks, designing safeguards, and ensuring your application remains robust under pressure. Below are actionable strategies to fortify your PHP projects against common threats.
|
Tutorials and Talks
Using Relative Date Helpers in Laravel's Query Builder
With the release of Laravel 11.42, we now have access to useful relative query builder methods for dates. While you don't need to refactor all your applications to use these methods, they add a nice, readable touch to relative date logic in your models.
Harnessing Full-Text Search in Laravel
Laravel provides robust full-text search capabilities through the whereFullText and orWhereFullText methods, offering a more sophisticated approach to data queries compared to basic LIKE clauses.
Running Laravel Reverb in the Background Using systemd
In this post, I’ll show you how to configure and run the Reverb WebSocket server in the background using systemd. This approach ensures your WebSocket server starts with the system and restarts automatically in case of failure.
Deploying a Laravel Project on Forge with Reverb WebSockets | Real-Time Setup Tutorial
Want to deploy your Laravel project on Forge with real-time WebSockets using Reverb? In this step-by-step tutorial, we’ll walk you through setting up Laravel Forge, configuring your server, and integrating Reverb for real-time communication.
How to Create a Package in Laravel
In this guide, we will walk you through creating a Laravel package from scratch for user-management.
PHP Web Development Services: The Ultimate Guide
This comprehensive guide will explore the various aspects of PHP development, the advantages of hiring a PHP development agency, and why India is a leading destination for PHP development services.
Image Dimension Validation in Laravel
Need to validate image dimensions in your Laravel application? The dimensions validation rule provides a flexible way to ensure uploaded images meet your specific requirements.
How to Bulk Insert Data to database using Laravel
What if we had a csv file with millions of records to import to the database using Laravel. There are four approaches we can take.
Building a Secure API with Laravel: Role-Based Access Control using Spatie Permissions
In this tutorial, we’ll explore how to implement RBAC in a Laravel API using the powerful Spatie Permission package. |
News and Announcements
PHP 8.3.17 & PHP 8.4.4 Released!
The PHP development team announces the immediate availability of PHP 8.3.17 & PHP 8.4.4. This is a bug fix release.
Introducing the Laravel Developers Report 2025
The Laravel Developers 2025 Report is here! Based on insights from Laravel developers across the world, this report uncovers key trends, challenges, and opportunities shaping the Laravel ecosystem in 2025.
Fusion Developer Preview is released: Write PHP inside your Vue and React components
Aaron Francis and Try Hard Studios just officially launched Fusion and you can find it on Github!
CakePHP 4.6.0-RC1 RELEASED
Updates include: RedisEngine now supports a tls option for connecting to redis via a TLS connection. Number::formatter() and currency()now support a roundingMode option to control how rounding is handled.
A Week of Symfony #946 (10-16 February 2025)
This week, development activity focused on the upcoming Symfony 7.3 version. We introduced a simpler way to configure DKIM and SMIME options, improved how to work with value objects in the container and added Markdown format support for tables in the console.
Laravel Live Denmark 2025
Laravel Live Denmark is back with the second edition. Join over 300 other Laravel and PHP enthusiasts from around the world for two days of learning, 16 speakers and more within the Laravel community.
ConFoo 2025 - February 26-28, 2025, Montreal, Canada
ConFoo is back for its 23rd edition, at Hotel Bonaventure in Montreal, with a full stack of incredible talks with the best speakers in tech.
|
Podcasts and Vlogs
Laravel News Podcast: Laravel 12, Skeletor, and integrating IMAP
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: Why is it so hard for companies to protect your privacy?
Minh Nguyen, VP of Engineering at Transcend, joins Ryan for a conversation about the complexities of privacy and consent in tech, from the challenges organizations face in managing data privacy to the importance of consent management tools to the evolving landscape of privacy regulations.
No Compromises Podcast: Dealing with being a beginner again
In this episode, Joel and Aaron discuss the struggles of learning new technology on a late-night side project. They share tips for handling frustration and managing expectations.
Maintainable Podcast: Marty Haught: Rethinking Technical Debt—Is It Really Just Drift?
Marty Haught joins Robby to discuss the sustainability of open-source projects, the challenges of maintaining RubyGems, and why the metaphor of technical debt may not fully capture how software ages.
Software Engineering Radio: SE Radio 655: Charles Humble on Professional Skills for Software Engineers
In this episode, Charles Humble speaks with host Brijesh Ammanath about skills that can provide developers a grounding in systems thinking.
Shoptalk Show: Talking to Bots, Building Browser Games, and Political LLMs
Remembering the old days before we had bots, teaching kids to talk to bots, how difficult is it to build games in the browser, are we seeing LLMs get more political, what does mainstream media really mean, and have you heard about PouchDB?
WP Builds: 409 – What just happened? Episode 3. Funding, acquisitions, legal and events
In this episode of the WP Builds podcast, I’m joined by Rae Morey once again to discuss various updates in the WordPress community, including the launch of a new event called PressConf, the release of WordPress 6.7, and significant acquisitions like Group One acquiring GT Metrics.
PHP Architect: The PHP Podcast: 2025.02.13
This week on the PHP Podcast, Eric and John discuss PHPStan 2.0, Facebook blocking Linux, JetBrains The State of PHP 2024, what’s new in PhpStorm 2024.3, and more.
Mostly Technical: 70: Robber Baron Mentality
Ian and Aaron discuss why Aaron needs a hobby, HelpSpot's new logo & 20 year (!) revenue graph, microwave power settings, the release of Fusion, and so much more.
Syntax: Tailwind 4
Discussion of new features and improvements in Tailwind CSS 4 including better performance, CSS variable support, container queries and more modern CSS capabilities.
The Changelog: AI is stifling tech adoption
Declan Chidlow proposes that AI is stifling tech adoption, Ariel Salminen shares 17 pieces of advice she’s learned about leading successful product teams, Benj Edwards tells the story of WikiTok, the React team sunsets Create React App & Ruben Schade says boring tech is mature, not old.
|
Laravel: The solution for third-party migrations and models
I’ve always had problems with how to approach third-party migrations — packages requiring a new table in your database so the included Eloquent Models can work. I know two ways to deal with this, when you’re a package author.
8 Best PHP Web Scraping Libraries in 2025
Here, I’ll take you through eight of the best PHP web scraping libraries available today. I’ll highlight their features, the pros and cons of each, and show you how to use them so you can get the data you need with ease.
Mastering DTOs, Types, and Static Analysis in PHP: A Beginner’s Guide (2025)
In this comprehensive guide, we’ll explore these concepts using real-world examples you can apply today.
Simple Image Testing in Laravel with Pest
While PHPUnit is a solid choice, I’ve found Pest Test to be more enjoyable and productive, so we’ll be using it for these examples.
Why Strategy and Chain of Responsibility are everywhere in Symfony Components
Design patterns are the backbone of maintainable and scalable software. In the Symfony ecosystem, two patterns stand out for their frequent and powerful collaboration.
|
Interesting Projects, Tools and Libraries
phillipjohnson/wordpress-eloquent-clone
A Laravel wrapper for wordpress which turns all Wordpress models into Laravel Eloquent Models.
yiiplus/yii2-storage
YiiPlus Storage.
sparkcentral/marshaller
Generic marshalling component. Provides functionality to transform data from one form to another and vice versa.
slick/orm
Slick ORM is a module that provides ORM support to a Slick application using doctrine/orm.
rdx/imap
Reads and parses e-mail from an IMAP/POP3 source.
nmure/encryptor-bundle
A Symfony Bundle for the nmure/encryptor library.
silpion/logger-extra-bundle
Extra logging features for Monolog in a Symfony2 bundle.
yiivgeny/yii-phpdoc-crontab
Simple and convenient installing console commands as cron jobs for Yii framework.
indatus/dispatcher
Schedule your artisan commands within your application's source code.
maherio/graceful-cache
A wrapper for Laravel's Cache Repository to allow for graceful caching.
|
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:
Protect your PHP Code
Why not try SourceGuardian 15. 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?
|
|
|
|