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!

March 11, 2021

Welcome to the latest edition of phpweekly.com.

PHP 8.0.3 has been announced this week, as well as several releases from Symfony and Laravel.

Plus SourceGuardian 12 has just been released with full support of all the new PHP 8 language features.

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 12. 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

The Best Time to Switch Gitlab to GitHub
I'm known for using GitHub, a true paradise for any open-source project. But I don't have much experience with private projects pricing for this and other services like GitLab or Bitbucket. I assumed they all were at a similar price layer. After today's call with one of my clients, I've learned about one benefit of GitHub Actions for private projects I didn't consider before. So much it's worth the switch.

What Is the Best Programming Language to Learn in 2021?
Which programming language is best to learn? Which give the highest salaries? Are they easier to start learning? This list will guide you through everything you need to know about picking the best programming language to learn.

Language in Dev Culture
How we use language in development-centric circles is as important as the code we design and the sprints (development iterations) we plan. Especially as many workplaces have transitioned to full-remote (temporarily or permanently), it's more important than ever to reflect on how we communicate with each other. Just by rethinking how we phrase things in writing or over calls and video chat, we can make drastic productivity improvements.

Tutorials and Talks

How to Call a PHP Function From JavaScript
PHP comes with a lot more built-in functions to work with strings, arrays and other types of data in comparison to JavaScript. Therefore, it is natural for a lot of people to feel the urge to call PHP functions from JavaScript. However, as you might have guessed or found out, this does not work as expected.

Splat Operator in PHP
This feature allows you to capture a variable number of arguments to a function, combined with "normal" arguments passed in if you like. It's easiest to see with an example.

Before You Memo()
In this post, I want to share two different techniques. They’re surprisingly basic, which is why people rarely realise they improve rendering performance.

How to Implement a PHP GitHub API Client to Access Github Web Services
Github is a very popular site among developers of many programmers languages, as it can be used to host repositories of code that can be accessed with the Git version control tool. An alternative way to access the project files in Github is to use its API. Read this article to learn how you can easily access this project files hosted in Github using PHP without having to use the Git tool.

Maximally Optimising Image Loading for the Web in 2021
In this post I'll outline 8 image loading optimisation techniques to minimise both the bandwidth used for loading images on the web and the CPU usage for image display.

Step by Step Guide to Building Your First Laravel Application
Since its initial release in 2011, Laravel has experienced exponential growth. In 2015, it became the most starred PHP framework on GitHub and rose to the go-to framework for people all over the world. My goal with this Laravel tutorial to create a guide for those just learning Laravel. 

Run PHP File in XAMPP: Tips and Tutorial
This blog is about the Run PHP File in XAMPP: Tips and Tutorial. I will try my best so that you understand this guide very well. I hope you all like this blog Run PHP File in XAMPP: Tips and Tutorial. If your answer is yes then please do share.

Set-up Firebase Project using Firebase Console
Before we Set-up Firebase Project using Firebase Console, we have to know the introduction about Firebase like what is Firebase and Why we use it on the web and app development. Here are 3 major points to discuss.

Live Search in PHP and MySQL with AJAX
Live search is a handy feature for filtering data that enriches the user experience. It helps to shortlist the result based on the criteria selected by the end-user.

PhpStorm 2021.1 EAP #6
In this build, we’re adding support for prefixed table names in SQL queries. Read on to learn more.

How to Check Email and Username Availability Live Using jquery/ajax, PHP and PDO
In this tutorial, We will learn how to How to check Email and username availability live using jQuery/ajax and PHP-PDO.

Creating a Scientific Pitch Notation Type Using Template Literal Types
Creating a well-defined type definition can be hard. TypeScript 4.1 introduced template literal types which can narrow down string types drastically. In this article we'll start with a string and end up with a type that covers scientific pitch notation.

Dependency Injection in Serverless PHP with Bref
When writing PHP for AWS Lambda, Bref is the way to do it. One thing I like about Bref is that you can use PSR-15 Request Handlers to respond to API Gateway HTTP events as documented in the API Gateway HTTP events section of the Bref docs.

Do Tests Need Static Analysis Level Max?
I recently heard this interesting question: if your project uses a static analysis tool like PHPStan or Psalm (as it should), should the tests by analysed too? The first thing to consider: what are potential reasons for not analysing your test code?
News and Announcements 

SourceGuardian 12 Released With Full PHP 8 Support
SourceGuardian 12 have just been released with full support of all the new PHP 8 language features. The new version now supports PHP 8 encoding, in addition to named parameters, attributes, union types, mixed pseudo type, null-safe operator, match expressions, using ‘throw’ in expressions, constructor properties and more…

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

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

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

Laravel 8.30 Released
The Laravel team released 8.30 with the ability to stop a validator on the first failure, a new collection method, a new rate-limiting convenience method for minutes, and the latest changes in the 8.x branch.

Laravel 7 Has Reached End of Life
Laravel 7 is officially the end of life as of March 3rd, 2021, and it will not receive any more security fixes. Apps on Laravel 7 are encouraged to upgrade to Laravel 8.

Introducing the Elementor Integration for WP Offload Media
In the first of hopefully many plugin releases this year, the WP Offload Media team has been working hard on some big integrations and improvements. Today we’re pleased to announce the latest integration for WP Offload Media, full Elementor support.

SpotCon - March 26th 2021 Free Annual Event
An annual conference empowering developers with solutions that drive leading-edge transformation in application development. Join thousands of developers from around the globe for a day of transformative insight into the next generation of web app development. Free Early Bird Registration now open.

Podcasts and Vlogs

PHPUgly #226: HELP WANTED, PHP Release Manager
This week on the podcast, Eric, John, and Thomas talk about in-person conferences are back (almost), Laravel, production deployments, and more...

Call It A Day Podcast Ep 15: Building Mastering PhpStorm - Recording
In this episode, I provide some details about me building my new course "Mastering PhpStorm". This time we are talking about "recording". I will share what my recording process looks like in detail.

Laravel News Podcast LN137: Data AsArrayObjects, Inertial Breezes and Reaching Peak Statamic
Jake and Michael discuss all the latest Laravel releases, tutorials and happenings in the community. 

Andrew Schmelyun Podcast: Getting Started with Laravel Fortify and Sanctum
In this 19 minute video, I'll show you how to install and use the Fortify and Sanctum authentication packages in example Laravel applications.

The Stack Overflow Podcast 318: What’s The Half-Life of Your Code?
Think of your code quality as if it will run forever, but adapt to change as if your code will be obsolete tomorrow.

Post Status Draft Podcast - Angela Jin on WordCamp US 2020 Cancellation and the Future of WordPress Education
A WordPress community organiser at Automattic, Angela Jin is our guest on the latest episode of Post Status Draft. Join us as we ask what the future holds for the conferences, meetups, and other social gatherings we’ve enjoyed in the past.

Reading and Viewing

Cloudways Interview - Zuzana Kunckova
Zuzana Kunckova is a full-stack developer who moved to a career in web development after studying psychology. Her background helps her bring a unique sensibility to her Laravel projects, as she’ll talk about in this interview.

A Week of Symfony #740 (1-7 March 2021)
This week, Symfony 4.4.20 and 5.2.4 maintenance versions were released. Meanwhile, the upcoming Symfony 5.3 version added a Twig serialize filter and decoupled passwords from UserInterface. Lastly, it was decided that Symfony 6 will require PHP 8.

A Practical Look at Multi Tenancy in Laravel
In this talk, given at Laracon Online 2020, I show a simple strategy to make any Laravel app tenant aware using our laravel-multitenancy package.

People of WordPress: Olga Gleckler
From a natural interest in computers and fixing things as a young woman, Olga Gleckler from St Petersburg, Russia, found WordPress took her on a journey to becoming a successful female tech entrepreneur. On International Women’s Day, we share her story.

Learn How to Build Your Own Website With This Master Class Bundle
The Web Development Master Class Certification Bundle is a six-pronged course by leading online training provider YouAccel Training. Through 35 hours of training, you'll learn about HTML, CSS, JavaScript, Bootstrap, PHP, MySQL, and more. 

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 [email protected]

Interesting Projects, Tools and Libraries

phpipam
Open-source web IP address management application, its goal is to provide light and simple IP address management application.

unit-testing-tips
In enterprise applications with a lot of business logic, unit tests are the most important tests, because they are fast and can us instantly assure that our implementation is correct.

wp-phpmailer
Provides a clean and simple way to configure the WordPress-bundled PHPMailer library, allowing you to quickly get started sending mail through a local or cloud based service of your choice.

classroombookings
This is a web-based room booking system for schools and is designed to be as easy to use as possible. Set up your bookable rooms, day schedule and timetable for the year.

clockwork
Development tool for PHP available right in your browser that gives you an insight into your application runtime - including request data, performance metrics, log entries, database queries, cache queries, redis commands, dispatched events, queued jobs, rendered views and more - for HTTP requests, commands, queue jobs and tests.

ui
Agile UI is quickest way for building back-end UI, admin interfaces, data management systems for medium and large projects designed around roles, complex logic, formulas.

nbt
PHP library for working with the NBT (Named Binary Tag) data storage format, as designed by Mojang.

activitypub
A PHP implementation of ActivityPub protocol based upon the ActivityStreams 2.0 data format.

math
Arbitrary-precision arithmetic library for PHP.

aphiria
Suite of small, decoupled PHP libraries that make up a REST API framework. It simplifies content negotiation without bleeding into your code, allowing you to write expressive code.

zencart
Zen Cart® is a full-function e-commerce application for your website.

camdram
Camdram is an open source project developed by a team of volunteers for the benefit of the Cambridge student theatre community. 

Please help us by clicking to our sponsor:

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