spatie/php-type-graph
Build a graph of all PHP types in your project. Analyze classes, interfaces, enums, and their relationships to understand your codebase structure, dependencies, and type usage. Useful for architecture insights, tooling, and visualization (WIP).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/php-cloneable | 0.90 | Trait for PHP 8.1+ that makes objects with readonly properties cloneable. Safely “clone with changes” by copying an object while overriding readonly fields—handy until PHP gets native clone-with support. | 97 | 98 | 7 | 213K | 0 | 1.6 | 46.1 | MIT | 2 years ago | |
| spatie/image | 0.90 | spatie/image provides an expressive, chainable PHP API for common image manipulation. Resize to fit a bounding box without altering aspect ratio, apply greyscale, adjust brightness and quality, rotate, sharpen, and save or overwrite images in just a few lines. Ideal for Laravel and PHP apps. | 1,367 | 1,389 | 143 | 4M | 0 | 40.9 | 56.6 | MIT | 2 days ago | |
| spatie/laravel-visit | 0.90 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 729 | 0 | 11.2 | 10.9 | MIT | 7 months ago | |
| spatie/pixelmatch-php | 0.90 | 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. | 58 | 58 | 6 | 11K | 0 | 3.4 | 31.8 | MIT | 11 months ago | |
| spatie/ray | 0.89 | spatie/ray sends debug output from any PHP app to Ray, Spatie's desktop debugging app. Dump arrays, HTML, queries, and Markdown, measure performance, pause execution, and inspect output with the same syntax you use across Laravel, JavaScript, and more. | 624 | 627 | 102 | 2M | 0 | 35.7 | 55.7 | MIT | 1 day ago | |
| spatie/url | 0.89 | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 738 | 751 | 59 | 683K | 0 | 12.5 | 41.0 | MIT | 2 years ago | |
| spatie/color | 0.89 | PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000). | 385 | 389 | 41 | 1M | 0 | 16.2 | 50.7 | MIT | 8 months ago | |
| spatie/temporary-directory | 0.89 | Spatie's PHP package quickly creates, uses, and deletes temporary directories in the system's temp folder. Chainable methods handle custom naming, path helpers, and automatic cleanup of every file inside when the directory is deleted. | 972 | 978 | 49 | 8M | 0 | 26.4 | 60.4 | MIT | 4 months ago | |
| spatie/test-time | 0.89 | Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... | 208 | 208 | 9 | 245K | 0 | 5.2 | 42.4 | MIT | 2 years ago | |
| spatie/query-string | 0.89 | Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. | 161 | 162 | 9 | 19K | 0 | 2.0 | 28.8 | MIT | 5 years ago | |
| spatie/html-element | 0.89 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 11.7 | MIT | 4 years ago | |
| spatie/sun | 0.89 | Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features. | 75 | 77 | 14 | 8K | 0 | 4.6 | 28.3 | MIT | 11 months ago | |
| spatie/string | 0.89 | spatie/string is a PHP package for fluent, chainable string handling. Wrap any native string with the string() helper, then chain methods like between, toUpper, and toLower, or use array-style offsets to read and modify individual characters easily. | 559 | 570 | 26 | 20K | 0 | 19.4 | 23.4 | MIT | 6 months ago | |
| spatie/shiki-php | 0.89 | Bring Shiki's beautiful syntax highlighting to PHP. A simple static call highlights code using the same language engine as popular code editors, with 100+ languages and themes plus bundled Antlers and Blade support. | 315 | 317 | 34 | 6M | 0 | 19.6 | 59.9 | MIT | 6 months ago | |
| spatie/php-structure-discoverer | 0.89 | Quickly discover classes, interfaces, enums, and traits in your PHP application that match conditions like implementing an interface, with extra metadata per structure and built-in caching to keep things fast in production. | 179 | 180 | 18 | 5M | 1 | 22.0 | 61.1 | MIT | 4 months ago | |
| spatie/fractalistic | 0.87 | Developer-friendly wrapper around League Fractal to transform API data with less boilerplate. Build resources, apply transformers, includes, and output arrays with a fluent API or one-liner syntax. Great for PHP projects; Laravel users may prefer laravel-fractal. | 383 | 385 | 32 | 429K | 0 | 17.2 | 44.3 | MIT | 8 months ago | |
| spatie/typed | 0.85 | Userland improved PHP type system with type inference and runtime checking: generics, union types, typed collections/lists, tuples, and structs. Proof-of-concept package from Spatie to add stronger type guarantees without language-level support. | 316 | 317 | 15 | 18 | 0 | 1.9 | 0.2 | MIT | 5 years ago | |
| spatie/schema-org | 0.85 | spatie/schema-org is a fluent PHP builder for all Schema.org types and properties, generated from the official vocabulary. Chain methods to construct structured data and output valid ld+json script tags for rich search results. | 1,509 | 1,530 | 145 | 548K | 0 | 40.5 | 41.0 | MIT | 1 month ago | |
| spatie/7to5 | 0.85 | Abandoned. Converts PHP 7.0 code to PHP 5, useful when developing on PHP 7 but deploying to PHP 5. Provides a CLI to convert entire directories and rewrites features like anonymous classes, type hints, return types, and null coalescing. | 177 | 175 | 32 | 47 | 0 | 2.6 | 1.0 | MIT | 8 years ago | |
| spatie/code-outliner | 0.84 | CLI tool to visualize your code structure by generating outline images of files or directories. Overlay multiple files to spot dense or repetitive areas and improve readability. Requires Puppeteer via spatie/browsershot; install globally via Composer. | 84 | 85 | 3 | 0 | 0 | 1.7 | — | MIT | 8 years ago |
How can I help you explore Laravel packages today?