Libraries tagged by One class
psr-discovery/event-dispatcher-implementations
3415699 Downloads
Lightweight library that discovers available PSR-14 Event Dispatcher implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/discovery
3471816 Downloads
Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interfaces, and returning an instance of the first one that is found.
psr-discovery/container-implementations
3415399 Downloads
Lightweight library that discovers available PSR-11 Container implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/cache-implementations
3416567 Downloads
Lightweight library that discovers available PSR-6 Cache implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/all
3412441 Downloads
Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
hbattat/verifyemail
117774 Downloads
PHP class that can be easily used to verify an email address and make sure it is valid and does exist on the mail server.
text/template
176272 Downloads
Simple and secure string-template-engine (Twig-like syntax) with nested if/elseif/else, loops, filters. Simple OOP api: Just one class doing the job (2-lines of code). Fast and secure: No code-generation, no eval'ed() code. Extensible by callbacks. Fully tested. Rich examples included.
cspray/phinal
115310 Downloads
Enforce final on your classes!
badoo/soft-mocks
30017 Downloads
The idea behind "Soft Mocks" - as opposed to "hardcore" mocks that work on the level of the PHP interpreter (runkit and uopz) - is to rewrite class code on the spot so that it can be inserted in any place. It works by rewriting code on the fly during file inclusion instead of using extensions like runkit or uopz.
sandrokeil/interop-config
356482 Downloads
Provides interfaces and a concrete implementation to create instances depending on configuration via factory classes and ensures a valid config structure. It can also be used to auto discover factories and to create configuration files.
astrotomic/php-conditional-proxy
94337 Downloads
This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.
stuttter/ludicrousdb
85065 Downloads
LudicrousDB is a database class that supports replication, failover, load balancing, & partitioning, based on Automattic's HyperDB drop-in.
ionux/phactor
42726 Downloads
Phactor is a high-performance PHP implementation of the elliptic curve math functions required to generate & verify private/public (asymmetric) EC keypairs and ECDSA signatures based on secp256k1 curve parameters. This library also includes a class to generate Service Identification Numbers (SINs) based on the published Identity Protocol v1 spec.
humanmade/ludicrousdb
141813 Downloads
LudicrousDB is a database class that supports replication, failover, load balancing, & partitioning, based on Automattic's HyperDB drop-in.
grandt/relativepath
661146 Downloads
A class for cleaning up/collapsing relative paths. Like real_path, but without the need for the path to exist on the filesystem.