Best of PHPMarch 2024

  1. 1
    Article
    Avatar of stitcherstitcher.io·2y

    PHP in 2024

    PHP in 2024 offers continuous evolution with new PHP features being worked on, the emergence of FrankenPHP for performance optimization, the success of Laravel as an open-source framework, the growing interest in PHP from outside the PHP community, and the continuous growth of the PHP ecosystem with Packagist reaching over one hundred billion downloads.

  2. 2
    Article
    Avatar of devtoDEV·2y

    Processing One Billion Rows in PHP!

    This post discusses the author's experience in optimizing a PHP script to process one billion rows of data. The initial naive implementation took 25 minutes to run, but through various optimizations, the runtime was reduced to 27.7 seconds. The optimizations included using fgets() instead of fgetcsv(), using references where possible, adding type casts, enabling JIT, and implementing multithreading.

  3. 3
    Article
    Avatar of communityCommunity Picks·2y

    Is PHP Worth Learning in 2024?

    PHP remains relevant in the tech community, offering career opportunities, simplicity, a strong community, continuous evolution, and high ROI for developers. It is a reliable and powerful solution for building versatile, secure, and scalable web applications.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Transformers PHP

    Deploy NLP models in PHP projects for language understanding and text generation without external APIs.

  5. 5
    Article
    Avatar of lnLaravel News·2y

    How to Detect n+1 Queries in PHP

    The n+1 query problem is a performance issue in software development where unnecessary database calls are made. To detect n+1 queries, developers can use Application Performance Monitoring (APM) tools. Resolving n+1 queries can be done through techniques like eager loading, join queries, or caching.

  6. 6
    Article
    Avatar of lnLaravel News·2y

    "Can I PHP?" Raycast Extension

    The Can I PHP? Raycast extension allows users to check the availability of PHP functions or methods in different versions and view deprecation status.

  7. 7
    Article
    Avatar of lnLaravel News·2y

    Laravel 11 streamlined configuration files

    Laravel 11 introduces streamlined configuration files that allow you to remove unnecessary options and reduce noise in your application.

  8. 8
    Article
    Avatar of lnLaravel News·2y

    Phone Number Formatting, Validation, and Model Casts in Laravel

    The Laravel-Phone package provides validation, formatting, and model casting capabilities for phone numbers in PHP and Laravel.

  9. 9
    Article
    Avatar of devtoDEV·2y

    PHP Local Development Environment Setup Guide: Everything You Need in One Article

    A PHP local development environment is a simulated server environment on a personal computer for developing, testing, and debugging PHP applications. Benefits include rapid iteration, offline development, environment control, and enhanced security. There are several options for creating a PHP local development environment, such as XAMPP, ServBay, WampServer, Laravel Homestead, Docker, and PHP's built-in web server.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    WordPress/WordPress-Coding-Standards: PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

    A collection of PHP_CodeSniffer rules to enforce WordPress coding conventions. Provides code quality and adherence to coding standards.

  11. 11
    Article
    Avatar of communityCommunity Picks·2y

    How to build PHP Coding Standards tailored to your needs? In-depth PHP Code Sniffer tutorial for devs

    Learn how to integrate PHP Code Sniffer into your development workflow and create coding standards tailored to your needs. Discover how it works, how to install and use it, how to ignore errors, configure it, work with the documentation, and use it with VS Code.