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 5, 2020

Welcome PHP Fans.

Laravel 7 was released this week with lots of new features, including a new HTTP client and CORS support.

Symfony also announced several releases; Symfony 5.0.5, 4.4.5 and 3.4.38, all available now.

If you couldn't make it to last years Laracon Australia in Sydney, you can watch all of the videos online for free.

Plus with PHP 8 scheduled for release later in the year, we take a look at what developers have already been working on.

And finally, the Longhorn PHP Conference has been announced taking place in Texas this October. You can get your Blind Bird tickets now, plus the Call for Papers is already open.

Enjoy your read,


Cheers
Katie and Ade

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

Looking At The PHP 8.0 Performance So Far In Early 2020
With it being a while now since the PHP 7.4 release and the PHP developers continuing to be busy at work on PHP 8.0 as the next major installment of the popular web programming language, here is a fresh look at the performance of PHP 8.0 in its current state -- including when its JIT compiler is enabled -- compared to releases going back to PHP 5.6.


How Many Days of Technical Debt Has your PHP Project
Every project has technical dept. But how would you measure it? With cognitive complexity? The age of the framework? Any other guess? This year I've started to use CI service, which tells you the number in days. And it works pretty well... how many days Rector has? Keep on learning.

Is All Code in Vendor Infrastructure Code?
During a recent run of my Advanced Web Application Architecture training, we discussed the distinction between infrastructure code and non-infrastructure code, which I usually call core code. One of the participants summarized the difference between the two as: "everything in your vendor directory is infrastructure code". I don't agree with that, and I will explain why in this article.


Understanding PHP 8's JIT
PHP 8’s Just In Time compiler is implemented as part of the Opcache extension and aims to compile some Opcodes into CPU instructions in runtime. This means that with JIT some Opcodes won’t need to be interpreted by Zend VM and such instructions will be executed directly as CPU level instructions.

Tutorials and Talks

Your 4 Step Guide on Deploying WordPress on a VPS
WordPress is easily one of the most popular and versatile content management systems in existence today, and for good reasons too. It can be used to create all types of websites and blogs and it also provides flexibility in terms of customisation.


How to Login to Your WordPress Site Admin Dashboard
In this WordPress quick tip you’ll learn how to log into your WordPress site’s admin dashboard.


PHP 7 Can Do That ?
PHP 7 has significantly improved overall performance. Indeed there are major features such as null coalescing operator or return type declarations. You should definitely check PHP documentation if you do not know them. Here are less known features that might be useful.


Repository in PHP [Design Pattern With Examples]
Add some spice to the love story with your PHP framework introducing another layer.


How I Found and Fixed a Bug in PHP's Standard Library
I’ve been a software developer at EBANX since 2016. There we have a mechanism called Release Candidate. Every time we deploy something new to our monolith PHP system we end up deploying it first to the release candidate server.


Typescript Is Changing How I Write Code
Typescript is not just Javascript + types. Using TS more is slowly altering how I think about how my code should be written. My code is becoming more functional, and I’m incentivized to write things in a way that typescript is more likely to catch.


How To Fix Wp-Feed.php and Wp-Tmp.php Malware in WordPress
Are your visitors complaining about spam ads on your WordPress website but you don’t see any? Is your malware scanner alerting you that “your site is hacked” but it looks fine to you? Did you know that a hacker can hide the hack from you? Hackers find clever ways to disguise their hacks from site owners so that it goes undetected for a long time. Two common and well-disguised hacks are the wp-feed.php hacks and the wp-tmp.php hack.


Benchmarking The Performance Overhead To The Linux Kernel Runtime Guard
Following recent discussions about Openwall's Linux Kernel Runtime Guard (LKRG) and the Whonix spin on LKRG for Debian systems and more, here are some benchmarks showing the performance overhead to this run-time integrity checking of the Linux kernel that aims to fend off security vulnerability exploits.


An Introduction to MongoDB
MongoDB is a cross-platform, open-source, NoSQL database, used by many modern Node-based web applications to persist data. In this beginner-friendly tutorial, I’ll demonstrate how to install Mongo, then start using it to store and query data. I’ll also look at how to interact with a Mongo database from within a Node program, and also highlight some of the differences between Mongo and a traditional relational database (such as MySQL) along the way.


Zero-Configuration SSL CA Root Bundles in Doctrine DBAL with Symfony
Today I found myself deploying a Symfony project to an Azure environment that requires SSL connections to MySQL. I figured this out the hard way when I started getting these errors...
News and Announcements 

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

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

Symfony 3.4.38 Released
Symfony 3.4.37 has just been released
with a list of the most important changes

Laravel 7 Is Now Released!
Laravel 7 is now released and includes many new features including Laravel Airlock, better routing speed, custom Eloquent casts, Blade component tags, fluent string operations, a new HTTP client, CORS support, and many more features.


Laravel Livewire v1.0 is Here
Laravel Livewire by Caleb Porzio has reached v1.0 today. Livewire is “a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.”

Midwest PHP Conference - 2nd-4th April 2020, Minnesota
The Midwest PHP Conference is hosted by the Minnesota PHP User Group community through the North Foundation in Bloomington, Minnesota. Our goal is to share best practices, ideas and techniques about building state-of-the-art software applications. Tickets are available now.

PHP Serbia Conference - 21st-23rd May 2020, Belgrade

PHP Srbija (PHP Serbia) is a voluntary, non-governmental and non-profit association which gathers PHP experts and enthusiasts, with the goal of popularisation of PHP programming language, as well as sharing knowledge and experiences among the community of PHP developers in Serbia. Tickets are on sale now. 

Longhorn PHP Conference - 15-17th October 2020, Austin Texas
Longhorn PHP is a 3-day conference in Austin, Texas to help PHP developers level up their craft and connect with the larger PHP community. Our main goal as a conference is to equip attendees to be better developers. If you work with developers or alongside developers, we'll showcase tools and techniques to level up your ability to solve the problems you face every day. The Call for Papers is open and Blind Bird Tickets are on sale now.

Nomad PHP - March 19, 2020 at 11:00am PDT Hypermedia, Presented by Adam Culp.
You have a great REST API, but now your API users have no idea what it is capable of. They are forced to search documentation to know what they can do next with limited data provided in responses. Let's talk about hypermedia, and what should be done in modern PHP REST APIs. We'll investigate standards, and the Richardson Maturity Model. Plus, I'll show tools to help you get there.

Podcasts and Vlogs

Voices of the ElePHPant - Interview with Sara Golemo and Derick Rethans
This weeks interview by Cal Evans is sponsored by Using the WordPress REST API.

PHP Internals News: Episode 42: Userspace Operator Overloading
In this episode of "PHP Internals News" I chat with Jan Böhmer (GitHub, LinkedIn) about the Userspace Operator Overloading RFC.


PHPUgly #178: RawBusiness
This week Eric, Thomas and John discuss some on the tougher days of running a small development business. They also talk about Eric's excitement over AlpineJS and Livewire. They also discuss Eric's effort to get CouchDB working with the Sushi package feeding directly into a Laravel Model. Also, is there a new HTTP client in development for the next release of Laravel?


php[podcast] Episode 29:Jennifer Schrader on Pair Programming, Coding Interviews
In the February episode, we dive into the issue Cultivating the Developer Experience and interview Jennifer Schrader.

Reading and Viewing

PHP to Hack, An Incrementally Typed Adventure at Slack
Senior Staff Engineer at Slack, Scott Sandler, gave a keynote at the International PHP Conference about how Slack migrated its multi-million line PHP codebase to Facebook’s Hack programming language. Find out what they learned, what challenges they faced, and what PHP programmers can learn from the journey.

Web Scraping with PHP, 2nd Edition - Learn How To Automate The Web with PHP
Are you integrating with another web site but an API is not available? Does their API not provide what you need? Web scraping is a time-honored technique for collecting the information you need from a web page. In this book, you’ll learn the various tools and libraries available in PHP to retrieve, parse, and extract data from HTML.

Vue.js: The Documentary
The people at Honeypot have been working on a new Vue.js documentary and it is now live on Youtube.

Companies Are On a Full Stack Developer Hiring Spree. Here’s How You Get On Board
The 2020 Learn to Code Full Stack Developer Certification Bundle is a primer with training in everything a well-rounded coder needs to know.


A Week of Symfony #687 (24 February - 1 March 2020)
This week, Symfony 3.4.38, 4.4.5 and 5.0.5 maintenance versions were released. In addition, the upcoming Symfony 5.1 version added new security attributes to simplify the way you check for logged in, remembered and anonymous users. Finally, the SymfonyLive Lille 2020 conference took place and the SymfonyLive Paris 2020 conference announced the end of its regular registration period.


Laracon Australia 2019 Videos
The Laracon Australia 2019 videos are available for everyone’s browsing pleasure on the Laracon AU website. For those of us that couldn’t make it to Sydney, Australia, we can watch the conference in its entirety online for free!

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

monica
Monica is a great open source personal relationship management system. Remember everything about your friends, family and business relationships.


swoole-bundle
Symfony integration with Swoole to speed up your applications.

sdk-php
PHP wrapper for Invoice Ninja's REST API.

herbie
Herbie is a simple Flat-File CMS- und Blogsystem based on human readable text files.

graphqlbundle
This bundle provides tools to build a complete GraphQL server in your Symfony App.

highlight.php
Highlight.php is a server-side syntax highlighter written in PHP that currently supports 185 languages.

phpbrew
Phpbrew builds and installs multiple version php(s) in your $HOME directory.

await-generator
A library to use async/await in PHP using generators.

app-tutorial
This is the tutorial app which shows how to develop a very simple notes app.

security-advisories
The PHP Security Advisories Database references known security vulnerabilities in various PHP projects and libraries.

webfiori
Web framework which is built using PHP language and is fully object oriented (OOP).


phpsocket.io
A server side alternative implementation of socket.io in PHP based on workerman. 

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