mikey179/vfsstream
vfsStream provides a PHP stream wrapper for an in-memory virtual file system, ideal for unit tests. Mock files, directories, permissions, and content without touching disk, and use it with PHPUnit, SimpleTest, or any test framework.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| athletic/athletic | Athletic is a PHP task runner and build tool that uses YAML to define repeatable commands (test, lint, deploy, release) and run them locally or in CI. Simple, framework-agnostic, and easy to add to any project to standardize workflows. | 296 | 317 | 13 | 427 | 14 | 6.2 | 10.9 | — | — | |
| behat/gherkin | behat/gherkin is a PHP library for parsing the Gherkin language used in BDD. Read and tokenize feature files, build an AST, and integrate with Behat or other test runners to execute human-readable scenarios in your test suite. | 1,061 | 1,068 | 94 | 3M | 9 | 37.0 | 61.5 | MIT | 4 months ago | |
| bovigo/assert | Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. | 13 | 13 | 6 | 905 | 1 | 29.4 | 29.5 | BSD-3-Clause | 4 months ago | |
| captainhook/captainhook | CaptainHook is a flexible Git hooks manager for PHP. Configure hook actions in a simple JSON file to validate commit messages, enforce code quality, run tests on commit/push, and automate tasks after pull. Share and enforce hooks across your team. | 1,099 | 1,104 | 89 | 253K | 8 | 40.4 | 41.5 | MIT | 2 weeks ago | |
| cocur/slugify | cocur/slugify converts strings into URL-friendly slugs by stripping special characters and transliterating many languages (e.g., ä → ae). Lightweight with no external dependencies, PSR-4, PHP 8.0–8.5, and integrations for Laravel, Symfony, Twig, and more. | 2,905 | 2,974 | 248 | 1M | 20 | 57.9 | 55.5 | MIT | 4 months ago | |
| commerceguys/addressing | Addressing library for handling international postal addresses. Provides country and subdivision data, address formats, validation, and formatting utilities. Useful for commerce, shipping, and any app that needs correct, locale-aware addresses worldwide. | 954 | — | 150 | — | 11 | 33.3 | 8.1 | MIT | 3 months ago | |
| cuyz/valinor | Valinor maps raw input (JSON/arrays) into fully typed PHP objects, validating along the way with clear, human-readable errors. Supports advanced types (PHPStan/Psalm), shaped arrays, generics, ranges, and can normalize objects back to JSON/CSV while preserving structure. | 1,499 | 1,496 | 88 | 1M | 25 | 47.5 | 58.8 | MIT | 2 weeks ago | |
| danog/class-finder | Fast PHP class discovery utility. Scan directories/files and find classes, interfaces, and traits without manually maintaining lists. Useful for autoload-based plugins, reflection tooling, and package indexing, with a simple API and minimal setup. | 12 | 10 | 4 | 20K | 0 | 0.2 | 44.0 | MIT | — | |
| fabpot/php-cs-fixer | PHP CS Fixer is a command-line tool for automatically fixing PHP coding standards issues. It formats and modernizes code using configurable rulesets, supports custom rule configurations, and helps keep projects consistent and clean across teams and CI. | 46 | — | 12 | — | 0 | 0.6 | — | NOASSERTION | — | |
| facile-it/facile-coding-standard | PHP coding standard based on PHP-CS-Fixer by Facile.it. Installs via Composer with an interactive setup that generates a .php-cs-fixer.dist.php, auto-detects files from composer autoload (psr-0/psr-4/classmap), and adds cs-check/cs-fix scripts. | 10 | 10 | 9 | 17K | 2 | 26.2 | 52.3 | — | 5 months ago | |
| friendsofphp/php-cs-fixer | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets like @PER-CS, @Symfony, or @PhpCsFixer, or define your own config. Helps modernize code for newer PHP and PHPUnit. Supports PHP 7.4–8.5. | 13,489 | 13,565 | 1,630 | 5M | 45 | 86.4 | 73.4 | MIT | 1 month ago | |
| haydenpierce/class-finder | Lightweight PHP utility to locate and list classes by scanning directories and Composer autoload data. Helpful for plugin discovery, reflection-based tooling, and dynamic registration tasks in frameworks like Laravel or Symfony. | 0 | 32 | — | 427K | — | 0.0 | 55.3 | — | — | |
| icanhazstring/composer-unused | composer-unused detects and removes unused Composer dependencies in PHP/Laravel projects. It analyzes your codebase to find packages not referenced, reports what can be safely removed, and helps keep composer.json/lock lean and maintainable. | 1,676 | 1,678 | 57 | 220K | 10 | 42.2 | 39.4 | MIT | 2 months ago | |
| jms/metadata | jms/metadata is a PHP library for managing class, method, and property metadata independent of its source (annotations, YAML/XML/PHP config, etc.). Extend base metadata classes, plug in drivers, and fetch metadata via MetadataFactory. | 1,821 | 1,830 | 71 | 2M | 5 | 39.5 | 53.0 | MIT | 4 months ago | |
| joomla/filesystem | Joomla Framework filesystem utilities for common file operations. Includes helpers for safe filenames, uploads, and path handling, with a patcher component for applying file patches. Install via Composer and use in PHP apps needing lightweight filesystem tooling. | 11 | 12 | 19 | 11K | 6 | 27.1 | 50.4 | GPL-2.0 | 7 months ago | |
| laminas/laminas-cli | Command-line tooling for Laminas applications. Provides a framework-agnostic CLI entry point and command infrastructure to run, discover, and organize project commands, with integration hooks for Laminas components and workflows. | 56 | 56 | 23 | 102K | 11 | 32.6 | 60.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-servicemanager | Powerful dependency injection and service container for PHP. Manage factories, abstract factories, delegators, aliases, and shared services, with PSR-11 interoperability and robust configuration for complex applications. | 159 | 161 | 61 | 1M | 13 | 36.6 | 72.5 | BSD-3-Clause | 5 months ago | |
| league/climate | League CLImate makes PHP CLI output nicer with easy colored text, formatting, and styled messages. Install via Composer and use a simple API to print red, blue, and more, helping your command-line scripts look clean and readable. | 1,884 | 1,932 | 124 | 209K | 13 | 17.1 | 32.8 | MIT | — | |
| maennchen/zipstream-php | Stream ZIP files on the fly in PHP without temporary files. zipstream-php lets you send large, dynamically generated archives directly to the browser with low memory usage, supporting modern ZIP features and efficient download/response streaming. | 1,880 | 1,906 | 111 | 8M | 2 | 42.1 | 58.8 | MIT | 3 months ago | |
| maglnet/composer-require-checker | CLI tool that scans your PHP sources and composer.json to ensure every used class/function/extension comes from an explicit require. Detects “soft” (transitive) dependencies and missing PHP extensions so updates don’t break your package. | 992 | 999 | 78 | 321K | 32 | 47.8 | 57.8 | MIT | 2 weeks ago | |
| malukenho/docheader | Laravel package that adds and manages standardized documentation headers in your source files. Generate consistent file/class docblocks with project metadata, author, license, and timestamps, helping teams enforce style and keep headers up to date automatically. | 68 | 68 | 8 | 13K | 2 | 22.0 | 37.7 | MIT | 8 years ago | |
| padraic/humbug_get_contents | Drop-in replacement for file_get_contents() that secures HTTPS requests on PHP 5.3+ by injecting a strict SSL/TLS stream context (CA validation, verification). Helps prevent MITM attacks when fetching APIs, PHARs, or other remote content. | 125 | 126 | 15 | 26K | 5 | 12.2 | 39.0 | BSD-3-Clause | 8 years ago | |
| phing/phing | Phing is a PHP build tool based on Apache Ant. Define XML build files to automate testing (PHPUnit), packaging, deployments, file transforms, filesystem tasks, SQL, SCM ops (Git/SVN/Hg), and docs generation. Extensible via custom PHP tasks. | 1,166 | 1,202 | 318 | 279K | 5 | 46.5 | 43.6 | LGPL-3.0 | 2 months ago | |
| phing/phing-composer-configurator | Composer plugin that installs and configures Phing from composer.json. Ensures the Phing binary and settings are set up during Composer install/update, simplifying Phing integration in PHP projects and keeping build tooling consistent. | 5 | 5 | 1 | 782 | 0 | 0.2 | 29.3 | — | — | |
| phpdocumentor/phpdocumentor | phpDocumentor generates comprehensive PHP documentation from source code and DocBlocks. It produces API docs, UML diagrams, and parses Markdown/ReStructuredText, with tooling to embed API references into narrative docs to keep documentation in sync. | 4,318 | 4,390 | 642 | 15K | 159 | 85.6 | 43.6 | MIT | 4 months ago | |
| phpdocumentor/reflection | PHPDoc reflection library used by phpDocumentor to parse docblocks and reflect types, namespaces, and symbols from PHP code. Helps tools extract documentation and metadata without executing code, powering static analysis and doc generation workflows. | 125 | 126 | 60 | 2M | 11 | 34.5 | 69.0 | MIT | 4 months ago | |
| phpmd/phpmd | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,418 | 2,494 | 350 | 2M | 86 | 68.3 | 81.5 | BSD-3-Clause | 2 years ago | |
| plumphp/plum | Plum is a PHP data processing pipeline for building reusable, testable workflows. Chain readers, filters, converters, and writers, apply conditional conversions, concatenate workflows, and merge multiple sources to transform and export data cleanly and flexibly. | 140 | 142 | 2 | 1K | 0 | 22.5 | 17.1 | MIT | 10 years ago | |
| sebastianfeldmann/git | PHP library to access and interact with Git repositories. Provides a simple API for common Git commands and info (status, log, branches, tags), ideal for build scripts, CI tooling, and automation where you need Git data without shelling out manually. | 46 | 47 | 13 | 260K | 2 | 30.0 | 60.8 | MIT | 2 months ago | |
| spiral/framework | Spiral Framework is a high-performance, long-living full-stack PHP framework built around RoadRunner. PSR-compatible and battle-tested, it keeps your app in memory and supports HTTP, gRPC, queues, WebSockets, and background workers. | 2,039 | 2,042 | 90 | 174K | 42 | 55.0 | 50.4 | MIT | 5 hours ago | |
| splitbrain/php-archive | Pure-PHP library to create and extract common archive formats. Provides a simple API for reading/writing files in archives without requiring system binaries, useful for packaging assets, backups, or installers in PHP projects. | 106 | 111 | 35 | 39K | 5 | 3.0 | 36.9 | MIT | — | |
| typo3/class-alias-loader | Autoloads legacy TYPO3 class aliases by mapping old class names to new ones at runtime. Helps keep extensions compatible during refactors and TYPO3 upgrades, easing migration to namespaces without breaking existing code. | 43 | 43 | 10 | 248K | 4 | 22.0 | 62.8 | MIT | 1 year ago | |
| yethee/tiktoken | PHP port of OpenAI tiktoken for fast tokenization. Get encoders by model or encoding name, encode text to token IDs, with default vocab caching and configurable cache dir. Optional experimental FFI lib mode (tiktoken-rs) for better performance on larger texts. | 158 | 157 | 30 | 271K | 4 | 26.9 | 53.3 | MIT | 4 weeks ago | |
| zendframework/zend-di | zendframework/zend-di is a PHP dependency injection container for Zend Framework apps. It supports autowiring, configurable definitions, and factories to build and wire objects at runtime, helping manage dependencies and improve testability. | 45 | 46 | 27 | 27K | 5 | 12.1 | 46.4 | BSD-3-Clause | 6 years ago | |
| zendframework/zend-log | Zend Log is a PHP logging component for writing messages to multiple backends (files, syslog, databases, email) with flexible formatting, filters, and priorities. Part of Zend Framework, it helps you capture, route, and manage application logs reliably. | 60 | 59 | 49 | 36K | 8 | 14.4 | 47.7 | BSD-3-Clause | 6 years ago | |
| zendframework/zend-servicemanager | Abandoned Zend Framework ServiceManager (moved to laminas/laminas-servicemanager). Implements the Service Locator pattern to create and retrieve services/objects via factories and configuration. Includes docs, tests, and PHPBench benchmarks. | 187 | 192 | 87 | 78K | 13 | 17.5 | 51.5 | BSD-3-Clause | 7 years ago |
How can I help you explore Laravel packages today?