captainhook/secrets
Detect secrets like passwords and API keys in code to prevent accidental commits. Use built-in regex suppliers (AWS, Google, GitHub, etc.) or provide your own patterns, plus a whitelist for allowed matches. Includes a simple Detector API.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| brainmaestro/composer-git-hooks | 0.82 | Manage Git hooks via Composer for PHP projects. Install and run hooks automatically on composer install/update, keeping teams consistent without manual setup. Supports custom hook scripts and easy configuration for pre-commit, pre-push, and more. | 1,085 | — | 89 | — | 12 | 31.5 | 4.5 | MIT | 1 year ago | |
| captainhook/plugin-composer | 0.77 | Deprecated Composer plugin for CaptainHook that auto-installs Git hooks for your team. Configure hook file name, PHAR path, or disable via composer.json “extra”. Use captainhook/hook-installer instead for flexible PHAR/source installs. | 20 | 21 | 4 | 53K | 2 | 25.1 | 55.3 | MIT | 4 years ago | |
| phpmd/phpmd | 0.77 | 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 | |
| thecodingmachine/phpstan-safe-rule | 0.77 | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 194K | 2 | 26.3 | 56.7 | — | 4 months ago | |
| symplify/phpstan-rules | 0.76 | 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 | |
| phpcsstandards/phpcsextra | 0.76 | PHPCSExtra adds extra rules, sniffs, and tooling to enhance PHP_CodeSniffer code style checks. Designed to complement existing standards, it helps catch more issues, enforce consistency, and integrate smoothly into CI for cleaner PHP codebases. | 102 | 102 | 7 | 1M | 25 | 34.2 | 75.8 | LGPL-3.0 | 4 months ago | |
| captainhook/captainhook | 0.76 | 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 | |
| jaybizzle/crawler-detect | 0.59 | Detect bots/crawlers/spiders in PHP by matching User-Agent and HTTP_FROM headers. CrawlerDetect recognizes thousands of known crawlers, lets you check the current request or a provided UA string, and returns the matched bot name. | 2,336 | 2,356 | 277 | 2M | 7 | 51.4 | 51.1 | MIT | 2 weeks ago | |
| spatie/regex | 0.59 | Cleaner, safer wrapper around PHP’s preg_* functions. Provides Regex::match/matchAll/replace with MatchResult objects, easy access to groups, sensible defaults, and callback-based replacements—no by-reference variables or confusing false/null error handling. | 1,120 | 1,132 | 50 | 815K | 0 | 31.6 | 46.5 | MIT | 4 years ago | |
| danog/class-finder | 0.58 | 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 | — | |
| matomo/device-detector | 0.58 | PHP library to parse User-Agent strings and Browser Client Hints to detect device type (desktop/mobile/tablet/TV, etc.), client apps (browsers, media players, bots), operating systems, and hardware brand/model. Composer-installable and well tested. | 3,459 | 3,470 | 507 | 742K | 63 | 78.8 | 68.5 | LGPL-3.0 | 2 months ago | |
| area17/phptorch | 0.57 | A lightweight PHP binding for Torch (PyTorch/libtorch), letting you run tensor operations and neural-network inference from PHP. Aimed at simple ML tasks and experimentation, with minimal API surface and straightforward integration in PHP projects. | 2 | 2 | 1 | 823 | 0 | 0.0 | 33.7 | — | — | |
| mobiledetect/mobiledetectlib | 0.57 | Lightweight PHP library to detect mobile devices and tablets using the User-Agent and HTTP headers. Simple API to check for phones, tablets, OS and browsers. Actively maintained (4.8.x) with older LTS/deprecated branches available. | 10,693 | 10,786 | 2,636 | 3M | 29 | 70.2 | 54.1 | MIT | 2 years ago |
How can I help you explore Laravel packages today?