PHP Weekly - PHPWeekly February 22nd 2024

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

Hi everyone,

Our Podcast section is stacked with all new episodes this week. Starting off with a question from Ovestacked: Would you trust and AI bot to find the fix for vulnerabilities in your code? Would it free up time for developers? Meanwhile over at No Compromises it's all about design patterns and their benefits. We also have new episodes from Framework Friends, Mostly Technical and Over Engineered, so if you'd like some informative background info while you work on your code, there's a topic on there that might interest you. Brent Roose continues his series on AI for PHP and this week he tackles tweaking AI prompts to improve PHP tests. Laravel news also curated a collection of essntial plugins for PHPStorm users both of them are in our Articles section this week. As far a new releases we have new updates for 8.2 and 8.3. Finally in tutorials we have a comprehensive guide for those getting started with PHP and understanding its basic concepts, as well as a guide to exception handling in PHP. 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


AI for PHP: How to Tweak AI Prompts to Improve PHP Tests
In our previous post, we looked at how JetBrains AI Assistant can automatically scaffold unit tests for us. By generating the boring boilerplate code, it allows us to jump straight into the more interesting part of making our tests.

Essential Plugins for PHPStorm Users
We've curated a collection of essential plugins for PhpStorm that we think you’ll enjoy. From our favorite theme to Laravel-specific tools to supercharge your PHP development and a free AI-powered autocomplete/chat plugin that feels like magic.

Fantastic functions and where to find them - Freek Van der Herten
Here's the recording of the keynote at this year's PHPUKConference.

Never use `empty` function in PHP
There are several ways to test that an array is empty in PHP, and the one I see most often is.

Laravel: A Comprehensive Guide to Service Container and Providers
Laravel service providers are the central place for all Laravel application bootstrapping. They bind services into the service container, and configure events, routes, and filters.

Symfony Multi-Tenant Applications with Ecotone
How multi-tenancy is implemented depends on the business domain we work in.

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


Efficient PHP Function for Counting Valid Time Formats with '?' Placeholder (Turing code challenge)
Have you ever wondered how to efficiently calculate scores in a baseball game using PHP? Look no further! In this post, we'll delve into a well-optimized PHP script that effectively processes a sequence of baseball game operations and delivers accurate results.

Building a PHP SDK for Replicate AI
Before we dive too deeply into the resources, let’s talk a little about what Replicate is so we know what our expectations are.

Enhancing Code Consistency with php-cs-fixer and Visual Studio Code
Maintaining consistent code style and adhering to coding standards is essential for ensuring readability, maintainability, and collaboration within PHP projects.

A guide to exception handling in PHP
In this article, you'll learn about exceptions, how you can make the most out of their usage, and how to improve your application with the information gathered from occurrences of them once in production.

Streamlining Laravel Development: A Guide to Laravel Pint and VS Code Integration
In this article, we'll explore how the combination of Laravel Pint and Visual Studio Code (VS Code) can significantly enhance your Laravel development workflow by automating code styling and improving code quality.

Discovering PHP Basics
A comprehensive guide to getting started with PHP & understanding essential concepts.

News and Announcements


CakeFest 2024 dates have been updated!
We will now be hosting our event at Technoport Lux (Luxembourg) July 24-26. Submit your talk, and get your tickets (very limited) at CakeFest.org

With Laravel 10.44 you can add Model Scopes and Observers using PHP Attributes
The Laravel team released v10.44 this week with two Eloquent model attributes to define global scopes and observers, a new select() collection method, and more.

PHP 8.2.16 Released!
The PHP development team announces the immediate availability of PHP 8.2.16. This is a bug fix release. All PHP 8.2 users are encouraged to upgrade to this version.

PHP 8.3.3 Released!
The PHP development team announces the immediate availability of PHP 8.3.3. This is a bug fix release. All PHP 8.3 users are encouraged to upgrade to this version.

A Week of Symfony #894 (12-18 February 2024)
This week, development activity focused on fixing bugs, such as adding compatibility with the new yielding feature introduced in Twig 3.9. In addition, we published more details about the talks of the upcoming SymfonyLive Paris 2024 conference.

Laracon EU Amsterdam 2024
Join us for two fantastic days with some of the most iconic figures in the Laravel community, as well as networking opportunities.

Podcasts and Vlogs


PHP Ugly: 372: Raiders of the Arc
This week on the podcast, Eric and John talk about value objects, rector, the Arc browser, and more...

Laravel News Podcast: Radical design and Herd Reverb
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Would you trust an AI bot to find the fix for vulnerabilities in your code?
On this episode: Eitan Worcel, CEO and cofounder of Mobb, a company that uses AI to automate security vulnerability remediation, talks about how AI can help reduce security backlogs and free up developers’ time, what security risks emerge with GenAI, and why we still need a human in the loop.

No Compromises Podcast: What is the point of design patterns?
Do your eyes glaze over when someone mentions singletons or factories? We'll try to not to be boring as we explain the benefits of design patterns.Sign up for our free...

Maintainable Podcast: Chad Fowler - How Small Can We Make This Problem
Robby has a candid chat with Chad Fowler, the General Partner & CTO at BlueYard Capital. They delve into the nuances of software maintenance, the evolution and challenges of managing software projects, and insights from Chad's tenure as CTO of Wunderlist.

Software Engineering Radio: SE Radio 603: Rishi Singh on Using GenAI for Test Code Generation
Rishi Singh, founder and CEO at Sapient.ai, speaks with SE radio’s Kanchan Shringi about using generative AI to help developers automate test code generation.

Shoptalk Show: Deno, React Alternatives, and Copilot Concerns with Triple Threat Josh Collinsworth
Josh (or Jsoh) stops by to talk about his work at Deno, recent blog posts on Copilot, why Svelte is awesome and React is not, Apple and PWA, and building word games on the web.

WP Builds: 361 – No Script Show, Episode 4 – What is Intrinsic web design?
So we’re back with another ‘podcast hijack’, in which the WP Builds podcast is temporarily taken over by a new podcast that I’m doing with David Waumsley.

WP Briefing: Episode 73: Inside the Interactivity API
In the latest WordPress Briefing, Josepha Haden Chomphosy discusses the Interactivity API, a new foundational tool that helps developers create memorable interactive front-end experiences.

Laracast Snippet: Here's Why You Should Attend Laracon
Luke, here! I recently got the chance to attend and speak at Laracon EU 2024, and it was fantastic. The venue was awesome, the talks were amazing, but what really makes the event special are the conversations you have with like-minded developers.

Framework Friends: Video
Aaron and Andrew talk about recent experiments in video production including Aaron's upcoming MySQL for Developers course and Andrew's YouTube videos from The Rails SaaS Conference.

Mostly Technical: 23: Real Dad Stuff
Ian & Aaron discuss everything from cryotherapy to the ugliness of most B2B apps to Aaron's first time doing meditation and a lot more.

Over Engineered: Cache everything w/ Ian Landsman
As the saying goes: "There are only two hard things in Computer Science: cache invalidation and naming things."

Syntax: Stop going to Spam: DMARC, SPF and DKIM Explained
Discussion on properly setting up DMARC, SPF and DKIM to ensure your transactional and marketing emails reach the inbox rather than spam.

The Changelog: Quantum computing gets a reality check
Ship It is back! IEEE Spectrum writes about quantum computing’s reality check, Maxim Dounin announces freenginx, Nadia Asparouhova goes deep on AI & the “effective accelerationism” movement.

Reading and Viewing


Easy management of your application settings with Setting Pro
Laravel Setting Pro is a package that provides a simple and effective way to handle your application settings with support for persistent storage using either file-based or database drivers.

The Framework That Gets Out Of Your Way
If you haven't heard of that framework before — it's called Tempest — you could check out me building the foundations of it during several livestreams.

Interface Segregation Principle (ISP) By Using PHP : SOLID Principle
Today’s topic? The Interface Segregation Principle (ISP). Don’t let the fancy name scare you off — I promise to make it as fun and easy to understand as playing your favorite video game!

Mastering Laravel Accessors and Mutators: Elevating Data Interaction
This article dives deeper into these concepts, offering nuanced insights and advanced examples to enrich your Laravel applications.

Class Type Declaration in PHP
Today we are going to be discussing Class type declaration in PHP.

Interesting Projects, Tools and Libraries


visualbuilder/ai-translate
Translate localisation files with AI.

think.studio/nova-text-card
Laravel nova text card.

claroline/lightsaml-bridge
Light SAML Symfony bridge bundle.

aaron-lin/json-schema-sql-builder
A PHP library to build SQL query from JSON Schema.

ehsanhasani/elasticsearch
Laravel, Lumen and Native php elasticseach query builder to build complex queries using an elegant syntax.

gino-pane/nano-rest
Minimalistic and self-contained cURL HTTP REST client for PHP.

aviator/eloquent-search-map
An Eloquent search macro for effortlessly searching models.

mapkyca/php-ogp
Simple PHP Open Graph Protocol parser library.

littlegiant/silverstripe-seo-editor-fluent
SEO Editor Administration for SilverStripe using Fluent.

bitbull/satispay
Magento module for Satispay Payment integration.

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 14. 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 February 15th 2024

Monday, February 19, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 15th February 2024 Hi everyone, We've added three podcasts on

PHPWeekly February 8th 2024

Thursday, February 8, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 8th February 2024 Hi everyone, Are you looking for a new podcast to

PHPWeekly February 1st 2024

Thursday, February 1, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 1st February 2024 Hi everyone, It's the first day of the month

PHPWeekly January 25th 2024

Thursday, January 25, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 25th January 2024 Hi everyone, New week, new edition of PHPWeekly.

PHPWeekly January 18th 2024

Thursday, January 18, 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 January 2024 Hi everyone, Some people are resistant to change

You Might Also Like

📧 Building Async APIs in ASP.NET Core - The Right Way

Saturday, November 23, 2024

​ Building Async APIs in ASP .NET Core - The Right Way Read on: m​y website / Read time: 5 minutes The .NET Weekly is brought to you by: Even the smartest AI in the world won't save you from a

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon