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!

February 22, 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 [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

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.

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