Best of PHPMarch 2022

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

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

  3. 3
    Article
    Avatar of lnLaravel News·4y

    Visit is a Beautiful HTTP CLI Tool for Humans

    Think of it as cURL for humans. Visit is a CLI tool by Spatie to see an HTTP response in a beautiful way. It can filter for both HTML and JSON responses. You can even log in as a user when running the artisan visit command. We've only scratched the surface of all the features possible with visit.