Packages from affinity4

  • PHP

    affinity4/cipher

    Cipher encrypt/decrypt. Encrypt and decrypt private strings. Useful if you need to store a string as a hash but need to see it as plain text also. DO NOT USE FOR PASSWORD AUTHENTICATION!

  • PHP

    affinity4/collection

    Iterable Collections with useful helper methods. Take control of your arrays!

  • PHP

    affinity4/config

    Load config files from various formats to PHP arrays and easily retrieve deeply nested items

  • PHP

    affinity4/file

    Recursively search child (or parent) directories of a given directory for files with regex pattern or filename

  • PHP

    affinity4/magic

    Magic Trait used to easily add event listeners, spelling suggestions in errors and Javascript __set and __get style setters an getters to any class. Magic!

  • PHP

    affinity4/slimphp-support

    Add Laravel style facades, traits and helper functions to any SlimPHP app

  • PHP

    affinity4/support

    Add Laravel style facades, traits and helper functions to any PSR-11 Container app

  • PHP

    affinity4/template

    Simple template engine with optional syntax which is easy to learn. Can use plain PHP also.

  • PHP

    affinity4/tokenizer

    A zero-dedpendency tokenizer written in PHP. Returns an easily navigatable Stream object of Token objects with public type, value, offset and length properties

  • PHP

    affinity4/validate

    Trait which uses magic methods to automatically validate properties using annotations

  • PHP

    affinity4/middleware-factory

    Use Psr17Factories to dispatch PSR-15 middleware packages. Default Psr17Factory is Nyholm\Psr7\Factory\Psr17Factory

    Abandoned! See middlewares/utils