PHP Weekly - PHPWeekly August 1st 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 August 2024

Hi everyone,

It's the first newsletter for August and it is packed with news, updates and resources on everything PHP. We have tutorials on Bundling Symfony UX twig components, a comprehensive guide to understanding API platform with Symfony 6 and why you need slugs with an ID fallback in Laravel. In Podcasts we have new episodes from North meets South on topics like Laracon AU and the implications of not knowing maths as a programmer. Developer Tea talks about building your confidence without being disingenuous, while the Laravel Podcast talks about Laracon US, Nova/Filament tips and listener Q&A. Finally in our Reading section we have articles on commenting in PHP programming language, a comprehansive guide on implementing multi-tenacity in Laravel, and enhancing PHP applications with custom attributes. 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


Your Laravel application with Repository doesn't make any sense
I’ve seen over the years many developers using the Repository pattern with Laravel, attempting to apply clean architecture concepts to their applications, but often misunderstanding the general concept of using a framework like Laravel.

Task Scheduling in Laravel: Understand the Power of Cron Jobs
In today's blog post, we will see how task scheduling will work in laravel. In the world of web applications, we often need to execute some tasks at specific intervals or times.

Explore the Advantages of Data Transfer Objects (DTOs) and How PHP 8.2 Readonly Classes Can Elevate Your Laravel Code
This post will delve into the advantages of using DTOs, particularly in a Laravel application, and show how PHP 8.2 readonly classes can further enhance their benefits.

Laravel 11 Caching Mastery: From Basics to Advanced Techniques
Unlock the power of Laravel 11 caching with our comprehensive guide. Learn real-life use cases, advanced techniques, and best practices to supercharge your application’s performance.

How to Improve Development Efficiency with PHP 8
In this article, we will explore how PHP 8 promotes development efficiency through various features and language enhancements.

Laravel Tip: whereHas or whereRelation?
Welcome to my Laravel tips and tricks. We are going to learn about eloquent usage and its limitation with strength.

Laravel Observers: What the Docs Do Not Tell You
The definition is not new for someone who has read the official docs, and Laravel documentation is pretty complete in general and full of near-to-real-world-use-cases examples for its features, but that’s not the case for Observer classes; they’re not so “observable” as you’ll see.

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


PHP crash course: Simple Guestbook
Here's a detailed guide to creating a guestbook application where visitors can leave messages. The implementation will use PHP, AJAX, CSS, and MySQL.

Deploy Laravel Projects to Namecheap Server on Github Push with 3 Easy Steps
Since these projects may get updates regularly and I definately do not want to always re-upload to my Namecheap Server every single time I make a change, I found a way to make Laravel Deployment to Namecheap work as seamlessly as VueJs to Vercel.

2392. Build a Matrix With Conditions
You are given a positive integer k. You are also given.

Slugs with an ID fallback in Laravel
Slugs make a URL look legit. No one wants to click on a link that reads like https://mysite.com/blog/1. I'd definitely get hacked if I clicked that. But what if it read https://mysite.com/blog/1/some-awesome-content. Now that looks trustworthy. I'm definitely gonna see some awesome content if I click that link.

Bundling Your Symfony UX Twig Components
In this article, I will give a brief introduction and then quickly jump to today's main topic: How to bundle Twig Components for reuse in your applications.

Setting Up a Development Environment Using Laravel Sail (Docker)
In this post, I’ll show you how to set up the environment with Laravel Sail without having to install the environment locally.

Enhance your app’s performance with cache()->rememberForever() in Laravel
This method enables you to cache critical data indefinitely, ensuring that your application can retrieve it quickly without repeatedly querying the database.

A Comprehensive Guide to Understanding and Integrating API Platform with Symfony 6
A solid, resilient API is one of the basic building blocks for a project. In this guide, we’ll show you how to set up a fully functional REST API with Symfony and API Platform.

Building a Custom PHP-Based SEO Dashboard for WordPress
Creating a custom SEO dashboard within WordPress can help monitor key metrics, optimize content, and improve your site’s visibility in search engines. Here’s how you can build one using PHP.

News and Announcements


Symfony 7.1.3 released
Symfony 7.1.3 has just been released. Here is the list of the most important changes since 7.1.2.

Take the Annual State of Laravel 2024 Survey
The annual State of Laravel survey is open for 2024, and you can participate to help identify trends in how the ecosystem has changed over the last twelve months.

Laravel Advanced String Package
Welcome to the first episode of a new "Creator Spotlight" video series where we interview Laravel developers about the things they are creating.

A Week of Symfony #917 (22-28 July 2024)
This week, Symfony released maintenance versions 5.4.42, 6.4.10, 7.0.10 and 7.1.3. Meanwhile, the upcoming Symfony 7.2 version added a new polyfill for expectUserDeprecationMessage() method to add compatibility with PHPUnit 11 and improved the authenticators information in the security profiler panel.

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: 391: PHPUgly Certified
This week on the podcast, Eric and John talk about Cloudstrike, Open Source Alternative to Notion, Built with Laravel, Laravel CMS Solutions, Data Compromised, and more...

The Stack Overflow: On the web, data doesn’t define us. It creates us.
In this episode, Ben interviews Jannis Kallinikos, a professor at Luiss University in Rome, Italy about his new book Data Rules: Reinventing the Market Economy, coauthored with Cristina Alaimo.

North Meets South Podcast: The one with bubbly water
In this episode, Jake and Michael discuss the line between soda and bubbly water, Laracon AU, two-way SMS conversations, and the implications of not knowing maths as a programmer.

Maintainable Podcast: Julia Ferraioli - Capturing Untold Open Source Stories
Welcome to the Maintainable Software Podcast! In this episode, Robby speaks with Julia Ferraioli, an Open Source AI/ML Strategist at AWS and co-founder of Open Source Stories. Julia joins us from Seattle, Washington, and shares her insights into the world of open source, AI, and software maintainability.

Software Engineering Radio: SE Radio 626: Ipek Ozkaya on Gen AI for Software Architecture
Ipek Ozkaya, Principal Researcher and Technical Director of the Engineering Intelligent Software Systems group at the Software Engineering Institute, Carnegie Mellon, discusses generative AI for Software Architecture with SE Radio host Priyanka Raghavan.

Developer Tea: Portraying Confidence in the Face of the Unknown
In today's episode we discuss how you might build your confidence without being disingenuous. This isn't a lesson in psychology or tricks - it's about building true confidence in what you do (and importantly, don't) know.

Shoptalk Show: 626: We Were Wrong and Keep Getting in Trouble
Chris has some follow up on blog posts and past podcast episodes to respond to including browsers and browser engines, advertising on the web, magazines, Cara, peak AI slop, and view transitions.

WP Builds: 382 – Alex Moss Talks Yoast, entrepreneurship, and SEO trends
In WP Builds Podcast episode #382, Alex Moss discusses his multifaceted career from a self-taught PHP developer in 2011 to Principal SEO at Yoast. The conversation spans his co-founding of an agency, involvement in the NFT market, and views on emerging digital trends.

Laravel Podcast: Countdown to Laracon US, Meetup Tips, Nova/Filament Insights, and Listener Q&A
After a short break, we're back and the countdown to Laracon US is on! Join us as we discuss the upcoming Laracon US and the journey from local meetups to bigger Laravel events.

Mostly Technical: 46: Aaron Francis, Inc.
Ian and Aaron check in about everything from tacos in NY to Twitter vs. Threads plus how Aaron found his next Linda, Aaron's new video series, & more.

Syntax: 6 New JavaScript Proposals
Scott and Wes discuss 6 upcoming JavaScript proposals that are making their way into the language spec.

The Changelog: The Swiss government goes open source
The Switzerland federal government requires releasing its software as open source, Google decides not to deprecate third-party cookies, Mark Zuckerberg says “open source” AI is the path forward, GitHub allows anyone access to deleted / private repository data & Tailscale wants to build a New Internet.

Reading and Viewing


Mastering Laravel : From Fundamentals to Advanced Web Development
This resource is highly recommended for staying updated with the latest Laravel features and best practices.

Getting Started with Laravel: A Beginner’s Guide to PHP Frameworks
This guide will help you get started with Laravel and set you on the path to building powerful web applications.

Laravel 11 Eloquent Model Search Query Example
Hello, laravel web developers! In this article, we’ll see the laravel 11 eloquent model search query.

Commenting in PHP Programming Language
Commenting is one of the essential skills for any programmer. Comments help programmers document their code, make it easier for others (and themselves in the future) to understand the code, and prevent mistakes.

Streamlining Laravel Notifications with Microsoft Teams Workflow Integration
One such feature is the ability to integrate external applications and services via webhooks. This integration allows you to send notifications, alerts, and other messages directly to a Teams channel, helping you stay informed about important events in your workflow.

Implementing Multi-Tenancy in Laravel: A Comprehensive Guide
Multi-tenancy is a software architecture where a single instance of an application serves multiple tenants.

Strategy design pattern and its implementation in Laravel
The strategy pattern is a behavioral design pattern that enables selecting an algorithm at runtime, it’s commonly used in Object-oriented programming.

Enhance PHP Applications with Custom Attributes
Leverage PHP 8 attributes to build robust and maintainable routing and validation systems.

Interesting Projects, Tools and Libraries


yosymfony/toml
A PHP parser for TOML compatible with specification 0.4.0

eurolink/property-api-php-client
A PHP library for Eurolink's Property API.

dstuchbury/laravel-google-translate
Laravel package for the Google Translate API.

smorken/image-sizer
Helper library for image sizing.

shaneeardley80/laravel-amp
Package that helps you set up AMP (Accelerated Mobile Pages) using Laravel.

sdrockdev/laravel-newsletters
Manage newsletters in Laravel (for multiple accounts).

bluecadet/bluecadet_ajax_content
Library to handle AJAXing content utilitizing Drupal's AJAX.

radioactivehamster/yaml
An extended variant of the Symfony PHP YAML library.

nickcv/yii2-mandrill
Mandrill Api Integration for Yii2.

aleksey203/yii2-upload-behavior
Yii2 file/image upload behavior for ActiveRecord.

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 25th 2024

Thursday, July 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 July 2024 Hi everyone, Last week we had an article about

PHPWeekly July 18th 2024

Thursday, July 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 July 2024 Hi everyone, If you don't feel like reading this

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

You Might Also Like

This Week in Rust #565

Thursday, September 19, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 565 — 18 SEP 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

Daily Coding Problem: Problem #1561 [Easy]

Thursday, September 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Print the nodes in a binary tree level-wise. For example, the following

Sixteen Candles Down the Drain

Thursday, September 19, 2024

Spectacles, Vestager, EC Posts, Meta Letters, PayPal Design, Microsoft Deals, Palmer Luckey Goggles, Spotify Ads Sixteen Candles Down the Drain Spectacles, Vestager, EC Posts, Meta Letters, PayPal

How Greedy Miners Are Breaking DAG Blockchains

Thursday, September 19, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today

Issue 332 - Camouflaged Tesla Robotaxi prototype sighted

Thursday, September 19, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 332 -

Programmer Weekly - Issue 223

Thursday, September 19, 2024

View this email in your browser Programmer Weekly Welcome to issue 223 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "It's tempting to write a long

Data Science Weekly - Issue 565

Thursday, September 19, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Contrarian Report Shades GitHub Copilot Productivity, Bits Polished as .NET 9 Nears, Python in VS Code, More

Thursday, September 19, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight September 19, 2024 THIS ISSUE SPONSORED BY: ■ dtSearch® - INSTANTLY SEARCH TERABYTES ■ Live! 360: Developer / IT / Security / Data

Web Tools #583 - No Code Maps, React, Testing, Git/CLI

Thursday, September 19, 2024

WEB VERSION Issue #583 • September 19, 2024 The following is a paid product review for No Code Map App, a platform for building custom interactive maps from almost any data source, no coding required.

Python Weekly - Issue 668

Thursday, September 19, 2024

View this email in your browser Python Weekly Welcome to issue 668 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly