Best of PHPJanuary 2022

  1. 1
    Article
    Avatar of logrocketLogRocket·4y

    Modern tools for PHP developers

    PHP used to be a mediocre tool, and that’s probably an understatement. Since being rewritten in v5.0, the evolution of the language and its tools has been impressive. With the complexities involved in web development nowadays, you can’t judge the language in isolation. You need to be aware of all the satellite technologies that help you create high-quality software.

  2. 2
    Article
    Avatar of hnHacker News·4y

    PHP in 2022

    PHP 8.1 was released just a little more than one month ago. New features include enums, promoted properties and fibers. PhpStorm is now supporting generics when writing code. The PHP Foundation is stepping down to make core development sustainable. There's also a new initiative backed by several big companies to make PHP sustainable.

  3. 3
    Article
    Avatar of devtoDEV·4y

    My $646 mistake with PHP

    I pinged the Places API 17,000 times in one hour. A while loop in PHP will run until it gets a false back. I was using the $response['next_page_token'] from the initial request which will always return true. The value that I put in the while loop always returns true and therefore sends the whileloop into an infinite loop.

  4. 4
    Article
    Avatar of swcdSweetcode·4y

    Security Best Practices in PHP

    According to a 2019 report by Accenture , security vulnerabilities have surged by 67 percent since 2013, including web apps that use PHP. PHP web applications are vulnerable to a variety of attacks, including cross-site scripting (XSS), SQL injection, local file inclusion, and path traversals. As a result, recommended practices for securing PHP applications are a necessity.

  5. 5
    Article
    Avatar of oktaOkta Dev·4y

    Authentication Patterns for PHP Microservices

    In this tutorial, you’ll see how to build a small demo application consisting of four microservices and a simple API gateway. This tutorial also heavily utilizes Okta for the various authentication patterns you will implement. The tutorial will cover any operations you need to perform as they come up later.