phplang/scope-exit
Tiny PHP helper that emulates “defer”/scope-exit behavior: register callbacks to run automatically when a block/function ends, ensuring reliable cleanup (close files, unlock mutexes, rollback temp state) even if exceptions occur.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spiral/snapshots | 0.80 | Laravel snapshot testing helpers for asserting arrays, JSON, and HTTP responses against stored snapshots. Generate, update, and compare snapshots in tests to catch unexpected changes with clear diffs and simple PHPUnit integration. | 2 | 2 | 0 | 462 | 0 | 21.2 | 35.2 | MIT | 6 years ago | |
| friends-of-phpspec/phpspec-code-coverage | 0.79 | PhpSpec extension that generates code coverage reports (console and HTML) for your specs. Works with Xdebug, phpdbg or pcov and supports multiple PhpSpec/PHP versions, helping you see which parts of your codebase are exercised by tests. | 20 | 21 | 13 | 43K | 4 | 25.5 | 55.2 | NOASSERTION | 6 months ago | |
| codeception/util-universalframework | 0.78 | Universal helper utilities for the Codeception testing framework, providing lightweight, framework-agnostic components to simplify test setup and reuse across projects. A small add-on package aimed at boosting consistency and reducing boilerplate in automated tests. | 1 | 1 | 1 | 59K | 1 | 20.7 | 65.0 | MIT | 3 months ago | |
| pear/console_getopt | 0.78 | PEAR Console_Getopt is a small PHP library for parsing command-line options and arguments. It supports GNU-style short and long flags, handles required/optional values, and provides help-friendly parsing for CLI scripts and tools. | 85 | 85 | 14 | 1M | 0 | 21.1 | 65.0 | BSD-2-Clause | 6 years ago | |
| pear/pear_exception | 0.78 | PEAR_Exception provides a base exception class for PEAR-style PHP libraries, adding standardized error messaging, cause chaining, and improved debugging context. Useful for modernizing legacy PEAR code or integrating consistent exception handling across packages. | 98 | 98 | 18 | 1M | 0 | 21.3 | 65.0 | NOASSERTION | 5 years ago | |
| symplify/easy-testing | 0.77 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 29K | 0 | 0.1 | 27.7 | MIT | — | |
| endroid/quality | 0.74 | Quality-related helper package by Endroid for PHP/Laravel apps, providing small utilities for enforcing or improving code/data quality in your project. Suitable as a lightweight dependency when you need simple quality checks or supporting components. | 3 | 3 | 1 | 173 | 0 | 0.0 | 22.7 | — | — | |
| phpcsstandards/phpcsdevcs | 0.73 | Opinionated PHP_CodeSniffer rules and tooling for consistent, modern PHP codebases. Includes custom standards and configs aimed at improving readability, preventing common pitfalls, and keeping teams aligned with automated linting in CI and local development. | 9 | — | 1 | — | 4 | 21.1 | 0.9 | LGPL-3.0 | 4 months ago | |
| laracraft-tech/laravel-date-scopes | 0.71 | Add powerful, ready-made date query scopes to Laravel Eloquent models. Use the DateScopes trait to query records for today, last week, month-to-date, last year (with custom start dates), and more—fully chainable with builder methods and aggregations. | 514 | 515 | 32 | 10K | 0 | 28.8 | 21.2 | MIT | 1 week ago | |
| laracraft-tech/laravel-useful-traits | 0.68 | Laravel package with handy daily-use additions: traits for PHP 8.1+ enums (get names/values/array) and Eloquent query scopes (e.g., select all columns except specific ones, date-based scopes), plus an Artisan db:truncate command. | 58 | 58 | 2 | 69 | 1 | 25.0 | 5.5 | MIT | 1 week ago | |
| torchlight/torchlight-laravel | 0.68 | Torchlight syntax highlighting for Laravel Blade/Markdown using the Torchlight API. VS Code-compatible highlighting with themes, line highlighting and diffing, no JavaScript required. Includes caching, config publishing, and optional Blade components. | 120 | 120 | 18 | 15K | 18 | 35.5 | 41.4 | MIT | 3 weeks ago | |
| spatie/macroable | 0.67 | Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation. | 726 | 734 | 26 | 1M | 0 | 25.9 | 53.6 | MIT | 2 months ago | |
| php-standard-library/range | 0.67 | Range types for integer sequences with built-in iteration support. Create, traverse, and manipulate numeric ranges with a clean, standard-library style API. Part of the PHP Standard Library project; see docs, contribute, or report issues on GitHub. | 1 | 0 | 0 | 8K | 0 | 20.6 | 58.5 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?