Hi everyone,
This week's newsletter falls on Halloween and we hope you're all enjoying your sweet treats. In keeping with the spirit of Halloween we have a podcast episode from Syntax where they read community submitted horror stories about web development mistakes. Over at Stack Overflow they chat about how to encourage kids to try coding. JSON fields are the topic of choice for the guys at No Compromises, while The Changelog tackes developing with Docker. In our Reading section we have a subscriber submitted article from Luka, and he provides an insight into when the TDD approcah makes sense. We also have an article for those starting out with Laravel, as well as a video on how to create tech videos for YouTube for those of you who are interested in sharing your insights in front of the camera. Finally we have a long list of tutorials, including Simplifying string checks, advanced PHP exceptions, and creating a CLI application with Laravel and Docker. 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 [email protected].
Do follow us on our social media channels on Twitter and Facebook.
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
PHP Fibers: How PHP is Finally Warming Up to Asynchronous Programming
So, let’s take a deep dive into PHP Fibers: what they are, how they work, and why you might find yourself grinning as you introduce them into your codebase.
Please don’t: using the same models for write and read in PHP
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.
The Hidden Benefits of Modular PHP: How to Build Scalable Applications Like a Pro
In this article, we will explore the essential principles of building modular PHP applications, providing a comprehensive guide to structuring your codebase for optimal scalability and maintainability.
7 Benefits of Integrating LLM and PHP: Enhance, Automate, Secure
Customers want quick, smart, and personalized online experiences in today’s world. Many businesses aim to improve these interactions and streamline their operations without overspending. In this situation, they can get help by integrating LLM with PHP.
Stop Struggling with CRUD! Here’s How to Build Better PHP Apps Like a Pro
Mastering CRUD not only enhances user satisfaction but also lays the groundwork for scalable and maintainable code. Well-implemented CRUD structures lead to optimized performance, reduced complexity, and improved maintainability.
Top 10 CodeIgniter Plugins and Libraries to Enhance Your Project
Here's a rundown of the top 10 CodeIgniter plugins and libraries that CodeIgniter development experts in the UK recommend for enhancing your project.
Every Developer Should Know These Essential CakePHP Plugins
Explain briefly what CakePHP plugins are and how they extend the core functionality of the framework.
|
Tutorials and Talks
Nuxt 3 + Laravel Sanctum Authentication: Secure Your SPA and API with Ease
The nuxt-sanctum-authentication module bridges the gap between Nuxt 3 and Laravel Sanctum, providing a streamlined and efficient way to handle both SPA (Single Page Application) and API token-based authentication.
Creating a CLI Application With Laravel and Docker
If you are building a CLI-only project, you could also consider using the community project Laravel Zero. Everything we discuss in this article will work with Laravel or Laravel Zero (with a few tweaks to the Docker image).
Using the Service Layer Pattern in PHP for Clean and Scalable Code
In this article, we’ll walk through the fundamentals of the Service Layer pattern, its benefits, and how to implement it in a PHP application using practical examples.
Building a Simple File Management System with PHP & MySQL
Today, I want to share with you my journey of creating a File Management System using PHP and MySQL. This project is a great way to learn about file uploads, database interactions, and overall web application development. Let’s dive in!
How and When to Use saveQuietly() for Silent Updates in Laravel
Here’s a step-by-step guide with a hands-on example of saveQuietly() in Laravel, including a detailed explanation of each part.
How to Generate App Key in Laravel 11
Let’s explore How to Generate App Key in Laravel 11. This key is essential for encrypting data and ensuring security within your Laravel project.
Debugging PHP in VS Code
There seems to be a lot of articles on debugging PHP on VS Code, but all of them seems to have a lot of steps and a bit complicated. So here is a simple guide to debug your PHP code on VS Code.
Customizing Collections in Laravel: Meet the CollectedBy Attribute
Ever wanted to customize your model collections without overriding methods? Laravel’s new CollectedBy attribute makes this elegant and straightforward! Let's explore this clean approach to collection customization.
Laravel Queues 101: Streamlining Asynchronous Processes for Faster Performance
In modern web applications, performance and responsiveness are critical. Long-running tasks like sending emails, processing images, or generating reports can slow down your application if handled synchronously.
Simplify String Checks in Laravel with doesntContain
Need to check if a string doesn’t contain certain words? Laravel’s new doesntContain method for the Str helper makes this task a breeze! Let's explore how this simple yet useful feature works.
Laravel API Documentation with Scramble: Best Practices and Tutorial
I will share my experience in creating Laravel application documentation using Scramble in this article.
Advanced PHP Exceptions handling: How to
In today’s article, we will explore advanced techniques for handling exceptions in PHP, focusing on error handling, logging, and useful enhancements like enabling debug states etc.
How to use XSLT with PHP (very simply)
Using XSLT with PHP is very easy to do — but you will need to check you have the right modules installed. Lets take a quick look. |
News and Announcements
PHP 8.4.0 RC3 available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, RC3. This is the third release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.
PHP 8.2.25 & PHP 8.3.13 Released!
The PHP development team announces the immediate availability of PHP 8.2.25 & PHP 8.3.13. This is a bug fix release. All PHP 8.3 users are encouraged to upgrade to this version.
Introducing Web Services Tool for PHP-FPM
The Web Services Tool (WST) is a command-line application developed to test PHP-FPM, commissioned by the Sovereign Tech Fund (STF). Its primary goal is to facilitate testing of the integration between different web servers and PHP-FPM across various environments and configurations.
Symfony 7.2.0-BETA1 released
Symfony 7.2.0-BETA1 has just been released. Here is the list of the most important changes since 7.1
Symfony 7.1.6 released
Symfony 7.1.6 has just been released. Here is the list of the most important changes since 7.1.5
Introducing Wave V3 – The Ultimate Laravel SaaS Starter Kit!
I'm super excited to share that Wave V3 is officially here! 🎉 Wave is an open-source SaaS boilerplate built with Laravel and Livewire, designed to help you launch your SaaS product faster than ever. And yes – it’s completely free to get started!
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: How can you get your kids into coding? We asked an 8-year-old.
Ben welcomes Ricky Robinett, VP of Developer Relations and Community at Cloudflare, and his eight-year-old daughter Fay for a chat about how AI tools are helping new developers get started and how to encourage your kids to try coding.
No Compromises Podcast: Should we use a JSON field for this?
In today's episode of No Compromises, Aaron and Joel use a couple examples from recent projects to talk through reasons they would and would not use a JSON field.
Software Engineering Radio: SE Radio 639: Cody Ebberson on Regulated Industries
Cody Ebberson, CTO of Medplum, joins host Sam Taggart to discuss the constraints that working in regulated industries add to the software development process.
Shoptalk Show: DX, JSON, XML, HTML, and Databases! Oh My!
How important is the DX of software vs how important is the person showing off the software, Douglas Crockford and JSON, remembering XML, trying to write better HTML for email, new TC39 proposal, workshopping t-shirts, and what do you do if you want a little bit of database on your website?
WP Builds: 395 – HeroPress: What it is, and why it’s so important
In this episode we have Topher DeRosia discussing HeroPress, a platform sharing inspiring stories within the WordPress community.
Mostly Technical: 56: Tier Maker
Ian and Aaron discuss Aaron's trip to San Francisco, Bluesky vs. Twitter, and why Ian's not doing his secret side project plus our tier rankings for...pizza toppings?!
Syntax: Spooky Web Dev Horror Stories - PART 1
Scott and Wes read community submitted horror stories about web development mistakes.
The Changelog: Developing with Docker (the right way)
Daniel Quinn weighs in on how to develop with Docker The Right Way, Mitchell Hashimoto says Ghostty will be publicly released this coming December, Kevin Li writes about the value of learning how to learn, The Browser Company moves on from Arc & the React Native team ships its new architecture.
|
How to Create Tech Videos for YouTube with Josh Cirre
In this episode, we are joined by Josh Cirre to discuss his journey from creative beginnings in music and graphic design to his current role at Laravel and his passion for video production. Josh shares valuable insights on starting a YouTube channel, finding comfort in front of the camera, and the importance of using tools like OBS for efficient video editing.
The Irony of Static Typing in Dynamic Languages
One upon a time, when I started my journey in the software development world, dynamic languages such as Python, PHP and JavaScript were appreciated for their flexibility and concise syntax suited for rapid development.
Getting started with Laravel
A framework simply gives you a set of code (or a frame/base structure) to which you start building on top. Laravel is a full-stack PHP framework that allows you to build end-to-end applications (client and server-side applications).
Building Resilient and Scalable Systems by default
In this article we will dive into how to build resilient and scalable architecture, yet we will introduce it in a way, that actually speeds up development.
Less painful PHP
I’m switching to Go and want to share with you my experience after almost 10 years of development in PHP.
Effortless Schema Management in Laravel: Navigating Complex Database Migrations
In this post, we’ll explore best practices and strategies for mastering database migrations in Laravel, helping you manage complex schema changes with ease.
How PHP Generics Can Save You from Rewriting Doctrine Repositories
What if I told you that with PHP generics, we can implement all the most useful repository methods just once? No more repeating yourself for every entity. Let’s dive in and see how to make it happen.
When does the TDD approach make sense?
To do TDD or not to do TDD? That is the question. Personally I never bought into TDD practices. But I always use TDD when I need to develop a feature that will require me to test a lot of different variants and edge cases.
|
Interesting Projects, Tools and Libraries
silverstripe/totp-authenticator
A TOTP authenticator for use with silverstripe/mfa.
dhope0000/lxd
PHP-based API wrapper for LXD REST API.
jocic/google-authenticator
Complete & easy-to-implement MFA solution for use with Google Authenticator App.
codem/silverstripe-domain-validation
A set of fields, including editable userform fields to perform domain validation via DNS over HTTPS.
panix/mod-sendpulse
Sendpulse REST API client library.
Bottelet/translation-checker
find translations you forgot to add to your language files, check, and maintain translations in yor Laravel application.
panphp/pan
A simple, lightweight, and privacy-focused product analytics php package.
Blaspsoft/blasp
Blasp is a profanity filter package for Laravel.
webforward/gitdeploy
Easy to use automatic git deployment for PHP projects with composer and npm support.
cindyullmann/proxy-manager
A library providing utilities to generate, instantiate and generally operate with Object Proxies.
|
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 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?
|
|
|
|