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

Regex Laravel Package

spatie/regex

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/image 0.93 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.8 56.5 MIT 4 days ago
View on GitHub
Context7
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/once 0.92 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.8 38.0 MIT 2 weeks 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 12.0 MIT 4 years ago
View on GitHub
spatie/mixed-content-scanner 0.92 Scan a website for mixed content by crawling pages and flagging insecure http:// resources in common HTML tags (img, script, iframe, link, etc.). Use MixedContentScanner with a logger to report where mixed content is found or missing. 105 106 18 58 0 10.2 2.6 MIT 3 years ago
View on GitHub
spatie/mixed-content-scanner-cli 0.92 CLI tool to detect mixed content on HTTPS sites. Crawls pages and reports HTML elements whose URLs use http:// (images, scripts, iframes, forms, etc.). Install via Composer globally and run: mixed-content-scanner scan . 93 93 20 0 0 3.8 — MIT 4 years ago
View on GitHub
spatie/string 0.89 Spatie's String package offers fluent, chainable string handling for PHP. Wrap native strings with the string() helper, then manipulate them using methods like between, toUpper, toLower, and offset access for cleaner, more readable code. 559 570 26 20K 0 19.3 23.3 MIT 6 months ago
View on GitHub
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 679K 0 12.4 40.9 MIT 2 years ago
View on GitHub
Context7
spatie/7to5 0.88 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/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 20K 0 2.0 28.8 MIT 5 years ago
View on GitHub
spatie/crawler 0.88 A powerful PHP package for crawling websites, using Guzzle promises to fetch multiple URLs concurrently. It can render JavaScript via Chrome and Puppeteer, restrict crawls to internal links or depth, collect found URLs, and fake HTTP responses for testing crawl logic. 2,829 2,843 368 1M 0 52.4 41.3 MIT 3 months ago
View on GitHub
Context7
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
View on GitHub
apie/regex-tools 0.85 Utility package from the Apie ecosystem that provides internal tools for working with regular expressions in PHP, including helpers for building and validating regex patterns. Maintained in the Apie monorepo; primarily intended for internal use. 0 0 0 90 0 0.0 27.1 MIT —
View on GitHub
s9e/regexp-builder 0.85 Generate compact regular expressions that match a given list of strings (ideal for keyword search). Builds optimized patterns like ba[rz]|foo from input terms, with factories for PHP, Java, JavaScript, RE2, plus RawBytes/RawUTF8 output modes. 34 35 3 163K 0 5.1 50.7 MIT 3 years ago
View on GitHub
spatie/laravel-data 0.84 Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. 1,801 1,815 293 4M 6 51.3 63.5 MIT 1 week ago
View on GitHub
Context7
spatie/or-else 0.84 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
php-standard-library/regex 0.84 Type-safe regex for PHP with typed capture groups and predictable error handling. Build expressions with confidence, get structured match results, and avoid silent failures common in preg_* functions. Part of PHP Standard Library. 1 1 0 100K 0 21.5 64.9 MIT 1 week ago
View on GitHub
spatie/laravel-url-ai-transformer 0.84 Transform URLs and their content with AI: extract structured data, generate summaries, or apply custom transformations to web pages. Results are stored in the database and retrievable anytime, run via the transform-urls Artisan command. 50 50 7 223 0 21.8 11.8 MIT 2 weeks ago
View on GitHub
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
View on GitHub
coduo/php-matcher 0.84 Flexible PHP pattern-matching library for testing and validating complex data structures. Compare arrays, JSON and objects against readable expectations, with rich mismatch descriptions to pinpoint differences. Useful for API response assertions and custom validation rules. 838 843 85 206K 5 19.6 36.2 MIT 10 months ago
View on GitHub
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.
tobya/saloonfire
kjmtrue/laravel-debugbar
hexincorp/debugbar
razorbacks/laravel-shibboleth
adilazhari/laravel-idempotency
mamitech/laravel-slow-query-log
mamitech/laravel-http-logger
medeirosrafael/docxmustache
webdevlabs/phreak
vis/log-envelope
digitickets/lalit
acacha/names
scool/foundation
frankkessler/guzzle-oauth2-middleware
delatbabel/site-config
delatbabel/applog
eusonlito/laravel-gettext
henzeb/housepedia-intelligence-laravel
aliqsm/laravel-authkit
itsjustvita/laravel-wp-migrator