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!

October 26, 2023

Hi everyone,

If you're looking for tutorials on how to create instant push notification service in Laravel or How chainable methods can make your code moe maintainable, then this week's newsletter is for you. In news, the Pest plugin will now be bundled with PHPStorm on starting with v2023.3. For more details head on over to the link to the blog post. We also have a new beta release for Symfony 7, as well as the 4th early access version for PHPStorm. In podcasts we have an all new episode from How to Code Well. Over at Laravel News podcast the topics this week are about the recent Laravel 10.26 release, Tomato PHP and Volted Breeze. Feedback from humans and non-humans alike in software development is the suject at The Rabbit Hole. Finally in our Reading section, we have Symfony's Asset Mapper, Tips on improving logging in Laravel, and a talk on Tailwind CSS from creator Adam Wathan. 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

A Retry Mechanism For Symfony Commands
Developers know that unexpected errors can occur in a program, and it’s a bit annoying when it appears during a command moreover when this command is launched by a system at a time when everybody is sleeping.

Writing PHP Code like a Pro: A Guide to PSR-1(Part 1)
When you're in the world of PHP, you want to follow some rules to keep your code clean and compatible with others. That's where the PHP-FIG (PHP Framework Interoperability Group) steps in with a set of rules known as PSRs (PHP Standards Recommendations). PSR-1 is one of the fundamental ones, and today, we're going to break it down for you.

Using PHP and OOP concepts to build custom WordPress themes
As a software engineer with over a decade of experience working in small startups and agencies, I spend a decent amount of time working with WordPress. I often hear complaints about WordPress and how it can become a nuisance for developers.

Laravel Migration
Migration in Laravel is a common task when working with databases in Laravel applications. Migrations are used to define and modify the structure of your database tables.

Scripting the Web: A Deep Dive into PHP and JavaScript Differences
Let’s delve deep into the intricate details of these languages, comparing them across various paradigms and features.

Resonance - New PHP Framework Built on Top of Swoole
I spent the last year working on the new PHP framework to push this programming language further into the modern era. I firmly believe that the future of PHP lies in Fibers, Coroutines, and libraries like Swoole.

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

Learn How To Impersonate Users In Your Laravel App
One of the neat features of Laravel Nova is the ability to impersonate users right from the control panel. This is handy for many reasons, but for me, when you get a bug report or an issue and want to see exactly what the user sees, impersonating them saves lots of time because you can see exactly what they see.

Make iTerm2 look fantastic
Nuno Maduro has a new video tutorial on his YouTube showing how he makes his terminal look amazing. I just went through it and learned of the lovelace theme, and I think the end result does look fantastic.

Type hint a Query Bus in PHP
In this post, we will see how to use generics in our QueryBus to get its return type.

Filament Tips : Modal View on the Table Action
Today, i got question from my sponsors. they ask me how to change filamentphp table row action (default, will be redirect to edit / view page).

Secure File Transfers to the remote server with PHP SSH2 Extension: Usage and Installation ‎on RHEL 8
Secure Copy Protocol (SCP) is a network protocol that allows you to securely transfer files between a local host and a remote host. In PHP, you can use the ssh2_scp_send() function to transfer files using SCP. This function takes four parameters.

Unveiling Laravel’s Has-Many-Through Relationship: A Step-by-Step Guide
In this tutorial, we’ll dive into the world of has-many-through relationships in Laravel.

How To Make Your PHP Code Beautiful With Chainable Methods
Chainable methods are a programming technique that allows you to call multiple methods on an object in a single line of code. This can make your code more readable, maintainable, and expressive.

Create an Instant Push Notificaion(IPN) Service in Laravel
Let’s create an Instant Push Notificaion(IPN) service for user’s card add and delete in a payment gateway service.

Create Routing and View in Laravel
Here’s a step-by-step guide to creating a basic route and view.

News and Announcements

PhpStorm 2023.3 EAP #4
In this build, we’ve significantly reworked the PHP include path settings and implemented the ability to exclude directories and files from indexed libraries.

The Pest Plugin Is Now Maintained by JetBrains
The Pest plugin will be bundled with PhpStorm starting with v2023.3. It will be developed by JetBrains but stay open source.

Livewire Learning Screencasts are now available!
Laravel Livewire has recently introduced a new series of screencasts, aimed at making your journey of learning Livewire easier than ever.

Symfony 7.0.0-BETA1 released
Symfony 7.0.0-BETA1 has just been released. Here is the list of the most important changes since 6.3.

A Week of Symfony #877 (16-22 October 2023)
This week, Symfony released the first beta of Symfony 6.4 and the first beta of Symfony 7.0 so you can test them in your own apps before their final releases. In addition, the Symfony 6.3.6 maintenance version was released. Meanwhile, the development activity was frantic in order to merge and tweak all the pending new features of Symfony 6.4 and 7.0.

Longhorn PHP, Austin, TX - November 2-4, 2023
A 3-day conference to help PHP developers level up their craft and connect with the larger PHP community.

Podcasts and Vlogs

How To Code Well: 196 - Get WordPress off of PHP 7.4
Today we discuss how to get WordPress off of PHP 7.4 and on to PHP 8.x with handy upgrade tips and tricks that can be applied to other PHP frameworks.

PHP Ugly: 357: Tom Offers Up His piHole
This week on the podcast, Eric, John, and Thomas talk about PHP Bcrypt, JetBrains Writerside, Doctrin, SCALE 21x, Pest, and more...

Laravel News Podcast: Volted Breeze, tomatoes, and splades
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.

The Stack Overflow: Forget "No Code." Adios "Low Code." Say hello to "Yes Code!"
We chat with Lee Robinson, VP of Developer Experience at Vercel, about v0: a generative AI Vercel built that produces code for web components based on a user's text description of a UI or interface.

Software Engineering Radio: SE Radio 586: Nikhil Shetty on Virtual Private Cloud
Nikhil Shetty, an expert in networking and distributed systems, speaks with SE radio’s Kanchan Shringi about virtual private cloud (VPC) and related technologies.

Developer Tea: What is the Real Question? How To Be An Exceptional Listener
Almost every conversation you have will start with a question. Have you stopped to listen closely? Questions are extremely meaningful and deeply human.

Shoptalk Show: 588: Elliot Marquez on Web Components and Lit
Elliot Marquez talks with us about the history of Polymer and Lit, why you should pick Lit, working with web components, the shadow dom, managing state, and how Material design is built with web components.

WP Builds: 346 – WonderSuite: simplifying the setup in WordPress for all users
On the podcast today we have Jason Cross. He’s an experienced tech executive with a diverse background in the industry. Currently serving as the SVP of product at Bluehost / Newfold Digital, and he’s been there for over a year and a half.

The Rabbit Hole: 312. Feedback From Humans and Non-Humans Alike
In this episode, we delve into the world of feedback in software development. We explore how feedback, in the context of Extreme Programming (XP) values, goes beyond traditional human communication.

Reading and Viewing

Tailwind CSS: It looks awful, and it works
In his talk at Rails World, Tailwind CSS creator Adam Wathan explains why “separation of concerns” isn’t the right way to think about the relationship between HTML and CSS, why presentational class names lead to code that’s so much easier to maintain, as well as loads of tips, tricks, and best practices for getting the most out of Tailwind CSS.

Try MongoDB and Laravel in 1-click via GitHub Codespaces
Cloud-based development environments can be great platforms to make it easier for new collaborators to get up to speed and contribute to code with minimal setup time.

Investigating Redis memory leaks due to Laravel Cache Tags
We found out that one of our production services was experiencing cache cluttering issues without apparent reasons. Leveraging AWS observability tools and appropriate Redis queries, we were able to find out that the issue lied in how the key tagging feature of Laravel Cache works, in particular when using a Redis backend.

Embracing The Future: Symfony’s Asset Mapper Over Webpack Encore
Let’s delve deeper into Asset Mapper and how it could potentially replace Webpack Encore.

Improving Logging in Laravel with CorrelationID and TraceID
So today, I want to share some tips to improve your logging in Laravel. Let’s make life easier for ourselves down the line.

Laravel Experience: The Unfinalize Package
the last couple of weeks, in my opinion, the Laravel community broke some essential rules. I am talking about the Unfinalize package.

Interesting Projects, Tools and Libraries

josephdsouza86/db-sync
Helper scripts to quickly synchronise a local MySQL database with a remote database, as well as prepare a local database for deployment to a remote server.

trendyminds/craft-paper-trail
A plugin to connect Craft logs to Papertrail.

openmage-module-fostering/addthis_sharingtool
AddThis makes it easy for any visitor to share your content to over 350 services. Developed by AddThis.

gourmet/common-mark
Adds CommonMark support to CakePHP 3.

titon/validate
The validate package provides data validation through an easy to use validator and constraint API.

detailnet/blitline-module
Zend Framework module for Blitline.

mysportsfeeds/mysportsfeeds-php
PHP wrapper for the MySportsFeeds sports data API.

rayful/db-manager2
A new MongoDB ORM for mongoDB Driver for PHP(PHP7).

gency/laravel-filterable
A trait to add query filtering functions to Laravel models.

yarcode/yii2-tools-yarcode
Useful Yii2 components.

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