sebastian/global-state
sebastian/global-state snapshots and restores PHP global state (globals, superglobals, ini settings, etc.), extracted from PHPUnit as a standalone component. Useful for test isolation and detecting side effects by capturing state before and after code runs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sebastian/object-enumerator | 0.80 | Traverses array structures and object graphs to enumerate all referenced objects, helping you inspect, analyze, or collect objects reachable from complex data structures. Install via Composer for production or as a dev dependency for testing and tooling. | 6,542 | 6,546 | 9 | 12M | 0 | 46.2 | 53.2 | BSD-3-Clause | 2 months ago | |
| spatie/phpunit-snapshot-assertions | 0.75 | Add snapshot testing to PHPUnit with simple assertions for JSON, XML, and text. First run creates snapshots; later runs compare outputs and fail on regressions. Ideal for verifying serialized data and responses with minimal test boilerplate. | 695 | 699 | 77 | 608K | 1 | 34.9 | 47.8 | MIT | 1 month ago | |
| sebastian/git-state | 0.75 | Describe the state of a Git checkout from PHP. Detect origin URL, current branch and commit hash, and whether the working directory is clean; otherwise return the git status output. Useful for build metadata and diagnostics. | 6 | 0 | 0 | 3K | 0 | 20.3 | 43.0 | BSD-3-Clause | 2 weeks ago | |
| sebastian/type | 0.75 | sebastian/type provides lightweight value objects that model PHP’s type system. Useful for tools and libraries that need to represent, compare, and work with types (including complex and composite types) in a consistent, structured way. | 1,497 | 1,499 | 13 | 12M | 1 | 31.0 | 63.6 | BSD-3-Clause | 2 months ago | |
| sebastian/environment | 0.74 | Runtime environment helper for PHP projects. Detects PHP/HHVM runtime specifics so you can choose safe execution paths, handle version and platform differences, and write portable code with minimal conditionals—useful in libraries and test tooling. | 6,776 | 6,790 | 37 | 13M | 2 | 50.5 | 53.8 | BSD-3-Clause | 4 days ago |
How can I help you explore Laravel packages today?