Search by

frodeborli member since: Feb 02, 2015 · Transparency log

frodeborli's packages

  • charm/router

    A very fast, tiny single file router implementation. Compatible with PSR Middlware. Takes you from /users/{id:\d+} to `User::profile($id)`. Also in reverse: `$router->url([User::class, 'profile'], 123)` gives you the URL.

  • charm/schema

    A simple to use schema validator allowing you to validate strings, numbers, arrays and objects. Modelled after JSON Schema written as PHP arrays.

  • PHP

    charm/sort

    Stable, fast sorting for PHP with a small object API: a Sorter configured once, with a comparison closure or a derived sort key, and descending order.

  • charm/streams

    Various utilities to work with streams and resources in PHP.

  • charm/table

    An interface for queryable collections such as database tables, arrays, APIs.

  • charm/terminal

    Organized and colorful command line output through a simple markup language.

  • charm/tpl

    An ultra minimalistic, single file template engine. Uses PHP as the template language, but provides the type of template inheritance you see in Blade or Twig.

  • charm/util-closuretool

    Tool to print information about a closure/callback for debugging purposes.

  • charm/util-composerpath

    Easily find the project root path (where composer.json is) without touching the filesystem.

  • charm/util-phpencode

    A small function that encodes compact PHP arrays, like json_encode - but for PHP arrays.

  • charm/util-url

    A library to manipulate URLs.

  • PHP

    charm/uuid

    A very fast and dependency free library to generate UUIDs (GUIDs) version 1 or 4, sortable UUIDs that validates, or 64 bit unique identifiers according to Twitters' Snowflake, Sonyflake or Instaflake algorithms.

  • charm/vector

    A Vector implementation optimized for O(1) performance in operations like random access reads, pop(), push(), shift() and unshift().

  • PHP

    co/loop

    A solid event-loop API for writing applications that work across frameworks such as Amp or React, Slim, CodeIgniter, Laravel and Symfony.

  • PHP

    co/promise

    A flexible and compatible promise implementation for PHP.