webmozart/assert
webmozart/assert is a lightweight PHP assertion library for validating method input/output. It provides many type and value checks via a single Assert class and throws InvalidArgumentException with consistent, readable default error messages (or custom ones).
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| driftingly/rector-laravel | Community-maintained Rector extension for Laravel. Apply automated refactoring rules to upgrade Laravel (and first-party packages like Cashier/Livewire) via composer-based detection or manual version sets, helping modernize codebases safely and consistently. | 1,201 | 1,196 | 99 | 1M | 18 | 44.5 | 58.7 | MIT | 22 hours ago | |
| entropy/entropy | Entropy is a lightweight PHP/Laravel package for calculating Shannon entropy and related information metrics on strings and datasets. Useful for analyzing randomness, password strength, identifiers, and distribution quality, with a simple API and minimal dependencies. | 3 | 3 | 1 | 56 | 0 | 0.1 | 16.2 | — | — | |
| google/auth | Official Google Auth library for PHP. Implements OAuth 2.0 and Application Default Credentials (ADC) for authenticating to Google APIs and Google Cloud. Install via Composer and use with HTTP clients like Guzzle to authorize API calls. | 1,392 | 1,436 | 194 | 6M | 17 | 47.5 | 67.8 | Apache-2.0 | 3 weeks ago | |
| 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 | |
| infection/infection | Infection is a PHP 8.2+ mutation testing framework that measures test suite strength by introducing small code changes (mutations) and checking if tests catch them. Integrates with common PHP test runners and provides mutation score (MSI) reporting. | 2,187 | 2,195 | 177 | 961K | 159 | 65.2 | 71.4 | BSD-3-Clause | 1 month ago | |
| jeroen-g/explorer | Laravel-friendly wrapper for Explorer, a lightweight full-text search engine. Index and search your Eloquent models with simple configuration, fast queries, and flexible ranking/filters. Ideal for adding on-site search without running Elasticsearch or Algolia. | 398 | 397 | 71 | 20K | 20 | 39.7 | 37.2 | MIT | 2 weeks ago | |
| laminas/laminas-cache | Laminas Cache provides flexible caching for PHP applications, with adapters for common backends, cache storage, patterns, plugins, and PSR-compatible integrations. Includes tools for configuring, managing, and testing cache behavior in Laminas apps. | 106 | 107 | 58 | 140K | 9 | 34.3 | 56.0 | BSD-3-Clause | 4 weeks ago | |
| laminas/laminas-cache-storage-adapter-test | Test adapter for Laminas Cache storage. Provides a lightweight in-memory storage implementation useful for unit tests and CI, enabling predictable cache behavior without external services or persistent backends. | 1 | 1 | 10 | 962 | 2 | 27.2 | 44.5 | BSD-3-Clause | 4 weeks 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-hydrator | Laminas Hydrator provides flexible strategies to hydrate and extract data between objects and arrays. Supports reflection, class methods, naming strategies, and custom hydrators, making it easy to map entities, DTOs, and forms cleanly across your application. | 129 | 132 | 35 | 347K | 13 | 35.2 | 64.2 | BSD-3-Clause | 2 months ago | |
| laminas/laminas-mvc | Laminas MVC is a modular, event-driven MVC framework for PHP applications. It provides routing, controllers, view integration, dependency injection, and configuration management, helping you build scalable, maintainable web apps and APIs on top of Laminas components. | 172 | 174 | 61 | 527K | 24 | 34.5 | 70.1 | BSD-3-Clause | 1 year 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 | |
| nyholm/nsa | Access non-public properties and methods in PHP for testing and debugging. Nyholm/nsa provides a tiny helper to bypass visibility restrictions (private/protected) without changing production code, making it easy to inspect internals and call hidden methods safely. | 228 | 229 | 11 | 92K | 0 | 23.9 | 42.3 | MIT | 3 weeks ago | |
| pedrotroller/php-cs-custom-fixer | Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. | 81 | 83 | 10 | 17K | 4 | 32.2 | 45.2 | — | 6 months ago | |
| phpdocumentor/filesystem | Lightweight filesystem utilities from phpDocumentor: path handling, directory/file discovery, and convenience helpers for interacting with the local filesystem. Useful as a small dependency for tools that need consistent file operations and traversal. | 1 | 1 | 0 | 10K | 0 | 0.0 | 51.4 | MIT | — | |
| phpdocumentor/guides | phpDocumentor Guides is a PHP documentation generator for writing and publishing rich docs in reStructuredText/Markdown. Build structured guides with navigation, code blocks, and theming, and output to HTML or other formats for your project or package. | 1 | 1 | 0 | 12K | 0 | 0.0 | 52.1 | MIT | — | |
| phpdocumentor/guides-restructured-text | phpDocumentor guides reStructuredText parser. Converts reST documents into structured guide nodes for phpDocumentor’s Guides system, enabling documentation builds from .rst sources with directives, roles, includes, and cross-references. | 0 | 0 | 0 | 11K | 0 | 20.6 | 65.0 | MIT | 2 years ago | |
| 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,319 | 4,390 | 640 | 15K | 160 | 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 | 59 | 2M | 11 | 34.5 | 69.0 | MIT | 4 months ago | |
| phpdocumentor/reflection-docblock | Parse and reflect PHPDoc DocBlocks with a factory-based API. Fully compatible with the PHPDoc standard, it extracts summaries, descriptions, and tags, enabling libraries to read documentation metadata and build annotation-like features from doc comments. | 9,386 | 9,415 | 134 | 8M | 10 | 62.0 | 52.2 | MIT | 3 weeks ago | |
| phpstan/phpstan-webmozart-assert | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 183 | 183 | 33 | 633K | 6 | 32.7 | 60.2 | MIT | 1 year ago | |
| rector/jack | Jack is an experimental CLI for safely upgrading Composer dependencies one version at a time. It can fail CI when too many major updates are overdue, highlight dev deps first, and help you open up next versions gradually to avoid risky big-bang upgrades. | 95 | 95 | 2 | 66K | 0 | 20.9 | 46.1 | MIT | 7 months ago | |
| rector/swiss-knife | Swiss Knife for upgrades: CLI tools to keep codebases clean and PSR-4 compliant. Detect git merge conflicts and commented-out code, find multiple classes per file, fix namespaces to match PSR-4 roots, and finalize classes without children (with skips for mocks/files). | 202 | 200 | 18 | 118K | 0 | 22.0 | 44.9 | MIT | 7 months ago | |
| rector/type-perfect | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 102 | 101 | 7 | 319K | 0 | 0.7 | 48.2 | MIT | — | |
| ssch/typo3-rector | Automated upgrades and refactoring for TYPO3 sites and extensions using Rector. Apply version migrations, remove deprecations, and modernize code safely in development with configurable rule sets for TYPO3 7–12+. | 259 | 260 | 66 | 110K | 31 | 42.0 | 55.4 | MIT | 4 weeks ago | |
| symplify/easy-ci | Automate PHP/Laravel CI chores with Symplify Easy CI: run code quality tools consistently, speed up setup, and keep checks uniform across projects. Handy for teams standardizing linting, static analysis, and test workflows in one place. | 18 | 20 | 3 | 36K | 0 | 0.2 | 45.3 | MIT | — | |
| symplify/easy-coding-standard | Easy Coding Standard (ECS) makes PHP coding standards effortless on PHP 7.2–8.5. Fast parallel runs, supports PHP_CodeSniffer and PHP-CS-Fixer, uses prepared rule sets, generates ecs.php config on first run, and can check and auto-fix code with --fix. | 1,603 | 1,612 | 93 | 882K | 8 | 36.9 | 47.2 | MIT | 5 months ago | |
| symplify/monorepo-builder | Tools for PHP monorepos: discover packages, merge and propagate composer.json, validate dependency/version consistency, and automate releases. Configure via monorepo-builder.php and manage packages across /packages or custom directories. | 520 | 519 | 46 | 167K | 7 | 26.5 | 42.9 | MIT | 2 weeks ago | |
| symplify/phpstan-rules | Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean. | 262 | 261 | 33 | 501K | 3 | 24.2 | 53.8 | MIT | 11 months ago | |
| symplify/rule-doc-generator | Generate consistent, readable documentation for custom PHP rules. Symplify Rule Doc Generator creates rule descriptions and examples automatically, helping you document PHPStan, Rector, or coding-standard rules quickly and keep docs in sync with code. | 31 | 31 | 3 | 20K | 0 | 0.2 | 38.6 | MIT | — | |
| symplify/symplify-kernel | Shared kernel and infrastructure for Symplify tools. Provides common console/app bootstrapping, configuration loading, service container wiring, and utilities to build consistent PHP CLI applications and packages on top of Symplify components. | 46 | — | 3 | — | 0 | 0.3 | — | MIT | — | |
| symplify/vendor-patches | Apply and manage vendor patches in Composer projects. Automatically patch dependencies after install/update, keep patches versioned in your repo, and maintain reproducible builds without forking upstream packages. | 187 | 188 | 23 | 266K | 3 | 2.4 | 44.1 | MIT | — | |
| testo/testo | Testo is an extensible PHP testing framework with a lightweight core and middleware-based plugins. Configure suites and plugins in testo.php, run tests from tests/ by default, and add inline tests, assertions, and benchmarking when needed. | 156 | 135 | 5 | 99 | 14 | 31.3 | 8.7 | BSD-3-Clause | 1 day ago | |
| tomasvotruba/class-leak | Finds class leaks in PHP apps: detects classes unintentionally pulled into your runtime via autoloading, service container or tests. Helps trim dependencies, speed up CI, and keep boundaries clean by reporting unexpected class usage with clear, actionable output. | 135 | 135 | 7 | 92K | 1 | 1.0 | 39.0 | MIT | — | |
| tomasvotruba/unused-public | PHPStan extension that finds unused public methods, properties, and constants by scanning calls across your codebase. Helps clean up dead APIs or spot members that should be private/protected. Supports gradual adoption via allowed % thresholds and excluding template-used methods. | 192 | 193 | 15 | 107K | 0 | 1.4 | 37.9 | MIT | — | |
| veewee/xml | Type-safe, declarative XML toolkit for PHP. Work with DOM safely, encode/decode XML like JSON, handle errors, and stream large files with memory-safe reader/writer. Includes XSD schema tools and XSLT transformations. Spec-compliant from v4 (PHP 8.4+). | 183 | 181 | 11 | 332K | 1 | 30.4 | 52.9 | MIT | 1 week ago | |
| vincentlanglet/twig-cs-fixer | A coding standards fixer for Twig templates. Analyze and automatically format Twig files with consistent style rules, configurable presets, and CI-friendly checks to keep templates clean and readable across your project. | 335 | 335 | 36 | 617K | 5 | 33.7 | 57.1 | MIT | 1 month ago | |
| zenstruck/foundry | Zenstruck Foundry supercharges Laravel/Symfony testing with fluent model factories, fixtures, and story-based data builders. Create, persist, and customize entities easily, manage relations, and write cleaner, faster tests with powerful helpers and states. | 783 | — | 110 | — | 23 | 34.6 | 12.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?