• Skip to primary navigation
  • Skip to content
  • Skip to footer
Hidden Hat Press Hidden Hat Press
  • Python for PHP Programmers
  • Articles

    Articles

    Dancers. Photo by Hulki Okan Tabak on Unsplash - (cropped and decolorized)

    Articles

    All of them

    • Articles
      • Python for PHP Programmers
      • News\Misc
      • Foundations
      • Tools
      • Design

    A PHP Web app in twenty minutes with ...

    Foundations, Tools

    Get up and running with Slim, a super-clean and extensible PHP micro-framework.

    How and why to use PHP-DI: a PHP depe...

    Foundations, Design

    What is a dependency injection container? How and why to use PHP-DI to create objects and pass them to your components.

    PHPUnit: Getting from Zero to Test

    Foundations

    PHPUnit: Get testing fast. Why you should test. How you’re probably testing already.

    PHP Command line scripting basics

    Tools, Foundations

    How to build useful and flexible command line scripts with PHP and why you should.

    Check values and set defaults for PHP...

    Foundations

    Check that your PHP variables and array elements are set or apply default values using some super-clean and compact techniques

    PHP 8 - Constructor Property Promotion

    Foundations

    This lovely PHP 8 feature cuts down boilerplate in class definitions by at least half, making your code more readable and less prone to errors.

    Managing return values with PHPUnit m...

    Design

    How to use PHPUnit mock objects to create a virtual laboratory for testing components. Set up stub objects to return values via simple method calls.

    Foundations: The key issue – setting ...

    Tools

    Setting up SSH keys on a Linux server can be a chore. An overview of key files, how to generate and to install on Github. Plus troubleshooting advice!

    • Previous
    • 1
    • …
    • 3
    • 4
    • 5
    • 6
    • 7
    • Next
    • Mastodon
    • Bluesky
    • Feed
    © 2025 Hidden Hat Press. Powered by Jekyll & Minimal Mistakes.