PHP Weekly - PHPWeekly October 17th 2024

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

Hi everyone,

News, updates and articles on the PHP community collated weekly and straight into your inbox. 
The second release candidate of PHP 8.4 dropped this week and is now available for testing. 
If you haven't caught up with the new features that will be included with PHP 8.4 feel free to browse through our newsletter archive here. In Podcasts this week we have new episodes from No Compromises and the hosts chat about a balanced approach to static analysis in Laravel apps. We also have Dynamic images, Livewire slots, and API-based file uploads as topics on the North Meets South podcast. Finally in our Tutorial section we have guides for Using Twig for rendering Markdown with PHP, Automating Laravel Translation Extraction with a Custom Artisan Command, and generating a resource from existing DB Schema.  We have all that and more, so we 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. We would like to give a shoutout to our sponsors and their continued support. Do check out their links 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 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


Understanding the Difference Between pluck() and select() in Laravel 11
In this article, we’ll explore the differences between these two methods, explain when to use each, and provide practical coding examples to demonstrate their usage in Laravel 11.

Common PHP Errors: Solutions to Frequently Encountered Issues
While some errors are simple and easy to fix, others may be a little more complex. This article covers some of the most common PHP errors and offers solutions to help you resolve them quickly.

Streamlining Laravel Middleware: Mastering Middleware Groups
In this post, we’ll explore how to leverage middleware groups to keep your route definitions clean and your application structure organized.

A real-world example on using sub-queries in Laravel to optimize performance
A subquery, often known as a nested query or sub-SELECT, is a SQL query that resides within another query. This nested structure allows for a dynamic and versatile approach to querying data, where the result of the inner query is used as a part of the outer query’s condition or calculation.

Doctrine Migrations vs. Schema Update: The Right Choice for Production
In this post, I’ll explain why using Doctrine Migrations is the better approach, particularly in production environments.

Tutorials and Talks


Creating a CRUD Application with PHP, MySQL, and Lithe
This step-by-step guide will teach you how to build a CRUD application using PHP, MySQL, and the Lithe framework. We will cover everything from setting up the database to implementing controllers to manage CRUD operations.

Automating Laravel Translation Extraction with a Custom Artisan Command
In this blog post, I will walk you through creating a custom Artisan command that scans your Laravel codebase, extracts all text used within the __() helper, and outputs the translations to a locale-specific JSON file.

Using Twig for rendering Markdown with PHP
Twig’s flexibility extends beyond generating just HTML pages. It can be a powerful tool for delivering content across multiple channels, such as generating Markdown files, JSON outputs, and even plain text, all from the same set of content.

Laravel + React project with Authentication & User Panel in less than a minute
In this guide, I'll show you how to quickly set up a new Laravel project with a React frontend and built-in authentication, all using Laravel Breeze. We'll have a functional user panel with profile editing in just a few steps.

Filament: Generate Resource from Existing DB Schema
In Filament, you can generate a Filament Resource with the make:filament-resource Artisan command. This command will generate an empty resource, that you can configure it as you like.

How to enable/disable PHP native functions – php.ini Tutorial
In this article I want to give you the step by step procedure to enable or disable php native functions editing the “disable_functions” directive in the php.ini file.

Unraveling Laravel’s Request Host Methods: A Comprehensive Guide
In this post, we’ll explore the host(), httpHost(), and schemeAndHttpHost() methods, their differences, and when to use each one.

Live Chat System in PHP with Free Source Code
The Live Chat system in PHP is an interactive tool. It can quickly narrow your choices and contact multiple vendors, customers, etc. Also, it can give your business a significant impact on user experience.

How to Efficiently Manage PHP Dependencies with Composer
In this comprehensive guide, we’ll cover everything you need to know about Composer, from basic setup to advanced usage for dependency management.

News and Announcements


PHP 8.4.0 RC2 available for testing
The PHP team is pleased to announce the release of PHP 8.4.0, RC2. This is the second release candidate, continuing the PHP 8.4 release cycle, the rough outline of which is specified in the PHP Wiki.

CakeFest 2024 videos are up on our YouTube Channel!
Which presentation are you ready to replay first?

The Inertia.js v2 Beta is Here
The first beta version of Inertia.js v2 was released this week. The core library has been rewritten to support asynchronous requests; unlocking some impressive features, you can now get your hands on!

A Week of Symfony #928 (7-13 October 2024)
This week, development activity focused on Symfony 7.2, as tweaks and features continue to be merged ahead of its release at the end of November 2024. Additionally, we published the first post in the new in Symfony 7.2 series. Lastly, we shared more details about some of the talks from the SymfonyCon Vienna 2024 conference.

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: What launching rockets taught this CTO about hardware observability
Austin Spiegel, CTO and co-founder of Sift, tells Ben and Ryan about his journey from studying film to working at SpaceX to founding Sift. Austin shares his perspective on software development in high-stakes environments, the challenges of hardware observability, and why paranoia is valuable in safety-critical engineering.

No Compromises Podcast: A balanced approach to static analysis in Laravel apps
In today's episode, we talk about how we approach the tradeoffs around making a tool happy without changing how you write code.

North Meets South Podcast: Dynamic images, Livewire slots, and API-based file uploads
In this episode, Jake and Michael discuss (clever?) ways to generate dynamic images for OpenGraph purposes, how a missing slot variable sent Michael mad, Jake's adventures with API-based file uploads, and some more details about Laracon AU.

Maintainable Podcast: Kate Holterhoff: From Front-End Engineering to Developer Advocacy
Robby sits down with Kate Holterhoff, Ph.D., a Senior Analyst at RedMonk and former front-end engineer, to explore the intricate world of software maintenance, documentation, and the future of developer roles.

Software Engineering Radio: SE Radio 637: Steve Smith on Software Quality
Steve Smith, founder and principal architect at Nimble Pros, joins host Jeff Doolittle for a conversation about software quality.

Shoptalk Show: Approachable Open Source with Brian Muenzenmeyer
Brian Muenzenmeyer joins the show to talk about his book, Approachable Open Source, ways we can make open source easier to get in, important conversations around funding and supporting open source, and whether money helps maintainers deal with burnout or not?

WP Builds: 393 – Streamlining digital sales with Mindspun
Matt Laue, founder of Mindspun, discusses how his company aims to revolutionise digital purchases by enabling users to buy products online in seconds using seamless tools like digital wallets and fingerprint scans.

Frontmatter Podcast: Maciej "MJ" Jedrzejewski, Author of Master Software Architecture: A Pragmatic Guide
In this interview, Leanpub co-founder Len Epp talks with Maciej “MJ” Jedrzejewski, author of the Leanpub book Master Software Architecture: A Pragmatic Guide.

Mostly Technical: 54: Create A Spectacle
Ian and Aaron discuss everything from Aaron's dream for a Try Hard Factory to Ian being unimpressed with SpaceX rockets to the biggest question of all - what do you want to do with your life?

Syntax: AI Will Improve Your Web Development Workflow
How to effectively utilize AI tools like Copilot and Claude to improve workflows for web developers.

The Changelog: Working from home is powering productivity
Nicholas Bloom finds WFH is powering a productivity boom, Matt Mullenweg has decided that WP Engine’s beatings will continue until morale improves, Levels.fyi has added a salary heat map.

Reading and Viewing


Mastering Laravel, No Compromises, and SourceDive with Joel Clermont
In this conversation, Joel Clermont shares insights into his work within the Laravel ecosystem, including his educational initiatives through Mastering Laravel, the impact of daily tips, and the community he has built. He discusses his unique consulting model with No Compromises, emphasizing a flat fee structure that simplifies client relationships.

PHP Libraries for PDF Handling: Evaluation and Use Case Guide
In this article, we will evaluate the most popular PHP libraries for PDF handling, breaking down their pros and cons, and advising when each library is best suited for specific use cases.

Clean Code — Writing Readable and Maintainable Code
Clean Code is a highly regarded book by Robert C. Martin focused on the principles and practices of writing cleaner, more maintainable code. The book emphasizes how small changes in coding habits can lead to better readability, easier maintenance, and fewer bugs.

Laravel Route Names: How to Check If You’re in the Right Place
Ever needed to know if you’re on a specific route in your Laravel app? The named method is your new best friend! Let's dive into how this nifty little feature can make your route handling smoother.

The Role of PHP in Modern Content Management Systems
Let’s explore the key role PHP plays in modern content management systems and why businesses rely on it for creating effective, flexible, and scalable websites.

Interesting Projects, Tools and Libraries


ayaseensd/ip-checker
A Laravel package to check IP access using cURL.

somnambulist/form-request-bundle
Adds Laravel like form requests for Symfony; based on adamsafr/form-request-bundle.

hbsolutions/jwt-auth
Service for JWT authentication.

intercom/intercom-php
Intercom API client built on top of HTTPlug.

limewell/laravel-remove-public-url
remove public from laravel project and run project in root directory.

powerkernel/yii2-skeleton
Yii 2 Skeleton Project Template.

quizpalme/camaliga
A carousel/gallery/map/list extension that can use the TYPO3 categories and different jQuery-plugins like Slick or Isotope. Bootstrap 5 support. Indexer for ke_search.

rootinc/laravel-db-url
Translates a database URL into Laravel database driver values.

clevel/laravel-tags-mongodb
Add tags and taggable behaviour to your Laravel app For MongoDB.

4yousee/adyen-lib-with-mock
A PHP client library for accessing Adyen APIs with mock for integration test.

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 articles@phpweekly.com

Please help us by clicking to our sponsor:

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



Sponsor this newsletter

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 October 3rd 2024

Thursday, October 3, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 3rd October 2024 Hi everyone, It's our first newsletter for the

PHPWeekly September 26th 2024

Friday, September 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 September 2024 Hi everyone, Summer is officially over and we

PHPWeekly September 19th 2024

Friday, September 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 September 2024 Hi everyone, We hope you're all doing well.

PHPWeekly September 12th 2024

Thursday, September 12, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 12th September 2024 Hi everyone, It's a great week for Laravel.

PHPWeekly September 5th 2024

Thursday, September 5, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 5th September 2024 Hi everyone, It's the first newsletter of

You Might Also Like

Webinar: Closing the access security gap

Thursday, November 7, 2024

Join us today ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Say Goodbye to Navigation Nightmares

Thursday, November 7, 2024

View in browser 🔖 Articles Organizing Navigation with the Decompose Library Explore a practical guide to organizing complex app navigation using the Decompose library and Jetpack Compose. Learn how

Did Notion Slide Leak? (+ New FREE Time Tracker Inside)

Thursday, November 7, 2024

1 free template, 1 feature leak, 2 Notion updates, just for you 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The most lovable Mac ever

Thursday, November 7, 2024

How ChatGPT replaces Google; Anker's new USB-C cables; Tech stocking stuffers -- ZDNET ZDNET Tech Today - US November 7, 2024 Mac Mini M4 Pro in hand The new M4 Mac Mini might be the most lovable

wpmail.me issue#692

Thursday, November 7, 2024

wpMail.me wpmail.me issue#692 - The weekly WordPress newsletter. No spam, no nonsense. - November 7, 2024 Is this email not displaying correctly? View it in your browser. News & Articles WordPress

⚙️ Interview: How to bake ethics into AI

Thursday, November 7, 2024

Plus: Is deep learning hitting a wall? ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 11/07/2024

Thursday, November 7, 2024

New blogs from Syncfusion Easily Create Dynamic Charts in Excel Using C# By Kurmitha Manickhaperumal This blog explains how to create and customize dynamic charts using C# in the Syncfusion .NET Excel

Top Tech 🏆 ASUS ROG Ally X Review — Finally, a Comfortable Pair of Over-The-Ear Open Earbuds

Thursday, November 7, 2024

Also: A Quality Speaker Half the Price of the Beats Pill, and More! How-To Geek Logo November 7, 2024 🎧 Play That Funky Music As we head into the holiday shopping season, you're likely looking for

Cisco Releases Patch for Critical URWB Vulnerability in Industrial Wireless Systems

Thursday, November 7, 2024

THN Daily Updates Newsletter cover [Watch LIVE] Storytime with Huntress Managed Security Awareness Training Tired of traditional security training? Supercharge your security culture with Huntress SAT.

Edge 446: Can AI Build AI Systems? Inside OpenAI's MLE-Bench

Thursday, November 7, 2024

A new benchmark that evaluates machine learning engineering workflows in LLMs ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏