Best of PHPOctober 2022

  1. 1
    Article
    Avatar of devtoDEV·3y

    Please do repeat yourself (DRY is dead)

    Don't repeat yourself (DRY is dead) is the root of all software evil, says John Sutter. Repeating yourself is basically giving yourself the time and space to come up with the right abstractions instead of engaging in guesswork and clairvoyance.

  2. 2
    Article
    Avatar of laravelLaravel·3y

    Forge: Dark Mode

    dark mode can be toggled between light, dark, or automatically switch between modes. We're releasing dark mode as a beta feature and will continue to improve it based on your feedback. If you don’t have a Forge account, now is a great time to sign up!

  3. 3
    Article
    Avatar of lnLaravel News·3y

    OpenAI PHP Client

    After weeks of development, @gehrisandro and I are proud to announce the release of OpenAI PHP Client v0.1. It's a supercharged PHP API client that allows you to interact with the OpenAI API.

  4. 4
    Article
    Avatar of communityCommunity Picks·3y

    What Is “Laravel Pint” And Do I Need It As a Laravel Developer?

    Laravel Pint scans your entire code, detects coding standards problems and fixes them for you in seconds. It also shows you how many files have been scanned, which files fixed, and the errors. After showing you what exactly it is and what it can do, I’ll let you answer that question.

  5. 5
    Article
    Avatar of lnLaravel News·4y

    Faster Laravel: Surprising Optimization Tips

    Testmo's goal is to answer most server requests in 100ms or less. It's pretty simple: slow server-side performance will trickle down to all parts of the stack. In Testmo we don't use @include at all anymore. Instead, we've built our own lightweight alternative we call @require.

  6. 6
    Article
    Avatar of lnLaravel News·4y

    Laravel 9.34 Released

    The Laravel team released 9.33 and 9.34, introducing Laravel Precognition, short attribute syntax for self-closing blade components, and more. The new framework feature is a new framework that will allow developers to create new and improved experiences for their users.

  7. 7
    Article
    Avatar of freekFREEK.DEV·3y

    What's new in PHP 8.3? Take a sneak peek.

    Using Mailcoach by Spatie, you can create beautiful email campaigns, set up drip campaigns and send transactional emails. Follow me on Twitter. I regularly tweet out programming tips and what I myself have learned in ongoing projects.

  8. 8
    Article
    Avatar of linuxhandbookLinux Handbook·3y

    How to Install LOMP Stack on Ubuntu

    A LOMP stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web applications. This tutorial will show you how to install a LEMP stack on an Ubuntu 22.04 server. MariaDB is a drop-in replacement for the MySQL database server. These options include removing anonymous users, disallowing remote root login, and removing the test databases, etc.

  9. 9
    Article
    Avatar of stitcherstitcher.io·3y

    Readonly classes in PHP 8.2

    PHP 8.2 adds a new way of declaring classes: you can make them readonly. In practice, it means that all properties of that class will be readonly. This is especially useful when you're using data transfer objects or value objects, where a class only has public readonly properties.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    PHP Implode – Convert Array to String with Join

    PHP implode() takes in two values as parameters – the separator and the array you want to convert to a string. The separator could be any character or an empty string. It is valid as long as you specify it in quotes. The array on the other hand could be an associative array or an index.

  11. 11
    Article
    Avatar of lnLaravel News·3y

    Sanitize and Format Data in PHP with the Transformer Package

    Sanitize and Format Data in PHP with the Transformer Package Transformer is a PHP package for sanitizing and formatting data. The package uses a familiar Laravel validation-like syntax to transform data using callable functions, classes, and more. This package supports nested array data using dot notation, wildcard inputs,

  12. 12
    Article
    Avatar of freekFREEK.DEV·4y

    What's new in Laravel 10?

    Laravel 10 is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get notifications for us when something's wrong, and you'll also be able to create a public status page under a minute.