Weave Code
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

Url Laravel Package

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.

View on GitHub
Deep Wiki
Context7
2.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.3.0...2.4.0

2.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.2.1...2.3.0

2.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.2.0...2.2.1

2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.1.1...2.2.0

2.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.1.0...2.1.1

2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.0.5...2.1.0

2.0.5

What's Changed

Full Changelog: https://github.com/spatie/url/compare/2.0.4...2.0.5

2.0.4

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.0.3...2.0.4

2.0.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.0.2...2.0.3

2.0.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/url/compare/2.0.1...2.0.2

2.0.1
  • remove prefixing / for mailto: schemes when building withPath()
2.0.0
  • require PHP 8+
  • drop support for PHP 7.x
  • use PHP 8 syntax where possible
1.3.5
  • update deps
1.3.4
  • support PHP 8
1.3.3
  • urlencode() new query params values (#35)
1.3.2
  • Updated: preserve trailing slash in URL path (#33)
1.3.1

Remove support for PHP 7.0 and 7.1

1.3.0
  • Added: support for simple mailto: links
1.2.0
  • Added: Url now is macroable
1.1.0
  • Added: getFirstSegment and getLastSegment
1.0.2
  • Fixed: allow valuesless query parameters, e.g. ?foo=bar&baz
1.0.1
  • Make sure an url does not end with /
1.0.0
  • First release
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai