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 4, 2021


 
Welcome to the latest edition of phpweekly.com.

Symfony have announced several releases this week.

Have a good week,

Stay safe and well.

All the best,

Ade and Katie

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.

Articles

Introducing ModernGeekware.com - Tees, Mugs, and more for Developers and Geeks
As a developer, I LOVE my geeky t-shirts and mugs, but it's hard to find quality products with designs I like. I've therefore been hard at work these last few weekends putting together my new project: www.moderngeekware.com

What's New in PHP 8.1
PHP 8.1 is currently in active development and will probably be released somewhere around the end of November 2021. We already know some features, changes and deprecations, so let's go through them one by one.

Looking Back at 2020 — Kinsta Year in Review
Who knew a pandemic would be part of our lives? 2020 is now a thing of the past and, honestly, I’m happy we left that behind. Yet, looking back and taking stock of our progress is an important step as we plan for the future. And that’s what we’ll do today.

New CARE Team Members
Almost three years ago, we built the CARE Team as part of our diversity initiative. Since then, Emilie Lorenzo, Michelle Sanver, and Tobias Nyholm were the members. After so many years, Emilie and Michelle decided to step down and let other people join the team. I want to personally thank them for their great work and help to make Symfony a safer and welcoming place for everyone.

Tutorials and Talks

Displaying the Date and Time in the WordPress Loop
In this quick tip, I'll show you the different functions WordPress gives you for displaying the date and time and tell you which ones to use if you run into snags.

Building Realtime Apps with PHP and WebSockets: Client-Side Challenges
PHP is an open-source, general-purpose scripting language that is especially suited for building web-based applications. Simple, efficient, and flexible, PHP is compatible with most operating systems, such as Windows, Linux, and Unix, and it’s easy to integrate with other technologies. 

Using Composer Patches
When you use software that is open source, you'll sometimes run into issues or small bugs that have already been fixed by the community in a PR or an issue, but have yet to be merged and/or released. If you're impatient and need that fix now, composer patches can be a solution for this problem.

5 Ways to Get Post and Page IDs in WordPress
In this article, we’ll show you five different ways to get post IDs in WordPress, ranging from the traditional to the unorthodox.

How To Run Selenium Tests Using IE Driver?
When anyone refers to automated browser testing, it somehow means that the testing will be performed on the latest browsers like Chrome, Firefox, etc. It would come as a surprise if someone from your team meant that the testing should be done on IE (or Internet Explorer) using Selenium IE Driver or Selenium Internet Explorer Driver.

Phishing & Malspam with Leaf PHPMailer
It’s common knowledge that attackers often use email as a delivery mechanism for their malicious activity — which can range from enticing victims to click a phishing URL or download a malicious attachment. To support these activities, attackers seek out tools that assist in the mass sending of malspam (malicious spam) emails from a compromised website. PHP scripts like Leaf PHPMailer are well suited for this task.

GraphQL API for WordPress is Now Scoped, Thanks to PHP-Scoper!
Plugin GraphQL API for WordPress is now scoped. This means the plugin can be finally uploaded to the WordPress plugin directory. To do it, I'm using the wonderful PHP-Scoper. Using this library with WordPress does not go without its challenges, so I'll explain in this blog post how I managed to pull it out.

Introduction on How to Implement a Basic PHP Script SEO Report for Your Web Site
SEO is a set of practices that can help a regular web site page to improve its quality and relevance, so it becomes more useful to as many users as possible that are searching for content on search sites like Google. Read this short article to learn how you can start implementing basic PHP script that generates a SEO report, so you can evaluate if you are applying some of the recommended SEO practices.

Laravel Console Wizard
Laravel Console Wizard is a package for creating multi-step wizards with complex input inside the console.

How to Upload Video to Vimeo with API
Vimeo is a popular platform that provides video hosting services. It supports live streaming, video hosting, sharing and related services. This article describes how to integrate the Vimeo API and upload video files. Also, it helps to learn how to read Vimeo URL for the uploaded video.

How to Post to Twitter From Your Laravel App Using Zapier
Recently Twitter started promoting their v2 API, which includes requiring all developers to re-apply to get developer credentials. Long story short, my application was rejected, so I'm left trying to build personal apps that tweet without API access.

Get Second And Third Word from Strings in PHP
To Get Second And Third Word from Strings in PHP we use PHP’s inbuilt function named as explode() function. Before we check the source code to get any word from any position using PHP, we do some introduction about PHP explode function.

Convert Legacy PHP Web Applications to Docker
I started exploring PHP in 2000, around the time of PHP 4 launch, in an effort to convert an increasingly popular website that was written as lots of individual, static HTML pages. I began work on writing a Content Management System from scratch, and the CMS was still distributing 30,000 articles some 17 years later.

How to Use Cookies With AlpineJS
Inspired by TailwindUI's references. I've started looking into AlpineJS and found it really neat: It's minimalistic, comes without any preparation steps and, similar to TailwindCSS, just gets added to your HTML.

How to use GitHub Actions Build Matrix to Deploy Artifacts to Multiple Servers
In the past, I've always used multiple third-party services to, for example, host and deploy my code to production. I like the idea of minimizing the number of third-party services as they provide overhead, potential security risks, and often additional costs. So I decided to give Github Actions a try.

Contract Tests
In this post, I want to take a look at how you can write tests to ensure consistent behavior across all implementations of an interface.

Ketting Support for Deprecation Warnings
Ketting is the generic REST client for Javascript. Version 7 is currently in beta, and will have support for Deprecation and Sunset headers as well as deprecated links.
News and Announcements 

Symfony 5.2.2 Released
Symfony 5.2.2 has just been released with a list of the most important changes.

Symfony 5.1.11 Released
Symfony 5.1.11 has just been released with a list of the most important changes.

Symfony 4.4.19 Released
Symfony 4.4.19 has just been released with a list of the most important changes.

PhpStorm 2020.3.2 is Released
The second bug-fix update for PhpStorm 2020.3 is now available!

INTERNATIONAL PHP CONFERENCE HYBRID 2021: June 7–11th 2021 | Berlin or Online
Every year in June the International PHP Conference Berlin is the go-to event for PHP and web enthusiasts! This year, too, we look forward to meeting you again! Because we want to ensure that the lively exchange of knowledge and ideas so typical of International PHP Conference continues to work well, we were one of the first in the conference industry to develop our hybrid concept. Tickets are on sale now.

SymfonyLive Online Polish Edition - 12th March 2021
Join us for the first SymfonyLive Online Polish edition conference. The entire conference will take place online during 3 days, with two days of workshops before the conference day. Tickets are on sale now.

Podcasts and Vlogs

php[architect] Podcast: Front-end Frameworks, Dev Lead Duties, Subresource Security and more
Listen to Eric, John, and Oscar discuss the articles in the January 2021 issue, Newfangled Views.

Full Stack Radio Podcast Episode 152: Ben Orenstein - How to Stand Out When Applying for a Job at a Small Company
In this episode Adam talks to Ben Orenstein about what you can do to stand out if you’re trying to get a job at a small company.

PHP Internals News: Episode 73: Enumerations
In this episode of "PHP Internals News" I talk with Larry Garfield (Twitter, Website, GitHub) about a new RFC that he is proposing together with Ilija Tovilo: Enumerations.

PHPUgly #221: The PHP Big Short
This week on the podcast, Eric, John and Thomas talk about versions, Versions, more versions, PHPStorm, Gamestop and more...

Welcome to your WP Briefing
This podcast is for WordPress users, builders, and contributors of all levels. It’s designed to give you quick insights into the longstanding philosophies of the WordPress open source project.

The Stack Overflow Podcast 307: Owning The Code, From Integration to Delivery
On this week's episode, we discuss where CI/CD breaks down.

Reading and Viewing

A Week of Symfony #735 (25-31 January 2021)
This week, Symfony 4.4.19, 5.1.11 and 5.2.2 maintenance versions were released. Meanwhile, the upcoming Symfony 5.3 version added bright colours in the console and some improvements to the Uid component.

Watch Laravel Worldwide Meetup #5: Hotwire in Laravel & Single DB Multi-Tenancy
Here is the recording of Laravel World Wide Meetup #5. Tony Messias showed the magic of Hotwire in Laravel. Kevin McKee shared an very elegant way to implement single database multi tenancy.

Why Did I Start a YouTube Channel as an Introverted Developer?
Once in a while, I like to challenge myself and do things that are way out of my comfort zone. Speaking in front of people is out of my comfort zone, and I wanted to change that. Thus, here I am, creating YouTube videos.

Jobs

Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at katie@phpweekly.com

Interesting Projects, Tools and Libraries

php-imap
Wrapper for common IMAP communication without the need to have the php-imap module installed/enabled. 

device-detector
The Universal Device Detection library that parses User Agents and detects devices (desktop, tablet, mobile, tv, cars, console, etc.), clients (browsers, feed readers, media players, PIMs, ...), operating systems, brands and models.

feed-io
PHP library built to consume and serve news feeds.

phabel
This is a transpiler that will allow native usage of php8 features and especially syntax in projects and libraries, while allowing maintainers to publish a version targeting 7.0 or even lower versions of PHP.

sleekdb
Pure PHP NoSQL database with no dependency. Flat file, JSON based document database.

resource-proxy
Proxy files for DotNet, Java and PHP.

strings
Strings Component provide a fluent, object-oriented interface for working with multibyte strings, allowing you to chain multiple string operations together using a more readable syntax compared to traditional PHP strings functions.

lighthouse
Lighthouse is a GraphQL framework that integrates with your Laravel application. It takes the best ideas of both and combines them to solve common tasks with ease and offer flexibility when you need it.

mibew
Open-source live support application written in PHP and MySQL that enables one-on-one chat assistance in real-time directly from your website.

coding-standard
Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs.

psx-schema
This library can parse a TypeSchema specification either from a JSON file, or from PHP classes using reflection and annotations.

pop
Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder.

Please help us by clicking to our sponsor:

 encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. 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