Welcome to the latest edition of phpweekly.com.
This week sees the release of PHP 8.0.0. Beta 4 available for testing.
Have a good week,
Stay safe and well.
All the best,
Ade and Katie
Please help us by clicking to our sponsor:
Monitor & Protect Your PHP Web Apps In < 5 Minutes
Deploy Sqreen in under 5 minutes and start protecting your PHP web apps against OWASP top 10 attacks, reduce false positives and get actionable insights into real-time threats and vulnerabilities.
PHP: Community Synergy Initiative
Paul Dragoonis and Christoph Rumpel created the "PHP: Community Synergy Initiative" to improve the ability to contribute to the PHP website, docs, and in general the overall developer experience. Currently they are collecting feedback and this is why they need you. Please help out by checking the post and taking the survey.
5 Best PHP Marketplace Scripts and Platforms
While you could order anything from a pencil to the furniture for an entire classroom from online stores, the ongoing COVID-19 pandemic has proved to be an important driver of the ecommerce industry and hence the inevitably rising importance of PHP Marketplaces or e-commerce marketplaces in general. Every business regardless of the industry and niche has been forced to set up an online presence and seek out their share of the ecommerce pie.
Laravel Vs CodeIgniter – Which is Better PHP Framework for Development In 2020
Incorporated with numerous built-in web development functionalities, PHP frameworks have been evolving as the scripting language of choice in India as well as across the globe like never before. As a result, today we are not just encircled by the tech but totally rely on it. The following post acts as a quick rundown of the best and most popular PHP development choices as of now: Laravel & CodeIgniter
Tutorials and Talks
Get Started With WPBakery (Formerly Visual Composer)
Writing HTML, CSS, and PHP code to build or customise a WordPress site can be incredibly time-consuming, even for an experienced web developer. That's probably why much of the WordPress community has moved on to using page-builder plugins instead. In this Visual Composer tutorial, I'll show you how to add WPBakery Page Builder to your WordPress instance and introduce you to all its important features.
Growing the PHP Core — One Test at a Time
In September 2000, I started my vocational training at an internet agency with two teams: one doing JavaServer Pages, and one was doing PHP. I was assigned to the PHP team, and when presented with the language, I immediately knew that no one will ever use this. I was wrong. Today, my entire career is built on PHP. It’s time to give back to the community by writing tests for the PHP core itself!
Introducing Object Calisthenics Rules for PHPStan
For the last 2 years, I've maintained Object Calisthenics Rules for PHP_CodeSniffer. In 2019 and 2020, there was a huge boom of custom PHPStan rulesets that make everyday development easier and stronger at the same time.
How to Call an Overridden Trait Function
Traits are a wonderful thing in PHP. In this post, I'd like to show you how you can override a trait function and call it from the overriding function.
Don't Trust Default Timeouts
Modern applications don’t crash; they hang. One of the main reasons for it is the assumption that the network is reliable. It isn’t. When you make a network call without setting a timeout, you are telling your code that you are 100% confident that the call is going to succeed. Would you really take that bet?
The Best Setup for Your Local WordPress Development Environment
In this post I’ll guide you through various ways to set up the dev environment, install WordPress locally, wrangle the database, debugging and lots in between.
Laravel: Finding The Route Name
Recently at work I had to analyse a problem in a Laravel application that I was not familiar with. The problem: When calling a specific URL, it wrongly redirected to another URL.
How to Get a Professional Email Address With a Custom Domain
If you are thinking about starting a business, your own agency, or freelancing, having the right professional email address is essential. In this article, we cover why this is important, provide examples, and walk you through how to get a professional email with a custom domain.
Nested States in Laravel 8 Database Factories
While upgrading the new screeenly.com to Laravel 8, I hit a bit of a wall. At first, it wasn't clear to me how I can get my previous setup of database factories to work with the new and improved Factory Classes.
How to Prettify PHP Code to Display it in a More Readable Way
PHP comes with built-in support to parse PHP code to generate HTML that can display the code in a highlighted format using colour. This package implements a better solution for displaying PHP code in Web pages.
Composing the Uncomposable with CSS Variables
Many CSS properties are short hands for a set of other properties, for example the margin property is a shorthand for setting margin-top, margin-right, margin-bottom, and margin-left all at once.
How To Set, Get And Delete Cookies In Laravel
Cookies are a small data file, which is stored in the remote browser. And by the help of cookies tracking/identifying return users in web applications. In this post we will learn, how to create, get and delete cookies in Laravel.
Moving 27K Unique Images from Spatie medialibrary local to S3 Storage Using Laravel Queue
We didn't expect that the project ever reached this milestone, so we stored all the images on the server itself. After around 2 years the monitoring service told us we had around 180GB of images stored in the project. But why are we now moving the images to s3 instead of local storage?
phpbash – A Terminal Emulator Web Shell
It’s common for hackers to utilise post-compromise tools that contain a graphical user interface (GUI) that can be loaded in the web browser. A GUI generally makes the tool easier to use — and certainly more visually appealing than just raw text. One example of web malware that uses GUIs are PHP webshells like r57.
How to Ignore or Skip Dependencies While Installing Packages on Ubuntu
If you are using an APT package manager to install various packages on Ubuntu, Debian, Linux Mint, Elementary OS, MX Linux, or other similar Linux, then you can ignore or exclude some dependencies which don’t want to be on your system.
|News and Announcements
PHP 8.0.0 Beta 4 Available For Testing
The PHP team is pleased to announce the seventh testing release of PHP 8.0.0, Beta 4. This point in the release cycle would normally be RC1, however we're still finalising development of the JIT and squaring away named arguments, so we've opted for an extra beta release with plans to start the RC cycle in two weeks.
Laravel Zero 8 Released
The community project Laravel Zero released version 8 last week, which focuses on speed improvements and better developer experience. It also brings Laravel Zero in line with core Laravel 8 features, such as job batching in queues, and more.
Vue 3 is Now Released
Vue.js has announced v3 is now released and available. This exciting release maintains Vue’s small size footprint but touts new powerful features such as the Composition API, Teleport, Fragments, performance improvements, and many more.
Cancellation of SymfonyLive Warsaw 2020 and SymfonyLive Berlin 2020
Due to the unprecedent Covid-19 situation which spread across the entire world over the past few months, we have taken the hard but necessary decision to cancel SymfonyLive Warsaw 2020 and SymfonyLive Berlin 2020.
ScotlandPHP Conference - 13-14th November 2020, Edinburgh
Join the worldwide PHP community for the fifth ScotlandPHP conference later this year. There will be 13 talks presented across 2 tracks, along with 3 workshops, to help you enhance your current skills and find out what's next for PHP and beyond. Blind Bird Tickets are on sale now.
SymfonyCon December 3rd-5th 2020, Disneyland Paris!
SymfonyCon Disneyland Paris 2020 was cancelled. Due to the COVID situation, the conference has been postponed to next year. See you at SymfonyCon Disneyland Paris 2021.
First Selected Speakers at SymfonyWorld 2020 Are Announced
SymfonyWorld 2020 is our first 100% online event. We've announced over the summer the online conference organisation which will take place beginning of December in place of SymfonyCon Disneyland Paris 2020 postponed to 2021.
PHP Online Conference Japan 12th December 2020
Join this online event. The Call for Papers is open now.
Podcasts and Vlogs
PHP Internals News: Episode 68: Observer API
In this episode of "PHP Internals News" I chat with Levi Morrison (Twitter, GitHub) and Sammy Kaye Powers (Twitter, GitHub, Website) about the new Observer API.
Full Stack Radio Podcast Episode 147: Surviving GitHub Issues, the Statamic 3 Launch Aftermath, Tailwind 1.8, and Headless UI
Adam and Jack talk about strategies for keeping up with GitHub issues and coping with customer criticism, and how life is going after the Statamic 3 launch. They also talk about the new features in Tailwind 1.8, and work through some branding problems for the new Headless UI project the Tailwind team is working on.
MageTalk Magento Podcast #224: “Living the PWA Dream” (with Damian Retzinger, CEO of Graycore)
Building on PWA is all too common for Graycore, and Damian shares his experience in delivering the next generation of headless commerce experiences with Magento. Listen now!
PHPUgly #206: Popping Off
This week on the podcast, Eric, John, and Thomas talk about Eric's journey into PopOs on his new System76 machine (I promise you this is not a sponsored show), they also talk about the state of Tiktok, Nvidia multi-billion dollar purchase of ARM, and much more.
Voices of the ElePHPant - Interview with Oliver Davies
This week Cal Evans interviewed PHP and Drupal developer Oliver Davies.
A Week of Symfony #716 (14-20th September 2020)
This week, the upcoming Symfony 5.2 version introduced a new RateLimiter component and built the first feature on top of it: login throttling. In addition, a new feature was merged into HttpClient component to automatically retry failed HTTP requests. Finally, the first speakers of the SymfonyWorld 2020 online conference were announced.
Ben Shares His Experience With WordPress Themes, Plugins and Content
Today in this latest edition of interviews, we have Ben, an avid writer by choice. He loves creating content about WordPress, whether it’s how-to’s, reviews, or general opinion.
New Video From Christoph Rumpel: Code Snippets with PhpStorm Live Templates
PhpStorm tips with Christoph Rumpel is a video series where you can learn how to improve your Laravel experience in PhpStorm. In this episode, Christoph demonstrates how to use the code snippets already provided, how to create custom ones, and how to add dynamic features to make them context-aware.
How Green is Your Cloud Business: The Cloud Jewels
Cloud providers generally do not disclose to customers how much energy their services consume, the reason why Etsy team created a conversion factors called Cloud Jewels to help estimating energy used in the cloud.
Super Mario Bros. 3 in 3 minutes
World record speedrun explained.
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 firstname.lastname@example.org
Interesting Projects, Tools and Libraries
The simple, lightweight and yet powerful PHP framework.
The Yaml component loads and dumps YAML files.
Free shopping cart platform built with PHP, jQuery HTML 5 and CSS 3.
STUBS are normal, syntactically correct PHP files that contain function & class signatures, constant definitions, etc. for all built-in PHP stuff and most standard extensions.
User friendly and very flexible issue tracking system, that can be used by a support department to track incoming technical support requests, or by a software development team to quickly organize tasks and bugs.
WordPress plugin that provides instant switching between user accounts.
Disciple Tools is a coalition management system for disciple making movements.
Flexible, feature-rich, free open-source content management platform that empowers hundreds of thousands of individuals and organisations around the world to easily manage their web site.
A Simple GUID creator Laravel Package for PHP.
Drag and Drop Website Builder and CMS with E-commerce.
Another web based photo gallery.
Self hosted project management and collaboration tool powered by Laravel & VueJS.
Please help us by clicking to our sponsor:
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?