Best of PHP2022

  1. 1
    Article
    Avatar of pointerPointer·4y

    awesome-selfhosted/awesome-selfhosted: A list of Free Software network services and web applications which can be hosted on your own servers

    This is a list of Free Software network services and web applications which can be hosted on your own server(s) Non-Free software is listed on the non-Free page. Awesome-Selfhosted is the practice of hosting and managing applications on your OWN server.

  2. 2
    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.

  3. 3
    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.

  4. 4
    Article
    Avatar of geekcultureGeek Culture·4y

    A Company banned me because I made their Electron App running inside Docker

    The CEO of BeyondCode, Sebastian Schlein, wrote to me on a Sunday to explain to me, that he is unable to support me — a paying customer. Schlein: I made their Electron App running inside Docker Okay, to be honest, because: I was impudent to ask questions as well. It’s up to you to decide to use Tinkerwell.

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

    How do database indexes work?

    Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer. Expect quick tips & tricks, interesting tutorials, opinions and packages.

  6. 6
    Article
    Avatar of phProduct Hunt·4y

    Regex library - A curated list of most commonly used regular expressions

  7. 7
    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.

  8. 8
    Article
    Avatar of lnLaravel News·3y

    PHP 8.2 is Here

    PHP 8.2 is released with read-only classes, new stand-alone types, a new random extension, trait constants, and more.

  9. 9
    Article
    Avatar of newstackThe New Stack·4y

    From PHP to Next.js: What Trivago Learned Rewriting Its Web App

    Hotel search service Trivago rewrote its frontend in Typescript on the Next.js framework, replacing a PHP codebase on a homegrown JavaScript framework, Melody. From April 2020 until late 2021 the platform team created, tested and deployed the new application which reduced page size by up to 37%.

  10. 10
    Article
    Avatar of lnLaravel News·4y

    How I develop applications with Laravel

    The API we are building is a basic to-do style application, where we can add tasks and move them between to do and done. For me, it always begins with a simple command: laravel new todo-api --jet --git. We will create an API because it is something I love doing. The way I work with Laravel is very similar to Domain Driven Design, so there is a little setup.

  11. 11
    Article
    Avatar of hnHacker News·4y

    I built a receipt printer for GitHub issues

    Andrew Schmelyun used a receipt printer to print out a ticket each time an issue was added to one of his GitHub repos. The printer uses the ESC/POS command set, for which there's established libraries in a variety of programming languages. He also used an old Raspberry Pi Zero W to connect from the internet to the printer.

  12. 12
    Article
    Avatar of faunFaun·4y

    PHP Coding standard tools and configuration

    PHP Mess Detector (PHPMD) makes sure that your code follows the SOLID principles, adheres to the naming conventions, and checks for unused code. PSALM Psalm is also a static analysis tool like PHPSTAN but PASLM attempts to dig into your program and find many more issues.

  13. 13
    Article
    Avatar of communityCommunity Picks·4y

    What's new in PHP 8.2

    PHP 8.2 will be released on November 24, 2022. In this post, we'll go through all features, performance improvements, changes and deprecations one by one. null and false can be used as standalone types. Dynamic properties are deprecate in PHP 8. 2, and throw an ErrorException in PHP 9.0.

  14. 14
    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!

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    The PHP Handbook – Learn PHP for Beginners

    PHP is a programming language that many devs use to create Web Applications. It was first created in 1994 by Rasmus Lerdorf to build his personal website. It became popular later on, in 1997/8, and exploded in the 2000s when PHP 4 landed.

  16. 16
    Article
    Avatar of lnLaravel News·4y

    Laravel Pint

    Laravel Pint is an open source PHP code style fixer for minimalists. Built on top of PHP-CS-Fixer, it will automatically test and fix your code style based off of a preset. With no configuration, no set up, no thought or effort - my project is instantly assessed for PSR-12 styling.

  17. 17
    Article
    Avatar of lnLaravel News·3y

    OpenAI for Laravel

    Nuno Maduro released an OpenAI PHP Client for Laravel in October. This week he announced a brand Laravel integration called OpenAPI Laravel. The integration allows developers to use OpenAI's powerful natural language processing capabilities in their Laravel applications.

  18. 18
    Article
    Avatar of communityCommunity Picks·3y

    Laravel Splade - Single Page Applications with Laravel Blade

    Laravel Splade - Single Page Applications with Laravel Blade Splade provides a super easy way to build Single Page applications. With the Modal component, Splade has built-in support for modals and slideover. Splade comes with a set of Form Components to rapidly build forms.

  19. 19
    Article
    Avatar of phProduct Hunt·4y

    CodeSkill - Testing essential coding skills is a breeze with CodeSkill

    CodeSkill CodeSkill makes it easy to test essential programming skills of a developer. It fits very well into hiring processes as a live coding tool.

  20. 20
    Article
    Avatar of systemweaknessSystem Weakness·4y

    Mr. Robot CTF Tutorial

    Mr. Robot CTF Tutorial TryHackMe is a free tutorial on how to make a robot using a nmap scan. The first step is to run a gobuster scan and find directories that are allowed us to visit so i went to them.

  21. 21
    Article
    Avatar of medium_jsMedium·4y

    PhpStorm Plugins You Should Know

    Php Inspections is an open-source Code Review and Static Code Analysis tool for PHP (aka inspections in JetBrains IDEs) It’s a must-have add-on to PhpStorm to ensure high-quality coding.Database Navigator is a database development, scripting and navigation tool.

  22. 22
    Article
    Avatar of btrprogBetter Programming·4y

    The Full-Stack Developers’ Setup for macOS Monterey

    Installing different PHP versions so that we can switch between each one. We already have PHP installed but we need to config apache too for PHP. We edit again the httpd file with the same command. Find ‘mod_rewrite’ module and add the following modules below. Leave uncommented just the module corresponding to the version of PHP used.

  23. 23
    Article
    Avatar of tuts_plusTuts+·4y

    How to Use async in PHP

    The former method of task execution is called synchronous execution and the latter is called asynchronous execution. In this tutorial, we will learn how to perform multiple tasks in parallel in PHP by using the Spatie async library. The library uses the symfony/process component to create and manage different child processes. The content of each file is a random hexadecimal string that is 4096 bytes long. The content is just a random Hexadecinal string.

  24. 24
    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.

  25. 25
    Article
    Avatar of devdojoDevDojo·4y

    PhpStorm Plugins You Should Know

    PhpStorm plugin is an open-source Code Review and Static Code Analysis tool for PHP (aka inspections in JetBrains IDEs) It’s a must-have add-on to Php Storm to ensure high-quality coding.