Best of PHPFebruary 2024

  1. 1
    Article
    Avatar of lnLaravel News·2y

    Make your app faster with PHP 8.3

    PHP 8.3 introduces exciting new features and major improvements in performance, making your app faster. Direct performance enhancements include optimizations in the PHP engine and garbage collection. Indirect performance boosts come from syntax improvements and type safety. Upgrading to PHP 8.3 and leveraging new features can lead to significant performance improvements. Caching strategies and transitioning to HTTP/2 can further optimize your app's performance.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Rector 1.0 is Here

    Rector 1.0 has been released with new features that improve developer experience, making it easier to stay up to date and integrate with new projects.

  3. 3
    Article
    Avatar of medium_jsMedium·2y

    Use Laravel Collection Like a Pro

    Learn how to use Laravel Collection like a pro, refactor code using Laravel collection methods, and utilize collection pipeline programming.

  4. 4
    Article
    Avatar of medium_jsMedium·2y

    PHP Development Trends In 2024

    The Zend 2024 PHP Landscape Report highlights the PHP development trends in 2024. The top application categories in the PHP ecosystem survey were Services or APIs, Internal Business Applications, and Content Management Systems. The top deployment trend was on-premises deployment, followed by Amazon Web Services. The top container technologies in the PHP ecosystem survey were Docker, Podman, and containerd.

  5. 5
    Article
    Avatar of lnLaravel News·2y

    New Laravel 11 Apps Include a Health Check Endpoint

    Laravel 11 includes a health check endpoint for new applications. The endpoint is configurable and returns an animated 'Application up' health page in the browser.

  6. 6
    Article
    Avatar of hnHacker News·2y

    My PHP Problems

    A subjective post about things that annoy the author in PHP, including issues with constructors, annotations, serialization/deserialization, variadic promoted properties, iterator to array conversion, short closures, statement blocks, functions returning false, and lack of support for inline classes.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    Native PHP Templates

    Plates is a native PHP template system that is fast, easy to use, and easy to extend. It encourages the use of existing PHP functions, supports template layouts and inheritance, and allows for data sharing across templates.

  8. 8
    Article
    Avatar of freekFREEK.DEV·2y

    The infamous Repository Pattern in PHP

    Exploration of the repository pattern in PHP, its behavior as a collection, and its purpose.

  9. 9
    Article
    Avatar of lnLaravel News·2y

    Model Casts are moving to methods in Laravel 11

    Laravel 11 introduces a new method for defining model casts, allowing the use of static methods. The update is backward-compatible with Laravel 10.

  10. 10
    Article
    Avatar of medium_jsMedium·2y

    Exploring Seamless Development and Deployment: Laravel, Docker, and CI Part I

    This post explores seamless development and deployment using Laravel, Docker, and Continuous Integration (CI). It explains the reasons for adopting Docker and the benefits it provides. The post also provides a step-by-step guide on creating a Laravel project and setting up a Docker environment. The upcoming parts will cover the continuous integration aspect.

  11. 11
    Article
    Avatar of lnLaravel News·2y

    The once() Memoization Helper is Coming to Laravel 11

    Laravel 11 introduces the once() function, which ensures that the same value is returned no matter how many times an object method is called. It is useful when you want to ensure that code runs only once.