PHP Weekly - PHPWeekly July 18th 2024

Curated news all about PHP.  Here's the latest edition Is this email not displaying correctly?
View it in your browser.
PHP Weekly 18th July 2024

Hi everyone,

If you don't feel like reading this week, but still want to catch up on the latest PHP news, why not head on over to the Podcast section and listen in on the different topics they have on offer? This week we have new episodes from North meets South where they discuss feature flags. There's also a new episode from The PHP roundtable where the panel discusses the adoption and the current state of PHP in the industry. If AI and investing is your thing, the Frontmatter team has author Leo Tam and they chat about the deep applications of AI in investing. In Tutorials we have guides in mastering middleware, Query scopes in Laravel, and how to build an API with Laravel Breeze in Laravel 11. Finally in our Reading section we have an article on why OOP can be helpful as well as some useful Filament snippets for everyday use. 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 articles@phpweekly.com.

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


Streamline Your String Manipulations with Str::ucfirst() in Laravel
Manipulating strings is a common task in web development, and sometimes you need to ensure that the first character of a string is capitalized.

Careful of orWhere() query condition
Understanding the orWhere Clause in Laravel and Why Caution is Crucial.

PHP Cheat Sheet Covering Essential Syntax And Functions
Here's a comprehensive PHP cheat sheet covering essential syntax and functions.

Practial Domain Driven Design
Theory can lead to experience by practice. However theory without practice will not give us real understanding of how things are done.

8 Security Best Practices in Laravel
Many new developers question whether Laravel is secure or not. Laravel offers various security features, but the framework itself is neither inherently secure nor insecure.

Mistakes to Avoid While Deploying Symfony App
Updating your app in production, especially on a Friday, can feel like a nightmare. If you don’t want to ruin your weekend, here are the most common mistakes to avoid.

PHP Heredoc Formatting Pitfalls
PHP’s heredoc syntax, while powerful for handling multi-line strings, comes with a crucial formatting requirement that can cause unexpected issues for developers.

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


How to Migrate MySQL from DBngin to Laravel Herd
Ever since Laravel Herd Pro was launched with the ability to manage database and cache services like MySQL, Postgres, and Redis, I've been wanting to switch from DBngin to Herd's MySQL and Redis.

Learn to master Query Scopes in Laravel
When building your Laravel applications, you'll likely have to write queries that have constraints which are used in multiple places throughout your application.

Using whereAny() for cleaner queries in Eloquent
In this episode of the Quick Win Wednesday series, we're taking a look at whereAny(), which was released with Laravel 10.47. A very elegant way of grabbing data based on a conditional "any of the following columns".

Mastering Middleware in Laravel: An In-Depth Guide
As I navigated the labyrinth of web development, one feature consistently illuminated my path: Laravel's middleware system.

Using Helper Functions to Convert Markdown to HTML in Laravel 11
In this tutorial, we'll create a helper function in a Laravel application to convert Markdown content to HTML using the league/commonmark library.

How to Build an API with Laravel Breeze in Laravel 11
A step-by-step guide on building a simple API with authentication using Laravel Breeze in Laravel 11.

How to Configure Mailgun for Laravel: 5 Easy Methods
Discover 5 efficient ways to set up Mailgun for sending emails in your Laravel project. Boost your app’s email capabilities with our step-by-step guide.

Deploy your Symfony app on GCP Cloud Run
In this article I want to show you a way to deploy a Symfony app on Google Cloud’s Cloud Run.

News and Announcements


PHP 8.4 Alpha 1 is now out!
The first release of PHP 8.4 is now available and ready for testing! PHP 8.4 is scheduled to be officially released on November 21, 2024. Before the release, it will feature six months of pre-release phases, going from Alphas to Betas to Release Candidates to the official release.

Generics Added to Eloquent Builder in Laravel 11.15
The Laravel team released v11.15 this week, which includes improvements to the make:mail command, support for setting mime types on attachments with Resend, database migration updates, and more.

A Week of Symfony #915 (8-14 July 2024)
This week, Symfony continued tweaking and polishing the new features of the upcoming Symfony 7.2 version, such as the new WordCount constraint. In addition, we announced the date and the first details of the SymfonyLive Berlin 2025 conference.

CakeFest 2024: The Official CakePHP Conference
Our annual conference dedicated to CakePHP. One full workshop day (plus one hybrid day) that is an ideal way to learn as both beginners and advanced users, followed by a full day of presentations, discussions and talks on CakePHP related technologies.

SymfonyLive Berlin 2025: Save the date!
The next SymfonyLive Berlin 2025 will take place on April 3 - 4! Enjoy now the early bird registration ticket & the call for papers.

Podcasts and Vlogs


PHP Ugly: 389: Yo PHP Raps!
This week on PHPUgly, join Eric and John as they delve into the tech world’s latest trends and challenges. They discuss the a shift from Laravel to Rails, analyze the implications of the recent Twilio security breach, and compare the functionalities of Hotwire and Livewire.

The Stack Overflow: The framework helping devs build LLM apps
Ben and Eira talk with LlamaIndex CEO and cofounder Jerry Lu, along with venture capitalist Jerry Chen, about how the company is making it easier for developers to build LLM apps.

North Meets South Podcast: The one with feature flags
In this episode, Jake and Michael discuss feature flags, particularly the freshly-released before hook, and the perils of incorrect eager loading as your application scales.

Maintainable Podcast: James Socol: Building Social Capital in Engineering Teams
In this episode of the Maintainable Software Podcast, Robby Russell sits down with James Socol, a Staff Engineer at Fastly, to discuss the art of maintaining legacy code and the nuances of technical debt versus technical depreciation.

Software Engineering Radio: SE Radio 624: Marcelo Trylesinski on FastAPI
Marcelo Trylesinski, a senior software engineer at Pydantic and a maintainer of open-source Python tools including Starlette and Uvicorn, joins host Gregory M. Kapfhammer to talk about FastAPI.

Shoptalk Show: Blogging, In App Browsers are Bad, and Teaching CSS from Scratch
On this epsiode we're talking about the current state of blogging and social media, the polyfill hack, whether in app browsers should be banned, web components and the difficulty of front end web dev, and how we would go about teaching CSS from scratch in 2024.

WP Builds: 380 – Exploring Siren Affiliates with Alex Standiford: redefining affiliate marketing strategies
On the podcast today, we have Alex Standiford talking about his innovative approach to affiliate programs through his new plugin, Siren Affiliates, which is unlike any other affiliates system you’ve used.

The PHP Roundtable: 091: PHPRoundtable July 2024
In this episode on PHPRoundtable, the panel discusses the adoption and current state of PHP in the industry. We also share out thoughts on what we feel could be some potential improvements for the development experience.

Frontmatter Podcast: Leo Tam, Author of Truth Engine: Applying AI to Investing
Leo Tam is the author of Truth Engine: Applying AI to Investing. In this interview, Leanpub co-founder Len Epp talks with Leo about his background and career, his academic research and his time working at NVIDA, the deep applications of AI in investing, and about his writing process.

Mostly Technical: Idea About Ideas
Ian and Aaron talk about Ian's new idea that's got him frazzled and on tilt, Aaron's sales milestone, the game Factorio, and a lot more.

Syntax: Hosting Private Fonts on the Edge With Cloudflare
Discussion on building a custom font hosting server to securely serve licensed fonts only to allowed origins using Cloudflare Workers, Pages and KV store.

The Changelog: The six dumbest ideas in computer security
Marcus J. Ranum’s 2005 post on dumb ideas in computer security still holds up, Barry Jones argues why story points are useless, Posting is an HTTP client as a TUI, Varnish ceator Poul-Henning Kamp (phk) reflects on ten years of working on the HTTP cache & es-tookit is a major upgrade to Lodash.

Reading and Viewing


Say Goodbye to Friday Bugs: Making isset() Work for You!
It’s Friday, and yet another bug has surfaced… My excitement for the upcoming weekend quickly fades as I realize I need to fix it by today.

Why OOP is Your Old New Best Friend: The Date Distance Problem
Calculating the distance between two dates is relatively straightforward. There are multiple ways. Think about it for a moment... If you like functional programming, your first thought might look like this.

PHP MDCLogger: Enhance Your PHP Logging with Mapped Diagnostic Context
This post will guide you through what MDC is, how MDCLogger works, and how you can seamlessly integrate it into your PHP applications, whether you’re using Symfony, Laravel, or any other framework.

Top 10 PHP Project Ideas to Elevate Your Portfolio in 2025
In this article, I’m going to talk about 10 different PHP project ideas that can take your portfolio to the next level.

Filament Snippets For Everyday Use
I want to share some useful code snippets for Filament’s everyday use!

Interesting Projects, Tools and Libraries


dxw/php-missing
The stdlib you wish PHP had.

efficiently/authority-controller
AuthorityController is an PHP authorization library for Laravel 5 which restricts what resources a given user is allowed to access.

aura/sqlquery
Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

lipemat/wp-phpcs
PHP Codesniffer for a WordPress plugin.

slevomat/coding-standard
Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

amphp/byte-stream
A stream abstraction to make working with non-blocking I/O simple.

robrichards/xmlseclibs
A PHP library for XML Security.

nikic/fast-route
Fast request router for PHP.

consolidation/self-update
Provides a self:update command for Symfony Console applications.

codeception/module-asserts
Codeception module containing various assertions.

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.



Sponsor this newsletters

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  
 

Protect your PHP code with SourceGuardian 15. Free trial.

Copyright © 2024 PHP Weekly, All rights reserved.
Because you signed for it!
Our mailing address is:
PHP Weekly
Rotterdam House
116 Quayside
Newcastle Upon Tyne, NE1 3DY
United Kingdom
 

 

Older messages

PHPWeekly July 11th 2024

Thursday, July 11, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 11th July 2024 Hi everyone, Halfway through the year and also

PHPWeekly July 4th 2024

Thursday, July 4, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 4th July 2024 Hi everyone, This week's newsletter contains

PHPWeekly June 27th 2024

Thursday, June 27, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 27th June 2024 Hi everyone, we have a long list of podcast episodes

PHPWeekly June 20th 2024

Thursday, June 20, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 20th June 2024 Hi everyone, If you want to know the latest news and

PHPWeekly June 13th 2024

Thursday, June 13, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 13th June 2024 Hi everyone, New updates are dropping this week.

You Might Also Like

Daily Coding Problem: Problem #1648 [Medium]

Wednesday, December 25, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Quora. Given an absolute pathname that may have . or .. as part of it, return the

🎮 The Best Games to Go With Your New Console — Streaming Services Could Learn From YouTube

Wednesday, December 25, 2024

Also: Don't Throw Christmas Gift Boxes on the Curb, and More! How-To Geek Logo December 25, 2024 Did You Know Years before The Nightmare Before Christmas, Tim Burton was sprinkling references to

Charted | Global Economic Confidence in 2025, by Country 🌎

Wednesday, December 25, 2024

While emerging markets in Asia have the strongest confidence in the global economy looking ahead, European countries are most pessimistic. View Online | Subscribe | Download Our App FEATURED STORY

Top Tech Deals 🎅 Sony Headphones, iPhone Cases, 4K Projector, and More!

Wednesday, December 25, 2024

The season of giving is upon us. How-To Geek Logo December 25, 2024 Top Tech Deals: Sony Headphones, iPhone Cases, 4K Projector, and More! The season of giving is upon us. Happy Holidays! If you're

Why the Race to AGI is Humanitys Defining Moment

Wednesday, December 25, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 25, 2024? The

Iran's Charming Kitten Deploys BellaCPP: A New C++ Variant of BellaCiao Malware

Wednesday, December 25, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Software Testing Weekly - Issue 251

Wednesday, December 25, 2024

GitHub Copilot is free! 🤖 View on the Web Archives ISSUE 251 December 25th 2024 COMMENT Welcome to the 251st issue! In case you missed it — GitHub Copilot is free! The free version works with Visual

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a