sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

September 27, 2024

Hi everyone,

Summer is officially over and we're on to the final quarter of the year. We hope you're all doing well and enjot this week's instalment on news from the world of PHP. Symfony 7.1.5 has just been released, and PHPStorms's 2024.3 early access program is also now open. In Podcasts this week we have new episodes from Laravel News on topics like markdown blogging, captal raises and much more. Developer Tea tackles career growth and how it will be directly correlated to your ability to solve critical unsolved problems in the gaps of your organisation's problems, while over at Frontmatter they have author Eric Elliot as their guest. Finally in our Reading section we have articles on understanding mock objects in relation to PHPUnit Testing. We also have one on 5 little known Artisan commands ,and alsoyet again a piece on how against all odds PHP is thriving. 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,
Adrian

Please help us by clicking to our sponsor:

encrypt php scriptsGet 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.

Articles

Best Practices for Structuring Your PHP Web Project
When planning a new PHP web project, it’s important to consider both the technical and strategic aspects to ensure success. Here are some rules to guide you through the process.

Avoiding Memory Leaks in PHP Loops: My Experience with dump()
When working with large systems, memory management is crucial. Recently, while developing in Spryker using Docker, I encountered a frustrating memory issue that taught me an important lesson about debugging.

Hidden Gems of Laravel: Lesser-Known Features to Boost Your Development
Laravel’s lesser-known features like route model binding with constraints, custom Blade directives, and job chaining help developers write cleaner, more efficient, and maintainable code.

19 Essential Laravel Performance Optimization Tips
In this article, we will explore 19 tips that can significantly enhance the performance of your Laravel application. Below are detailed explanations of each tip.

Understanding Self-Relationships in Laravel Models
In this post, we’ll explore the concept, real-world applications, and how to implement self-relationships in Laravel with practical code examples.

Jobs

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

Understanding Self-Relationships in Laravel Models: A Simple Guide
In Laravel, relationships between models are essential for organizing and working with connected data. Usually, we define relationships between different models, such as between a User model and a Post model (e.g., a user can have many posts).

Building a Pawn to Python Compiler in PHP
In this article, we'll explore an unconventional use of PHP: building a compiler that translates Pawn code to Python.

Laravel Image Handling using Storage Link
In this guide, I will walk you through the process of effectively saving and retrieving images in a Laravel full-stack application. This tutorial assumes you have an active and running Laravel project.

Getting Started with Laravel: A Beginner's Guide to Query Builder
We’ll walk through a typical use case in a Laravel application using Query Builder for various tasks like selecting, inserting, updating, and deleting data.

Message System in PHP with Source Code
In this article, we will teach you on How To Make Private Message System in PHP, this System has good interface design and connected into MySQL database as back end.

How to Get Your Laravel App from 0 to 9 with Larastan
When it comes to building robust and scalable applications in Laravel, code quality is crucial. However, maintaining high code standards as your project grows can be a challenge.

Anonymous Function
An anonymous function is a function that has no name. This function is often used to provide a callback or temporary function that can be defined directly in another context, such as when using another function.

Securing Your Laravel API: Hiding Sensitive Attributes from JSON Output
When building APIs with Laravel, it’s crucial to control what data is exposed to the client. Laravel’s Eloquent ORM provides an elegant way to hide sensitive attributes when converting models to arrays or JSON. Let’s explore how to implement this feature effectively.

PHP mbstring Refactoring: Modern Multibyte String Handling Techniques
In this tutorial, we’ll walk through how to replace deprecated mbstring functions with updated multibyte string handling techniques.

Building APIs with PHP: A Guide to REST and GraphQL
In this guide, we’ll explore how to build APIs with PHP, focusing on both REST and GraphQL.

News and Announcements

PhpStorm 2024.3 Early Access Program Is Now Open
We’re opening the Early Access Program (EAP) for the PhpStorm 2024.3 that will have native support of PHP 8.4. Join the program and try out some of the newest additions and improvements today!

Fetch PHP is a Lightweight HTTP Library Inspired by JavaScript's fetch()
Fetch PHP is a lightweight HTTP library inspired by JavaScript's fetch, bringing simplicity and flexibility to PHP HTTP requests. It uses the Guzzle client behind the scenes, offering synchronous and asynchronous requests with an easy-to-use API.

TemPHPest PHP Extension for VSCode
TemPHPest is an extension for Visual Studio Code to improve writing PHP in VS Code. Created by Liam Hammett, this package adds rich PHP features that will enhance the experience tremendously while writing PHP.

Symfony 7.1.5 released
Symfony 7.1.5 has just been released. Here is the list of the most important changes since 7.1.4.

A Week of Symfony #925 (16-22 September 2024)
This week, Symfony 5.4.44, 6.4.12 and 7.1.5 maintenance versions were released. In addition, the upcoming Symfony 7.2 version added new features like non-empty container parameters and a new silent verbosity level to suppress all output from console, including errors. Lastly, we published more talks for the SymfonyCon Vienna 2024 conference.

PHP Forum 2024, October 10 & 11, Disneyland Paris
Let's take advantage of our good knowledge of our host venue to push the event even further! With the opening of a 3rd track in parallel, the return of workshops, multiple actions to limit the impact on your budgets and the Sustainable Ambition Event Label: the PHP Forum 2024 pushes all the limits and continues to reinvent itself.

Podcasts and Vlogs

PHP Ugly: 398: Cats, Coffee, and PHP
This week on the podcast, Eric and John talk about ssh'ing for coffee, APIPlatform just made Laravel better, Tinkering in the browser, and more...

Laravel News Podcast: Chaperoned models, capital raises, and markdown blogging
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the Laravel community.

The Stack Overflow: Detecting errors in AI-generated code
Ben chats with Gias Uddin, an assistant professor at York University in Toronto, where he teaches software engineering, data science, and machine learning.

Software Engineering Radio: SE Radio 634: Jim Bugwadia on Kubernetes Policy as Code
Jim Bugwadia, CEO of Nimrata and a committer to the kyverno projects, joins host Robert Blumen for a discussion of policy-as-code and the open source kyverno project.

Developer Tea: Career Growth Comes From Finding Low Hanging Fruit in the Gaps
Your career growth will be directly correlated to your ability to solve critical unsolved problems in the gaps of your organization's problems.

Shoptalk Show: Fabian Kägy on WordPress, Blocks, and Enterprise Dev
Fabian Kägy helps us understand the modern WordPress development process, Gutenberg vs Block editor vs full site editing, building with blocks or pages, what's coming in the Twenty Twenty-Five Theme, and whether the theme authoring process has been made too difficult in 2024?

WP Builds: 390 – Transforming conversion tracking in WordPress with Conversion Bridge
Today, we’re with seasoned WordPress developer Derek Ashauer discussing his new product, Conversion Bridge, designed to enhance conversion tracking on WordPress sites.

Frontmatter Podcast: Eric Elliott, Author of The Art of Effortless Programming: Unleashing the Power of AI Driven Development
In this interview, Leanpub co-founder Len Epp talks with Eric about his early fascination with AI, starting from when he was six years old, writing text-based adventure games, and developing his first neural network in the late 90s.

Mostly Technical: 51: Launching Flux (Live) with Caleb Porzio
Ian and Aaron are joined this week by Caleb Porzio (friend of the show) on our very first live stream in honor of Flux, which Caleb literally launches live on the podcast. Plus everything from password hygiene to cloud exits to hiring people to, of course, all the ups & downs of launching a product like Flux.

Over Engineered: Side Projects w/ Joe Tannenbaum
Joe Tannenbaum is thinking about starting a podcast about side projects. So we took an afternoon to talk through what that might look like.

Syntax: Syntax Assistant Desktop App
Scott and Wes discuss a Hack Week project where they built a desktop app to automate the Syntax podcast publishing workflow using Svelte, Rust and other technologies.

The Changelog: Imagine Fly.io on your own VPS
Mahmoud Mousa releases Sidekick, a tool for hosting side projects on a cheap VPS, Ryan Dahl, has had enough of Oracle bogarting “JavaScript” but not even using it, Thomas Rampelberg’s kty is a sweet terminal for Kubernetes, Redis users are considering alternatives after their relicense & a bunch of smart JS folks wrote up nine Node.js pillars.

Reading and Viewing

Improve Laravel development efficiency: 5 little-known Artisan commands
This article explores five such commands and how they can optimize your workflow.

Understanding Mock Objects in PHPUnit Testing
In this article, we’ll explore what mock objects are, why they are useful, and how to use them effectively in PHPUnit.

An easy way to validate DTOs using Symfony attributes
DTOs are simple objects that encapsulate data attributes without containing any business logic. They are often used to aggregate data from multiple sources into a single object, making it easier to manage and transmit.

Event-Driven Architectures with PHP: Exploring Event Sourcing and CQRS Applications
Event-driven architectures have gained much importance in the last few years due to their capability of handling complexity and dynamic systems effectively.

PHP’s Revival: Against All Odds, It’s Thriving
It’s not quite a mystery PHP is, besides JavaScript the most popular programming language for the web. It started as an easy way to build scripts to run backend and render frontend code when there was no tools to do it easily and offered quite a wide API.

SignatureCheckListener With Symfony’s As EventListener Attribute
Today, we’ll define an event listener in our Symfony application. Additionally, we’ll inject our service directly, eliminating the need to configure it in services.yaml.

Interesting Projects, Tools and Libraries

helsingborg-stad/component-library
A library of components for use in WordPress.

msp/module-notifier-event-api
Event based rule engine for MSP Notifier API.

smadeira/ministry-platform-api
PHP API wrapper for the Ministry Platform REST API.

binary-cats/coordinator
Schedule and manage resource booking (appointments) in your Laravel app.

mvaliolahi/smart-hash
Laravel Smart Hash Model id and request.

reposys/laravel-pdf
Generate PDFs in Laravel with this mPDF wrapper.

mygento/minify
Magento JS/CSS Minification Module.

mongodb/symfony-bundle
Bundle to integrate mongodb/mongodb into Symfony.

salesrender/plugin-core-macros
SalesRender plugin macros core.

php-composter/php-composter-phpcs-psr2
PHP Composter PHP Code Sniffer PSR-2 (pre-commit).

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect 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?

Like us on FacebookFollow us on Twitter
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 | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com