|
Welcome to the latest edition of phpweekly.com.
This week sees the latest releases from Backdrop and PhpStorm.
Have a good week,
Stay safe and well.
All the best,
Ade and Katie
|
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
A Storm in a Glass of Water
I just read a post about PHP 8 that I couldn't just silently ignore. The author voices their concerns about how upgrading to PHP 8 isn't an easy path, and how open source maintainers have to struggle to be able to support PHP 8 on top of their existing codebase.
Angular vs Vue: Which Framework You Should Choose
Web apps aren’t just improving but seem to be increased every year. Anybody requires a heart to function and your website carries the same importance to your overall online presence.
What Does CodeIgniter Have to Beat the Other PHP Frameworks in 2021?
Out of 15 PHP frameworks, if this article is dedicatedly drawn for one of those fifteen, there must be something in that one, which is worth knowing and justifiable to the readers to calm their curiosity down with adequate information and knowledge.
Why Is Apple’s M1 Chip So Fast?
Real-world experience with the new M1 Macs has started ticking in. They are fast. Real fast. But why? What is the magic? |
Tutorials and Talks
Understanding the sole() Query Builder Method
Laravel 8.23 introduces a sole() method on the query builder, which retrieves a single record but also has additional assertions. Sole is useful when you need a single row from the query and assert the query only matches one record.
Create a Google Login Page in PHP
In this article, I’m going to explain how to integrate Google login in your PHP website. We’ll use the Google OAuth API, which is an easy and powerful way to add Google login to your site.
How to Detect Complex Duplicated Methods With PHPStan
Duplicated code is a code smell that hides the potential of better design. How can we find it? Is it 100 % identical code token by token? Are methods getName() and getName() on 2 entities duplicated? Today we look at PHPStan and how to use it to find duplicated class methods.
How to Use Adminer to Manage Databases Easily with a Single PHP File
Managing MySQL databases is one of the fundamental requirements of being a professional WordPress developer. Adminer simplifies that task immensely.
Prevent Laravel XSS Exploits Using Validation and User Input Sanitisation
In this article, I will talk about Laravel validation and how you can sanitise form inputs to prevent Laravel XSS exploits from harming your Laravel applications.
What is an SVG File Used For and Why Developers Should be Using Them
Today I’ll be taking a look at what SVGs are and why you should start using them, and how to get started even if you’re not a designer yourself.
Building an Easily Distributable Single-file Command Line app with PHP and Composer
In May 2020, Symfony released version 5.1 of their components and included something truly beautiful for us developers: The SingleCommandApplication class. This allows you to define and immediately run a command line app in 32 lines of code.
Reading SSL certificates in PHP
A recent project required me to write a automated SSL certificate checker that would ping me every-time a SSL renewal is due. The project required to parse a handful of client sites and get the SSL information. Reading a SSL certificate directly from a domain is relatively simple in PHP.
How to Implement a SOAP Server Example using Your Own Classes
SOAP is a mature protocol to implement Web services based on the exchange of XML messages. Setting up a server to implement SOAP based Web services is not a simple task.
Generate eCommerce Purchase Invoice PDF using PHP Script
There are numerous invoice generators available for free online. When you can generate one on your own quickly, then why do you need to go elsewhere? This article will help you to generate an eCommerce purchase invoice with a sleek and clean template.
How to Encrypt and Decrypt Image Path in PHP
To Encrypt and Decrypt Image Path in PHP, we use 3 main PHP inbuilt functions.
Generating Unique, Random-looking Voucher Codes
When you have an application with paid features, you might want to distribute voucher codes to give users (free or cheaper) access to your application. Generating a code in a specific format might be easy. Ensuring that every voucher code is unique and seems random, that's not so easy. That is especially the case if you need to generate thousands (or millions) of voucher codes. In this post, I will explain how you can solve this problem.
Magento PHP Injection Loads JavaScript Skimmer
A Magento website owner was concerned about malware and reached out to our team for assistance. Upon investigation, we found the website contained a PHP injection in one of the Magento files
Implementing A GraphQL Server With Components In PHP
GraphQL is a query language for APIs, which gives clients the power to ask for exactly what data they need and receive exactly that, nothing more or less. This way, a single query can already fetch all the required data to render a component. |
News and Announcements
Backdrop 1.18 Released!
The Backdrop community is proud to announce version 1.18 of Backdrop CMS, which was released on January 15, as scheduled.
PhpStorm 2020.3.2 RC
The release candidate build for PhpStorm 2020.3.2 is available.
Laravel Versions
Laravel Versions is a new project that features release dates and timelines for security and bug fixes for all versions of Laravel.
CFP and CFT for SymfonyLive Online Conferences End Next Week
We’re thrilled to meet you online for our upcoming SymfonyLive conferences! Our CFP and CFT for all SymfonyLive Online conferences end next week, on February 1st 2021. Send in your talk and workshop proposals and be a speaker or a trainer of an online SymfonyLive conference!
Dutch PHP Conference - June 17-18th 2021 Online
In light of health and safety recommendations from public health authorities, and our assessment of the duration of this pandemic, we will be organising the DPC conference as an 100% online event on June 17 & 18, 2021. Call for Papers DPC21 is now open! |
Podcasts and Vlogs
Call It A Day Podcast Ep 13: My Top 3 Business Struggles
In this episode, I want to talk about the top three things I struggle with the most regarding my business.
PHPUgly #220: PHP and Baby Goats
This week on the podcast, Eric, John and Thomas talk about Jetbrains "Code with me" Protocol, Laravel Livewire, PHP Testing, and more...
Andrew Schmelyun Podcast: Getting Started with Laravel Breeze and Jetstream
In this 28 minute video, I'll show you how to install and use the Breeze and Jetstream authentication starter kits in a new Laravel application.
North Meets South Web Podcast Episode 88: New Year, New Job and Developer Salaries
Jake and Michael ring in 2021 with discussions of Michael's new job and developer salaries.
php[architect] Podcast: Interview with Chris Tankersley
Eric and John talk to long-time contributor Chris Tankersley about contributing to the magazine and more. |
People of WordPress: Thelma Mutete
WordPress is open source software, maintained by a global network of contributors. There are many examples of how WordPress has changed people’s lives for the better. In this monthly series, we share some of those lesser-known, amazing stories.
A Week of Symfony #734 (18-24 January 2021)
This week, Symfony made some changes in the default way that JavaScript files are linked from templates. In addition, the Uid component added some utilities to convert from different formats and Symfony improved the handling of CSRF tokens to prevent BREACH security attacks.
Interview with Freek Van der Herten: Living The Dream with Spatie
Agiledrop is highlighting active members of different open-source communities through interviews focusing on their projects and initiatives, as well as trends and innovations in the digital sphere. We got the opportunity to talk with the co-founder of Spatie, Freek Van der Herten, who gave us an exclusive look into the origins and evolution of the company, the conception of Full Stack Europe and some of his favourite projects in the Laravel ecosystem.
Drupal’s Journey from Dorm-Room Project to Billion-Dollar Exit
Twenty years ago Drupal and Acquia founder Dries Buytaert was a college student at the University of Antwerp. He wanted to put his burgeoning programming skills to work by building a communications tool for his dorm. That simple idea evolved over time into the open-source Drupal web content management system, and eventually a commercial company called Acquia built on top of it. |
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
playSMS
PlaySMS is a web interface for SMS gateways and bulk SMS services.
YesWiki
Wiki system written in PHP, including extensions making collaboration more simple (databases, maps, easy editing, bootstrap themes,...).
yang
PHP framework which helps you to communicate with JSON:API servers more easily.
redaxo
Provides you an easy-to-learn website framework that lets you create content from custom modules with full control of any input and output. It is multilingual, highly extendable and adapts to your workflow.
matomo
Matomo is a full-featured PHP MySQL software program that you download and install on your own webserver.
harmony
A simple and flexible PHP middleware dispatcher based on PSR-7, PSR-11, and PSR-15.
znframework
The basic principle of ZN Framework is to let users write simple and readable codes. Because of this principle, our libraries are built by using both dynamic and static access methods with a Powerful Autoloading Architecture.
librenms
An autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.
security-http
Security provides an infrastructure for sophisticated authorisation systems, which makes it possible to easily separate the actual authorisation logic from so called user providers that hold the users credentials.
property-info
PropertyInfo extracts information about PHP class' properties using metadata of popular sources.
uid
Provides an object-oriented API to generate and represent UIDs.
oxideshop_ce
This repository contains the sources of OXID eShop Community Edition Core Component. |
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?
|
|
|
|