Kevin Eaton

Open source · Laravel and PHP

Small packages. Each one is a problem I had at work.

I would rather you read my code than my adjectives. Every public package here has a README you can judge in a minute, its own documentation, and a line that tells you when not to use it.

Install any of the six public ones with Composer. Their documentation is on this site.

  • Open source

    Pipe Dream

    Pipe Dream turns your business logic into a flow you can read, and every run into a receipt you can read back: every step named, timed and recorded.

    keaton-php/pipe-dream · 355 tests · docs

  • Open source

    Laravel Data Definition

    Wraps an array payload, like a webhook body or an API response, in a small immutable object. You name the deep paths and their types once, and a value of the wrong type throws an exception. It is never quietly turned into something else.

    keaton-php/laravel-data-definition · 327 tests · docs

  • Open source

    Laravel Log Containers

    Wrap a block of code in a log container, and everything that happens inside it is logged together. You get what ran, how long it took, whether it finished, and the exception if it didn't. The code inside the block doesn't change.

    keaton-php/laravel-log-containers · 218 tests · docs

  • Open source

    Laravel Hash List

    Keeps lists of email addresses as hashes. You can use it for a do-not-contact list, a list of banned signups, or a list you swap with a partner. Every spelling of an address matches the same entry, and the address itself is never stored.

    keaton-php/laravel-hash-list · 207 tests · docs

  • Open source

    Laravel Dedupe

    Removes duplicates from a list of records and tells you why each one was removed. Every dropped record comes back with the record it matched and the key it matched on.

    keaton-php/laravel-dedupe · 242 tests · docs

  • Open source

    Laravel Weighted Distribution

    Hand things out in a fixed ratio, one at a time. It doesn't roll dice, so the ratio is exact after every pick and not only on average.

    keaton-php/laravel-weighted-distribution · 296 tests · docs

Two more that I keep private

These two are bigger. Each has a page on what it does and how it works. If you want one in your company, email me.

  • Private

    Laravel AI Concierge

    Install it in a Laravel app and your company's AI assistants can answer questions about the business. The first time one connects, it sits down with you and learns the company.

    What it does

  • Private

    Laravel Cold Storage

    Move a model's old rows out of the live table into an archive, and Order::find($id) goes on returning them.

    What it does