Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

String Laravel Package

spatie/string

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/once 0.93 A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. 1,443 1,450 62 328K 0 33.9 38.0 MIT 2 weeks ago
View on GitHub
spatie/visit 0.93 Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. 390 390 14 2 0 7.5 0.0 — 1 year ago
View on GitHub
spatie/image 0.92 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
View on GitHub
Context7
spatie/fractalistic 0.92 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
View on GitHub
spatie/html-element 0.92 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
View on GitHub
spatie/ray 0.91 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 2 days ago
View on GitHub
spatie/url 0.90 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 679K 0 12.5 41.0 MIT 2 years ago
View on GitHub
Context7
spatie/macroable 0.89 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. 731 740 24 3M 0 10.6 51.0 MIT 9 months ago
View on GitHub
spatie/query-string 0.88 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
View on GitHub
spatie/value-object 0.88 Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. 2,221 2,223 187 0 0 12.9 — MIT 4 years ago
View on GitHub
spatie/laravel-sluggable 0.88 Generate unique slugs for Eloquent models on create or update via a Sluggable attribute or HasSlug trait. Includes collision suffixes, translatable slugs, and self-healing URLs with 308 redirects. 1,560 1,586 190 867K 0 43.5 44.5 MIT 1 week ago
View on GitHub
Context7
spatie/typed 0.87 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
View on GitHub
spatie/or-else 0.87 Adds an OrElse trait that auto-creates “*OrElse” method variants for your class methods. These variants accept a fallback value that’s returned whenever the original method returns null or false, helping you avoid repetitive default-handling code. 32 34 4 17 0 0.9 2.5 MIT 11 years ago
View on GitHub
spatie/fork 0.86 Run PHP code concurrently with spatie/fork, which forks the main process into child tasks. Pass multiple closures to run at the same time, then collect results in order. Requires PHP 8 and the pcntl extension, and works in CLI only, not web contexts. 1,050 1,052 120 310K 0 35.1 40.1 MIT 21 hours ago
View on GitHub
spatie/packagist-api 0.86 Spatie's PHP package makes it easy to search and fetch package info from the Packagist API. Pass a Guzzle client and URL generator to the client, then list package names by type or vendor, fetch popular packages with pagination, and more. 132 136 22 208K 0 19.7 49.7 MIT 3 months ago
View on GitHub
Context7
spatie/regex 0.86 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,121 1,133 49 2M 0 11.6 43.8 MIT 4 years ago
View on GitHub
Context7
spatie/7to5 0.86 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 46 0 2.6 1.0 MIT 8 years ago
View on GitHub
spatie/laravel-typescript-transformer 0.86 Convert PHP classes, enums, and complex types into TypeScript definitions automatically. This Laravel package handles generics, nullable types, and even TypeScript functions, keeping your frontend and backend types in sync. 400 400 37 1M 0 25.1 52.8 MIT 4 months ago
View on GitHub
Context7
spatie/dropbox-api 0.86 A minimal PHP client for Dropbox API v2, providing just the methods needed for the flysystem-dropbox adapter. Create folders, list contents, and generate temporary links with a simple authorization token. 307 313 81 335K 0 28.0 47.3 MIT 3 months ago
View on GitHub
spatie/schema-org 0.86 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
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin