spatie/url
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/period | 0.89 | Immutable date period objects for PHP with powerful comparison tools. Create periods from any DateTime (including Carbon), then calculate overlaps, gaps, intersections, differences, containment, and other complex comparisons across two or many periods. | 1,694 | 1,697 | 76 | 154K | 0 | 19.8 | 27.1 | MIT | 3 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). | 0 | 384 | — | 748K | — | 24.9 | 51.0 | — | — | |
| spatie/menu | 0.88 | Fluent, extensible menu builder for Laravel. Compose navigation with a clean API, render as HTML, and customize output via presenters and macros. Supports active state handling, links, submenus, and easy integration with Blade and your app’s routing. | 759 | 768 | 102 | 44K | 0 | 16.3 | 24.6 | MIT | 11 months ago | |
| spatie/once | 0.86 | 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,438 | 1,444 | 61 | 264K | 0 | 24.2 | 33.9 | MIT | 6 months ago | |
| spatie/url-signer | 0.85 | Generate and verify signed URLs with expiration timestamps using a shared secret. spatie/url-signer appends expires and signature parameters, letting you safely share time-limited links (e.g., in emails) and validate them server-side with a simple API. | 443 | 449 | 52 | 67K | 0 | 8.3 | 30.1 | MIT | 1 year ago | |
| spatie/packagist-api | 0.84 | Search Packagist and fetch package details via the official Packagist API. Provides a simple PackagistClient built on Guzzle with a URL generator, plus helpers to list all packages or filter by vendor/type, and browse popular packages with pagination. | 130 | 134 | 21 | 117K | 0 | 5.2 | 40.8 | MIT | 1 year ago | |
| spatie/laravel-url-signer | 0.83 | Sign and validate any URL in Laravel with an expiring signature. Works across apps, uses a configurable secret (not the app key), and includes middleware to protect routes. Generate time-limited links in one call and verify them anywhere. | 719 | 728 | 53 | 19K | 0 | 27.0 | 22.4 | MIT | 3 months ago | |
| spatie/laravel-sitemap | 0.83 | Generate XML sitemaps for Laravel by crawling your site or building them manually. Add extra URLs, set last-modified dates, and include models via a simple interface. Write sitemaps to disk with a fluent, developer-friendly API. | 2,598 | 2,629 | 299 | 613K | 0 | 47.7 | 37.3 | MIT | 2 months ago | |
| spatie/spatie-content-api | 0.82 | Laravel/PHP package powering Spatie’s promotional-site content API. Fetch posts for a product or project (e.g., mailcoach) via a simple ContentApi facade and expose consistent, reusable content to your frontend or other services. | 5 | 5 | 2 | 455 | 0 | 13.5 | 27.7 | MIT | 7 months ago | |
| spatie/laravel-littlegatekeeper | 0.82 | Laravel middleware to password-protect your app with a single, universal username/password set in config. Quickly gate staging, previews, or temporary launches without building a full auth system; publish config and enable the provider to lock down pages. | 191 | 193 | 19 | 1K | 0 | 19.8 | 13.7 | MIT | 3 months ago | |
| spatie/error-solutions | 0.82 | Collection of reusable “solutions” for common runtime errors, used by Spatie’s error tools like Ignition and Flare. Provides a shared way to suggest fixes and actionable hints when exceptions occur in Laravel and PHP apps. | 68 | 68 | 8 | 4M | 0 | 20.3 | 62.4 | MIT | 3 months ago | |
| spatie/query-string | 0.82 | 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 | 18K | 0 | 2.0 | 28.4 | MIT | 5 years ago | |
| atldays/laravel-url | 0.80 | — | 0 | 0 | 0 | 29 | 0 | 17.6 | 23.5 | MIT | 1 month ago | |
| laragraph/utils | 0.79 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 8 | 555K | 0 | 20.2 | 62.6 | MIT | 3 months ago | |
| opis/uri | 0.79 | Build, parse, and validate URIs and URI templates with Opis URI. A lightweight PHP library for working with RFC-compliant URI components, assembling URLs, and verifying formats in PHP 7.4+ and 8.x projects. | 19 | 20 | 5 | 2M | 0 | 0.6 | 55.3 | Apache-2.0 | 5 years ago | |
| amnl/router-unslash | 0.78 | — | 7 | 7 | 0 | 0 | 2 | 0.2 | — | MIT | — | |
| aferrandini/urlizer | 0.77 | Laravel-friendly URL slug generator that “urlizes” strings into clean, readable slugs with sensible transliteration and customization options. Ideal for turning titles or names into SEO-ready URLs consistently across your app. | 24 | 24 | 9 | 8K | 0 | 0.3 | 53.5 | — | 12 years ago |
How can I help you explore Laravel packages today?