2 dépôts
Sequential resolution strategies that inspect binary file contents first and fall back to extension-based lookups when needed.
Distinct from Locale Fallback Chains: Distinct from Locale Fallback Chains: focuses specifically on file extension and content inspection fallbacks rather than internationalization locales.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Extension Fallback Chains. Refine with filters or upvote what's useful.
Metadata is a PHP library for loading and managing class, method, and property metadata from inline annotations, YAML, XML, and PHP configuration files. It acts as an object-relational mapping support tool, helping persistence layers and serializers inspect PHP object structures through unified metadata drivers. The library parses configuration data using specialized drivers to populate internal metadata structures, abstracting disparate data sources into a single consistent interface for inspecting classes and properties. It supports chain-based driver fallback, allowing multiple metadata lo
Combines multiple metadata loading strategies sequentially to fall back through different sources until data is found.
Mime Type Detection is a PHP library for determining and mapping media types from file contents, paths, or extensions using fallback lookup strategies. It provides utilities for inspecting file metadata and resolving file formats within PHP applications. The library supports bidirectional mapping between file extensions and media types through static community-curated mapping tables alongside content-based inspection. It includes extension-to-media-type mapping, reverse lookups from media types to valid file extensions, and fallback resolution chains that attempt content inspection before fal
Implements fallback resolution chains that attempt content inspection before falling back to filename extension lookups.