Libraries tagged by One class
psr-discovery/container-implementations
3255336 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
3256424 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
3252446 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
117140 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
175623 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
111816 Downloads
Enforce final on your classes!
silverstripe/config
1939122 Downloads
SilverStripe configuration based on YAML and class statics
badoo/soft-mocks
29887 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
354436 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.
cviebrock/discourse-php
417645 Downloads
Helper class for building a single sign-on source for Discourse forums
astrotomic/php-conditional-proxy
92419 Downloads
This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.
stuttter/ludicrousdb
84666 Downloads
LudicrousDB is a database class that supports replication, failover, load balancing, & partitioning, based on Automattic's HyperDB drop-in.
ionux/phactor
41906 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
138451 Downloads
LudicrousDB is a database class that supports replication, failover, load balancing, & partitioning, based on Automattic's HyperDB drop-in.
grandt/relativepath
652974 Downloads
A class for cleaning up/collapsing relative paths. Like real_path, but without the need for the path to exist on the filesystem.