This week's newsletter is packed with very useful tutorials including a comprehensive guide to Laravel that caters to both beginners and pros. We also have a tutorial on data transfer objects in Symfony as well as upgrading earlier versions of Laravel to the most recent release. Speaking of updates, we have fresh update available from PHP 8.1, Statamic 4, Laravel 10 and Symfony 6.3. In podcasts we have the latest episodes from Laravel News on repeating models, on the No Compromises, they discuss Eloquent relationships. The Rabbit Hole also released a new episode on the topic of Github actions, so do check them out. Finally, in our reading section we have articles on Polymorphism, Prometheus metrics, and chaining events in Laravel. 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.
Aaron Francis: Laravel Overview Video
Aaron Francis has a new video out named "PHP is the future" that goes through Laravel and covers a lot of the highlights of the framework.
Explaining the Code on the "Go with PHP" Website
Mohamed writes a nice post featuring a lot of good tips on how to make your code readable.
About a month ago, I tweeted that I was working on drag and drop editor for Laravel and showed a little demo video.
Let's Write an Esolang in PHP
An esolang (esoteric language) is a programming language designed to be used as a joke or test the limits of what can be achieved with a particular language syntax.
Symfony's Magic: Dependency Injection
Injecting dependencies is a fundamental principle that is recommended by various approaches, including SOLID.
Building a Solid Foundation: 10 Essential Tips for Setting up Your Laravel Project Structure in 2023
I’ll provide practical code examples, share key insights, and equip you with the knowledge to build a solid foundation for your Laravel projects.
How Method Overloading Works in PHP
As software engineers, we sometimes have to perform certain tasks that can be achieved with a variable number of inputs.
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
Laravel Security Middleware
In this tutorial, I will walk through how you can leverage the power of middleware in your Laravel application to help increase the security of your applications.
Testing with Phpbench
Non-functional requirements are often forgotten aspects of code development.
Adding Criteria To Your Doctrine Queries Easily
In this post, I would like to show you how we can easily add criterias to our doctrine queries.
How to Upgrade to Laravel 9
In this article, I’ll share tips on how to upgrade earlier Laravel versions to more recent releases in your existing apps.
Coding Standards Part 2: .Editorconfig, Documentation And Strict Types
In the previous article, we already learned a lot about coding standards, and today I like to discuss three more points: the file .editorconfig, the documentation of your code, and the declaration of strict types.
Laravel Tips for Beginners and Pros: A Comprehensive Guide
In this blog post, we will share 10 Laravel tips that can help you improve your skills and make the most of the framework.
Laravel 10 Bootstrap Auth Scaffolding Example
In this article, we will see the laravel 10 bootstrap auth scaffolding example. Here, we will learn about how to install bootstrap auth scaffolding in laravel 10.
Build An Environment To Work With Laravel Using Docker
With this approach, you will be able to quickly set up a consistent development environment ready to start developing your Laravel project without worrying about the usual complications.
Convert Dynamically Request content to DTO with Symfony
In this article, we will discuss Data Transfer Objects (DTO) in Symfony and primarily focus on how to dynamically convert the content of a client request into an input DTO.
News and Announcements
PHP 8.1.19 Released!
The PHP development team announces the immediate availability of PHP 8.1.19. This is a bug fix release.
Statamic 4 Released
This release focuses on two things in particular, an improved user experience in the Control Panel and continued modernization of our code base.
Laravel 10.10 Released
In this version, notable contributions include features such as the Sleep class, the hashed model cast, and the ability to mark commands as "isolatable."
Symfony 6.3.0-BETA3 released
Symfony 6.3.0-BETA3 has just been released. Here is the list of the most important changes since 6.3.0-BETA2.
A Week of Symfony #854 (8-14 May 2023)
This week, Symfony 6.3.0 beta2 and beta3 were released so you can test them in your own projects and report bugs before its final release. Meanwhile, we continued adding features to the new AssetMapper component. Lastly, we announced a round of lightning talks during the SymfonyOnline June 2023 conference.
Laravel Live UK 2023
Laravel Live UK 2023, the official Laravel conference for the UK, is coming to London for a two-day conference on June 22nd and 23rd 2023. Join hundreds of Laravel and PHP enthusiasts for inspirational talks, engaging networking, and amazing learning opportunities.
php[tek] 2023 - Chicago, IL
Join us for the 15th Annual Web Developer Conference, php[tek] 2023, May 16-18 2023.
Podcasts and Vlogs
PHP Ugly: 335: Eric Corrupts PHP
This week on the podcast, Eric, John, and Thomas talk about php[tek], TEK, Tek, and more tek ... or an .env files, and more...
Laravel News Podcast: Repeating Models, Extending Raycast, And Squeezing Lemons
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: Great Code Isn’t Enough. Developers Need To Brag About It (Ep. 571)
Today’s guest is Dagna Bieda, a career coach who specializes in helping developers and engineers level up their careers. She shares why developers should promote the value of their contributions, how soft skills can make or break a coding career, and why a moment of burnout inspired her to start coaching.
No Compromises Podcast: Should An Eloquent Relationship Include Soft-Deleted Records?
Get a free ebook of Laravel security tips.
Software Engineering Radio: SE Radio 564: Paul Hammant on Trunk-Based Development
Paul Hammant, independent consultant, joins host Giovanni Asproni to speak about trunk-based development—a version control management practice in which developers merge small, frequent updates to a core “trunk” or main branch.
Developer Tea: Focus on Process Orientation for Goal Setting
If you don't have agency over your goals, how can they help you to begin with?
Shoptalk Show: 565: The Hurdy-Gurdy, OKLCH, Edge Dev Tools, and Ad Blocking
WP Builds: 326 – James Giroux on workplace culture, team dynamics and leadership in WordPress companies
On the podcast today we have James Giroux and he’s here to talk about a new project that he’s set up called TeamWP. It’s all about workplace culture, team dynamics and leadership in WordPress companies.
The Rabbit Hole: 300. GitHub... And Actions!
Have you tried GitHub Actions? In this episode, we talk about experimenting with GitHub Actions and why YAML will be the programming language of the future.
In this post, Andrew presents several patterns in polymorphic database relationships in Laravel that allow us to eliminate conditionals.
Prometheus Metrics in Laravel
You can send prometheus metrics to Fly.io - for free. Spin up a globally-running Laravel app in minutes!
Generate Unique Slugs On-the-Fly for Create and Update in Laravel Models
In Laravel, generating unique slugs for models is a common requirement when dealing with SEO-friendly URLs or user-friendly identifiers.
PHP Closure And Callable And Difference
Closures are useful in scenarios where you want to create a function that can access variables from its surrounding scope, even after the outer function has finished executing.
Factory Method Design Pattern in PHP
The Factory Method design pattern is a creational design pattern that provides an interface for creating objects, but allows subclasses to decide which class to instantiate.
Chaining Events in Laravel
In Laravel, an event is a class that represents a specific occurrence or action that takes place within your application.
Interesting Projects, Tools and Libraries
A simple caching filter that caches Laravel's Response objects.
Provides form management support to Icybee.
Open Social is a distribution for building social communities and intranets.
PHP SDK for implementing scope recruiting with rest api.
Zend Mail wrapper for those who want to preserve their sanity.
Simple Dependency Injection in php.
Client library for MySQL HandlerSocket extension.
CakePHP View-layer wrapper for the Fractal library.
Yii2 wrapper for clockpicker (clock-like time picker) plugin.
A simple tcp server written in PHP.
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?