Here it is PHP fans - the 300th edition of phpweekly.com!
Issue number 1 was delivered to 7 subscribers on April 26th 2013. Issue number 300 will be delivered to over 16,000 subscribers!
We would not be where we are today without the help and support from you in the PHP community, from our faithful readers to the article writers, from the bloggers to the podcasters, from the tutors to the speakers.
So for that we want to simply say Thank You and here's to Issue number 400.....
Cheers
Katie and Ade |
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.
|
Articles
Fostering Diversity Of Thought
During the SymfonyCon hackathon members of the diversity initiative met to discuss how to improve diversity in the Symfony community. Increasing diversity of thought is a huge opportunity to grow collectively as a community.
Best PDF Viewers for WordPress Compared
PDF files are an efficient and time-tested way to share and display documents, but there are some limitations when you do not have a PDF viewer for your website.
Why Framework Choice Matters in Web Application Security
One of the oldest clichés in web application security is that, “It doesn’t matter which framework you choose, if you know what you’re doing”. In my experienced opinion, off the back of a career in the web security industry, this notion is completely false! This blog post explains why.
Best WordPress Security: Top Tools and Best Practices
Poorly secured WordPress websites are a favorite hacker target. Use these tools and advice to keep them out.
WordPress to Show Warnings on Servers Running Outdated PHP Versions
The WordPress open-source content management system (CMS) will show warnings in its backend admin panel if the site runs on top of an outdated PHP version. The current plan is to have the warnings appear for sites using a PHP version prior to the 5.6.x branch (<=5.6).
I’ve worked for organisations of every size, from being employee #1 to starting at #25 to a massive US federal department. Further, I’d advised companies starting from a single founder to a couple hundred employees. From being on every side of that, one of the things I’m most sensitive to is job title, but probably not for the usual reason: In many places, a job title denotes authority.
|
Tutorials and Talks
Building a Laravel Translation Package – Launching the Package
With the pre-launch checklist completed, it’s time to go ahead and make our package available for others to use.
How to Use AJAX in PHP and jQuery
Today, we’re going to explore the concept of AJAX with PHP. The AJAX technique helps you to improve your application's user interface and enhance the overall end user experience.
Writing Better Drupal Code with Static Analysis using PHPStan
PHP is a loosely typed interpreted language. That means we cannot compile our scripts and find possible execution errors without doing explicit inspections of our code. It also means we need to rely on conditional type checking or using phpDoc comments to tell other devs or IDE what kind of value to expect. Really there is no way to assess the quality of the code or discover possible bugs without thorough test coverage and regular review.
How to Create Your First PHP Twig Static Website in under 2 Minutes with Statie
Do you like to write or create micro-sites? This post is for you. Statie is now the most downloaded PHP Twig static site generators, even surpassing 7-years old Sculpin by 200 downloads a month. On the other hand, Sculpin is about to release version 3 creating healthy competition. As you can see, Static websites are on the rise in PHP and they were never used more than now. It's time to make creating a new static website simple for everyone.
Nextcloud Public Share: Missing Password
After upgrading from Nextcloud 13 to 14, someone told me they could not access files in one of our public, password protected, Nextcloud shares.
Hosting WordPress Yourself: Moving WordPress to a New Server
In part 11 of Hosting WordPress Yourself I demonstrated how to update a server’s packages (including PHP). However, I didn’t show how to upgrade the server itself, because it’s not something I recommend.
Tips to Speed up Your Phpunit Tests
Having a fast test suite can be just as important as having a fast application. As a developer, getting feedback quickly about the state of your code allows for a much quicker development turnaround. Here we are going to run through some tips you can implement today to make your tests run faster.
407 Proxy Authentication Required
407 Proxy Authentication Required is an error a HTTP proxy returns if it requires authentication. It’s really similar to 401 Unauthorised.
Faster Code Coverage
Code Coverage found its way into the PHP world back in 2003 when Derick Rethans started to add support for it to Xdebug. It would take until 2007, though, for this feature to make it into a stable release, Xdebug 2.0.
Controlling Responsive Image Sizes in WordPress
From WordPress 4.4 there is default support for responsive images which works invisibly under the hood mostly like a charm. Although it is work by default, there can be cases when we want to alter it, so let’s dive into a little bit. |
News and Announcements
PHP 7.3.1 Released
The PHP development team announces the immediate availability of PHP 7.3.1. This is a security release which also contains several bug fixes. All PHP 7.3 users are encouraged to upgrade to this version.
PHP 7.2.14 Released
The PHP development team announces the immediate availability of PHP 7.2.14. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version.
PHP 7.1.26 Released
The PHP development team announces the immediate availability of PHP 7.1.26. This is a security release which also contains several bug fixes. All PHP 7.1 users are encouraged to upgrade to this version.
PHP 5.6.40 Released
The PHP development team announces the immediate availability of PHP 5.6.40. This is a security release. Several security bugs have been fixed in this release. All PHP 5.6 users are encouraged to upgrade to this version.
Laravel 5.7.20 Released
The Laravel team released 5.7.20 this week with added chunkById() support on model relations, a new collection method, and some new FilesystemAdapter assertion methods.
Nominations Are Now Open For The 2019 Aaron Winborn Award
The Drupal Community Working Group is pleased to announce that nominations for the 2019 Aaron Winborn Award are now open. This annual award recognises an individual who demonstrates personal integrity, kindness, and above-and-beyond commitment to the Drupal community. It will include a scholarship and stipend to attend DrupalCon and recognition in a plenary session at the event.
PHP Benelux - 25-26th January 2019, Antwerp
The 10th edition of the conference takes place in January and this time all activities will be retro-themed. We will be looking back on all the good vibes of the old days to see what has changed over the years. This two-day event will bring you experts from all over the world that will educate you in our workshop and presentation sessions. The last few tickets are on sale now.
PHP UK Conference - February 20th-22nd 2019, London
We are pleased to announce the 14th Annual PHP UK Conference. An optional workshop day followed by two days of amazing talks, plentiful networking opportunities and great socials. With over 600 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. There are countless networking opportunities to engage with international speakers and delegates, making the event one you won't want to miss. Tickets are on sale now.
MageTestFest - March 5-8th 2019, Florence Italy
All the ingredients you like as a developer. Let our great set of speakers blow you away. Join developers from all around the world for this unique and leading event. Are you going to be there? Join us at the most exciting developer-centric Magento event ever! With two days of workshops followed by the conference and hackathon. Tickets are on sale now.
Laracon Online 9:45am EST March 6th 2019
Laracon Online 2019 is coming to a couch near you on March 6th, 2019! Back and better than ever in this 2019 edition, you will hear from the likes of Laravel creator Taylor Otwell, Tighten Partner and Laracon US speaker Matt Stauffer, Refactoring UI tag-team Adam Wathan and Steve Schoger, Laracon US speakers Freek Van Der Herten and Samantha Geitz, and Laracon 2018 EU speaker Marcel Pociot. Just like last year, the event is hosted entirely online and the event is super affordable for the early bird price of $12. Tickets are on sale now.
|
Podcasts and Vlogs
LaraChat Live - Episode #39
This week, with Sean off sick, Eric holds the fort and is joined by Jason, Joe, TJ and Matt.
PHP Ugly Podcast #135: Visual Gags
This week Eric, Thomas and John discuss various topics including Serverless PHP on AWS Lambda.
North Meets South Web Podcast Episode 52: New Year Goals, Returning To The Gym and Snow Shovelling Alternative
Jake and Michael return for 2019, sharing their personal and technical goals for the year, talk about refactoring legacy code and introducing tests, and Jake shares more of his adventures with Laravel Nova.
PHP Web Development Podcast EP#29 - Why Are Companies Hesitant to Offer Remote Working?
In this session we will be discussing remote working. Rafael will be explaining why remote working sometimes benefits the company when done correctly. With the agile techniques, that should deal with the trust issue because it’s hard to hide anything. He will share some advice for companies who are considering remote working.
Beachcast Tech Videos - Create PHP Middleware with Zend Expressive Modules, and Using Routing with FastRoute.
Create Zend Expressive modules using command line tooling. And create a middleware Handler and the routing needed for it to resolve using FastRoute. To finish up he creates a RoutesDelegator to handle module specific routes within the module rather than housing routes for the entire application together.
Full Stack Radio Podcast Episode 106: Sam Selikoff - Single Page Application Architecture
In this episode, Adam talks to Sam Selikoff about single page application architecture, and why you should think of client-side applications like desktop applications. |
A Week of Symfony #628 (7-13 January 2019)
This week, thanks to the low development activity, we enabled the usage of the PHP short array notation on Symfony code. In the coming weeks we'll update all our code at once to minimise merge conflicts. Meanwhile, the community proposed some Security-related improvements about Remember me config and IS_AUTHENTICATED_* attributes.
New in PHP 7.4
PHP 7.4 will probably be released somewhere December 2019. This page will receive regular updates meanwhile. Last update was January 14, 2019.
Cloudways Interview - Dennis Dornon on WordPress Website Management with MainWP
Dennis Dornon is the Co-Founder of MainWP WordPress plugin for managing multiple WordPress sites. He felt the need of such a tool to help himself and fellow WordPressers in managing multiple WordPress sites from a single dashboard.
Using GraphQL with Laravel and Vue
In this video tutorial Andre Madarang gives a clear intro in how to use GraphQL in a Laravel app. The packages he uses are Lighthouse and vue-appolo.
The Month in WordPress: December 2018
New features, a big event and important announcements marked December as a milestone month for the WordPress community.
Time Again to Review the DrupalCon Code of Conduct
This time last year, members of the community collaborated on a major update to the DrupalCon Code of Conduct and it proved to be a success. It is now time for this year’s review period. |
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
no-captcha
No CAPTCHA reCAPTCHA For Laravel.
myaac
A free and open-source Automatic Account Creator (AAC) written in PHP.
grav
Modern, crazy fast, ridiculously easy and amazingly powerful flat-file CMS.
git-wrapper
A PHP wrapper around the Git command line utility.
latitude
A SQL query builder for PHP with zero dependencies.
qrcode
This library helps you generate QR codes in a jiffy.
telegram-api
Complete async capable telegram bot API implementation for PHP7.
ac-php
Emacs auto-complete & company-mode for PHP.
nolovia
An ad/malware blocking configuration file generator for bind, NSD and other DNS resolvers.
mellivora
A CTF engine written in PHP.
valet-plus
Blazing fast macOS PHP development environment.
cimage
Server-side image resizing and cropping on the fly with caching of generated image-files using PHP. |
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?
|
|