Code

Here you can find information for various scripts and code I’ve written over the years. You can normally find me on GitHub or PHPClasses by just searching my name: Eric Sizemore.

If you need support, have a bug to report, or have feature ideas and suggestions, please contact me. If the code or project is available on GitHub, please submit a new issue there instead. Each repository on GitHub is open for contributions, just be sure to read the CONTRIBUTING.md document found in the repo.

Enjoy 🙂

PHP Classes

Check out my various class releases on phpclasses.org.

GitHub

  • Awesome Php

    A curated list of amazingly awesome PHP libraries, resources and shiny things.

  • Container

    Elegant lightweight PHP dependency injection container with automatic resolution & high performance.

  • Ericsizemore

    A personal repository.

  • Ipquery Php

    PHP library for ipquery.io, a free and performant ip address API.

  • Php Smartypants

    Web typography prettifyier tools derived from the original SmartyPants.pl by John Gruber.

  • Svg Sanitizer

    A PHP SVG/XML Sanitizer

  • Mimey

    PHP package for converting file extensions to MIME types and vice versa.

  • Pagination

    Simple pagination library for PHP implements a paging interface on collections of things.

  • Phpunit Coverage Check Action

    Run PHPUnit Coverage Check (which checks the code coverage using the clover report of PHPUnit), as a GitHub action.

  • Simple Tpl

    This class implements a simple template engine that works by replacing text.

  • Clock

    Yet another clock abstraction, implementing PSR-20.

  • Cloudflare Turnstile

    A PHP library for server-side validation of Cloudflare Turnstile challenges. This library is PSR-18 compatible and framework-agnostic.

  • Consistent Hash

    ConsistentHash is a small library which implements consistent hashing. Modernized fork of flexihash/flexihash.

  • Simple Counter

    A simple PHP counter that counts your website visitors.

  • Librariesio

    LibrariesIO - A simple API wrapper/client for the Libraries.io API.

  • Numverify Api Client Php

    Numverify phone number validation and country API client library for PHP.

  • Php Project Template

    Simple template repository for PHP libraries/projects.

  • Bench

    Micro PHP benchmark library

  • Utility

    Collection of various PHP utility functions.

  • Api

    A simple wrapper/builder using Guzzle for base API clients.

  • Phpunit Coverage Check

    Check the code coverage using the clover report of PHPUnit.

Sponsor Me / Sponsor Code/Projects

If you would like to donate to support my work, I would be forever grateful. You can do so by using:

Please do not feel obligated to donate or sponsor my work. I do what I do out of love for open source. However, if you decide to support me, thank you!