spatie/pixelmatch-php
PHP wrapper around pixelmatch for fast, simple image comparison. Generate diff images and measure mismatch percentages to spot visual regressions in tests or validate uploads. Works with common image formats via GD/Imagick depending on setup.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/image-optimizer | 0.80 | Optimize PNG, JPG, WebP, AVIF, SVG and GIF images in PHP by running them through a chain of installed binaries (jpegoptim, optipng, pngquant, svgo, etc.). Automatically detects available tools and overwrites files with smaller optimized versions. | 2,867 | 2,903 | 223 | 2M | 0 | 39.5 | 44.0 | MIT | 6 months ago | |
| spatie/phpunit-snapshot-assertions | 0.78 | Add snapshot testing to PHPUnit. Assert strings, JSON, arrays, and objects against saved snapshots; first run writes snapshots, later runs compare and fail on regressions. Simple trait-based API (e.g., assertMatchesJsonSnapshot) for PHP and Laravel projects. | 695 | 698 | 74 | 579K | 0 | 33.4 | 46.9 | MIT | 1 month ago | |
| spatie/image | 0.77 | Expressive PHP image manipulation with a fluent API. Resize, crop, rotate, sharpen, adjust brightness/contrast, apply filters, set quality and orientation, and convert formats. Load, chain operations, and save to a new file or overwrite. | 1,359 | 1,381 | 137 | 2M | 0 | 35.7 | 49.7 | MIT | 2 months ago | |
| spatie/pest-plugin-snapshots | 0.75 | Adds snapshot testing to Pest via Spatie’s snapshot assertions. Compare strings or JSON against stored snapshots with helper functions or Pest expectations. Ideal for stable output/regression testing in PHP projects. | 39 | 39 | 11 | 47K | 0 | 21.6 | 48.6 | MIT | 1 month ago | |
| phpmd/phpmd | 0.74 | 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,426 | 2,503 | 351 | 2M | 68 | 45.6 | 61.1 | BSD-3-Clause | 2 years ago | |
| codeat3/phpcs-styles | 0.73 | codeat3/phpcs-styles provides PHP_CodeSniffer rulesets and coding style configurations to standardize formatting and code quality across PHP projects, helping teams enforce consistent conventions in CI and local development. | 0 | 0 | 0 | 1K | 0 | 0.0 | 42.5 | — | — | |
| ergebnis/php-cs-fixer-config | 0.69 | Factory-style PHP-CS-Fixer config for projects: choose a versioned ruleset (PHP 5.3–8.3), generate a consistent configuration, and keep coding standards aligned across repositories. Install via Composer and use with friendsofphp/php-cs-fixer. | 70 | 70 | 17 | 46K | 1 | 31.1 | 44.9 | MIT | 3 weeks ago | |
| m6web/php-cs-fixer-config | 0.68 | Reusable PHP CS Fixer configuration from M6Web/Bedrock Streaming. Install via Composer and use the provided BedrockStreaming config in .php-cs-fixer.dist.php, with options to extend/override rules for your project or CI. | 7 | 8 | 7 | 1K | 0 | 10.3 | 30.8 | MIT | 10 months ago | |
| friendsofphp/php-cs-fixer | 0.67 | PHP CS Fixer automatically fixes PHP code to match coding standards. Use built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom config to unify style, modernize PHP/PHPUnit code, and apply safe or risky migrations. Supports PHP 7.4–8.5. | 13,520 | 13,609 | 1,635 | 5M | 44 | 86.2 | 72.3 | MIT | 3 weeks ago | |
| diablomedia/php-cs-fixer-config | 0.67 | Reusable PHP-CS-Fixer configuration package by Diablo Media. Provides a shared, opinionated ruleset you can require in multiple projects to keep code style consistent and reduce per-repo fixer setup. | 0 | 0 | 0 | 73 | 0 | 3.0 | 25.8 | MIT | 1 year ago |
How can I help you explore Laravel packages today?