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

Welcome to the latest phpweekly.com

This week sees the Laravel team release 6.14.0 with various additions, fixes and changes, and WordPress 5.4 Beta 1 is now available for testing.

We also take a look back at what went on with the Drupal Association in 2019, and learn what the community has planned for 2020.

Plus the February issue of the php[architect] magazine looks to focus on elevating the developer experience for all. 

And finally, the inaugural WordCamp Asia event, which was planned to take place in Bangkok on February 21st, has been cancelled due to COVID-19.

We love hearing from you so if you have written, read or heard anything you think the PHP community would be interested in please get in touch!


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

The Drupal Association's Look Back at 2019...and Plans for 2020
There’s much to reflect on from 2019 as the Drupal Association (DA) accomplished many organisational goals while also welcoming big leadership changes and supporting the evolution of Drupal as a product and project. We draw our strength from a global community of Drupal enthusiasts and are proud of the progress, innovation and momentum that encompassed 2019.

What Is WordPress?
I'll begin by assuming that you have no prior experience of WordPress whatsoever; I shall start with the basics. In this tutorial, I'll answer the question: "What is WordPress?"

These Are The Exact Skills You Need To Get a Job in Artificial Intelligence
Artificial intelligence is all the rage, and there’s good money to be made in an industry that’s still largely emerging from its infancy. But, the problems that AI solves are not easy, and to work in the AI industry you will need a strong and focused set of skills.

How Is Your Website Impacting The Planet?
The internet consumes a lot of electricity. 416.2TWh per year to be precise. To give you some perspective, that’s more than the entire United Kingdom. From data centres to transmission networks to the devices that we hold in our hands, it is all consuming electricity, and in turn producing carbon emissions.


A Guide to Starting and Running a Successful WordPress Agency
Listen to enough origin stories of successful WordPress agencies and you’ll notice they sound eerily similar. The founders were working as freelance designers or developers, building websites while simultaneously running their small (or solo) businesses. Inevitably, they started to look around and wonder if there were opportunities they were missing out on — ones that would make their jobs easier, their lives more fulfilling and their businesses more profitable.

Tutorials and Talks

PHP is A-OK for Templating
PHP templating often gets a bad rap for facilitating subpar code — but that doesn't have to be the case. Let’s look at how PHP projects can enforce a basic Model, View, Controller (MVC) structure without depending on a purpose-built templating engine.


Enums Without Enums in PHP
Enums are still lacking in PHP, yet there is a clean way to have enum-like behaviour in your code bases, without using external dependencies. Take the example of date range boundaries: its boundaries can be included or excluded.


Laravel Jobs and Queue 101: Queue Connections, Using Multiple Queues and Setting Up Priorities
Now that you’ve learned the basics of jobs and queues in Laravel with part 1 of this series, let’s learn about how we can use different queue connections (other than the database one), how we can use multiple different queues for different jobs, and how we can prioritise some jobs/queues over others.


How to Add Tables in WordPress Using WP Table Builder
In this article, I’m going to show you how to add tables in WordPress quickly without any technical knowledge or the need for writing code. I’ll be using a WordPress table builder plugin named WP Table Builder.


How to Add Social Media Icons to WordPress
Today, social media is one of the most effective ways to market your WordPress website, earning you invaluable word-of-mouth promotion, boosting your SEO, and helping you build a closer relationship with your audience. So why make it difficult for visitors to connect with you on Facebook, Twitter, Instagram, and all of the major social media platforms?


Commands to Install PHP Composer on Any Linux Such as Ubuntu
Composer is a PHP-based dependency manager that can be installed using PHP on Windows, macOS, Linux or FreeBSD using PHP itself. In short, it allows to install or update the libraries you need to manage any particular PHP project. For example, if we want to install a PHP based web framework called Silex. We can install it on PHP installed system with just one command of the Composer.


Manage Docker Containers Using PHP
Last week, my colleague Ruben and I released a package called spatie/docker, that makes it easy to spin up docker containers and execute commands on them. In this blog post, I'd like to introduce what you can do with it and why we built this.


Containerise Your Laravel Application (Docker 102)
How to Implement Laravel applications using Docker and docker compose.

How To Run Rector and PHPStan on Huge Project in 3 Seconds with PHPStorm
Today we'll look at the command line and run performance heavy dev tools like Rector or PHPStan on our projects. I'm guessing that it takes more than 10 seconds to run whatever project you use. How would you like it be less than 3 seconds with just one click in PHPStorm?
News and Announcements 

Laravel 6.14.0 Released
The Laravel team released v6.14.0 this week with a new dispatchAfterResponse() method, macroable dispatcher and a NoPendingMigrations event.

WordPress 5.4 Beta 1
WordPress 5.4 Beta 1 is now available for testing! This software is still in development, so we don’t recommend running it on a production site. Consider setting up a test site to play with the new version.


WordCamp Asia Cancelled Due to COVID-19
I’ve arrived at the difficult decision to cancel the inaugural WordCamp Asia event, which was planned to take place in Bangkok on February 21st. The excitement and anticipation around this event have been huge, but there are too many unknowns around the health issues unfolding right now in the region to explicitly encourage a large public gathering bringing together over 1,300 people from around the world.


PHP UK Conference - 19th-21st February 2020, London
PHP UK is pleased to announce the 15th Annual PHP UK conference; a 2-day event with 3 great tracks held at The Brewery, in the heart of the City of London. With over 700 delegates, speakers and sponsors, PHP UK conference aims to deliver fantastic up-to-date content about PHP and related web technologies in a comfortable and professional setting. Tickets are on sale now.

PHP Russia - 15th May 2020, Moscow
The PHP Russia is an annual web technology conference with PHP stack related topics. We have invited best speakers from Russia and all around the world to share their knowledge and experience with more than 500 attendees in Moscow, Russia. The Call for Papers is now open.

PHP Wales Conference - 3rd-4th June 2020, Cardiff
The first annual PHP Wales Conference. A 2 day event full of talks and workshops, inside Cardiffs City Hall on the 3rd and 4th June 2020. Please subscribe to our newsletter to be kept up to date.

Oscon - July 15-18th 2018, Portland
For over 20 years, OSCON has been the focal point of the open source movement. OSCON provides complete coverage of open source technology and projects, no matter the origin or affiliation. Rather than focus on a single language or aspect, our program solely focuses on projects in areas of innovation including cloud, AI, infrastructure, blockchain, edge computing, architecture and emerging languages. Tickets go on sale next month.

Podcasts and Vlogs

PHP Internals News: Episode 39: Stringable Interface
In this episode of "PHP Internals News" I chat with Nicolas Grekas (Twitter, GitHub, LinkedIn, Symfony Connect) about the new "Stringable Interface" that Nicolas is proposing, as well as about voting rights (on RFCs).


MageTalk Magento Podcast #213  – “I’ve Lost 3 Stone of Stress this Week” w/ Rebecca Brocton
The boys are joined in today's episode by Rebecca Brocton and they discuss mental health, how to battle impostor syndrome, and how to overcome social anxiety when attending community events. Listen now!


Full Stack Radio Podcast Episode 134: Mark Dalgleish - You Should Be Using Layout Components
In this episode, Adam talks to Mark Dalgleish about common mistakes people make in their approach to constructing layouts, and how dedicated layout components can make your component system much easier to work with.


PHP Ugly Podcast #176 - Totally Classless
This week Eric, Thomas and John discuss SSE Updates.

North Meets South Web Podcast Episode 69: Tracking Task Executions, Identifying Missing Tasks and Long Episode Names
Jake and Michael get deep into discussion on approaches to tracking scheduled tasks, identifying when tasks go missing, and talk about varying task states.


Post Status Draft Podcast - Syed Balkhi on Awesome Motive’s Acquisition of All In One SEO
In this episode of Post Status Draft, I talk to Syed Balkhi about Awesome Motive’s acquisition of All In One SEO, the long-running SEO plugin by Michael Torbert, which boasts more than 2 million active installs.

Reading and Viewing

php[architect] Magazine February 2020 - Cultivating the Developer Experience
In the February 2020 issue, let’s focus on elevating the developer experience: efficient code reviews, trying out pair programming, and leveraging Open Source. On the technical side of things, we look at integration testing, TLS security and GitHub actions.


What is a Model?
Models are a concept central to software design and the term couldn't have more definitions. In this episode, we explore what it means to be a model in multiple contexts relevant to us. We discuss mental models, shared models, data models, effective reduction, and domain-models to explore how we can maintain focus on ideas relevant to our system and to more easily keep software up-to-date through changes in our business.

A Week of Symfony #684 (3-9 February 2020)
This week, Symfony development activity soared, with tens of bug fixes and new features merged across all components. The new features include support for PostgreSQL LISTEN/NOTIFY in the Messenger component, allow to define priorities in route annotations, the option to define a reusable set of constraints and some improvements related to deprecations. In addition, the SymfonyLive Paris 2020 conference announced the first part of its schedule.


Why Raising WordPress’ Minimum PHP Version Won’t Make It a Modern PHP Project
At the State of the Word 2018, Matt Mullenweg made a lot of different announcements. Most of them focused on Gutenberg, but a few didn’t. One of those was a proposal by Gary Pendergast to increase WordPress’ minimum PHP version. This announcement received a lot of applause. That’s because it made a lot of people (especially developers) excited. WordPress still had a minimum PHP version of 5.2 at the time. This PHP version hadn’t been supported in more than eight years.

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

mutton
Simple, easy to use, full functionality of the PHP framework.


quantum-php-core
Very fast and extremely simple PHP MVC framework of the next generation with a modular structure that allows you to create any kind of projects.

PHPDebugConsole
Browser/javascript like console class for PHP.

aggregator
A stand-alone class implementation of the IPv4+IPv6 IP+CIDR aggregator from CIDRAM.

phpgeo
Provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision.

soluble-mediatools
Flexible audio/video conversions and thumbnailing for hiphpies. Wraps around ffmpeg and ffprobe and exposes most of their features, like scaling, clipping, filters, transcoding, audio extraction and much more.

heroesprofile
Heroes Profile is an open Heroes of the Storm stat site. Providing players with Global Hero Statistics, Personal Profile, MMR, Comparisons, Amateur series, and much more.


options-resolver
The OptionsResolver component is array_replace() on steroids. It allows you to create an options system with required options, defaults, validation (type, value), normalisation and more.


messenger
The Messenger component helps application send and receive messages to/from other applications or via message queues.


jigsaw
Simple ways to make admin customisations for WordPress. You know all that brain space you saved for memorising hooks? Use it for something better.


php-mock
PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). 

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